Home
last modified time | relevance | path

Searched refs:miimon (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/bonding/
Dbond_options.c869 if (!bond->params.miimon) { in bond_option_mode_set()
871 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
873 bond->params.miimon); in bond_option_mode_set()
966 bond->params.miimon = newval->value; in bond_option_miimon_set()
969 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
972 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
975 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
1010 if (!bond->params.miimon) { in _bond_option_delay_set()
1015 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
1019 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
Dbond_netlink.c184 int miimon = 0; in bond_changelink() local
218 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
220 bond_opt_initval(&newval, miimon); in bond_changelink()
265 if (arp_interval && miimon) { in bond_changelink()
338 if (arp_validate && miimon) { in bond_changelink()
644 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
648 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
652 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
656 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
Dbond_procfs.c103 seq_printf(seq, "MII Polling Interval (ms): %d\n", bond->params.miimon); in bond_info_show_master()
105 bond->params.updelay * bond->params.miimon); in bond_info_show_master()
107 bond->params.downdelay * bond->params.miimon); in bond_info_show_master()
109 bond->params.peer_notif_delay * bond->params.miimon); in bond_info_show_master()
Dbond_main.c102 static int miimon; variable
134 module_param(miimon, int, 0);
135 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
1177 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1719 info->miimon = bond->params.miimon; in bond_fill_ifbond()
2005 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
2026 if (bond->params.miimon) { in bond_enslave()
2569 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2579 bond->params.miimon); in bond_miimon_inspect()
2605 bond->params.miimon); in bond_miimon_inspect()
[all …]
Dbond_sysfs.c325 return sysfs_emit(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
336 return sysfs_emit(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
349 bond->params.peer_notif_delay * bond->params.miimon); in bonding_show_peer_notif_delay()
429 return sysfs_emit(buf, "%d\n", bond->params.miimon); in bonding_show_miimon()
431 static DEVICE_ATTR(miimon, 0644,
/linux-6.1.9/include/uapi/linux/
Dif_bonding.h112 __s32 miimon; member
/linux-6.1.9/tools/testing/selftests/drivers/net/bonding/
Dbond-arp-interval-causes-panic.sh35 miimon 100 all_slaves_active 1
Dbond-break-lacpdu-tx.sh44 ip link add fbond type bond mode 4 miimon 200 xmit_hash_policy 1 \
/linux-6.1.9/Documentation/networking/
Dbonding.rst159 It is critical that either the miimon or arp_interval and
162 support at least miimon, so there is really no reason not to use it.
302 miimon. A value of 0 disables ARP monitoring. The default
451 is only valid for the miimon link monitor. The downdelay
452 value should be a multiple of the miimon value; if not, it
561 miimon
779 (arp_interval or miimon, whichever is active). The default
872 only valid for the miimon link monitor. The updelay value
873 should be a multiple of the miimon value; if not, it will be
878 Specifies whether or not miimon should use MII or ETHTOOL
[all …]
/linux-6.1.9/include/net/
Dbonding.h125 int miimon; member