Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/drivers/net/bonding/
Dmode-2-recovery-updelay.sh37 test_bond_recovery mode 2 miimon 100 updelay 0
38 test_bond_recovery mode 2 miimon 100 updelay 200
39 test_bond_recovery mode 2 miimon 100 updelay 500
40 test_bond_recovery mode 2 miimon 100 updelay 1000
41 test_bond_recovery mode 2 miimon 100 updelay 2000
42 test_bond_recovery mode 2 miimon 100 updelay 5000
43 test_bond_recovery mode 2 miimon 100 updelay 10000
Dmode-1-recovery-updelay.sh37 test_bond_recovery mode 1 miimon 100 updelay 0
38 test_bond_recovery mode 1 miimon 100 updelay 200
39 test_bond_recovery mode 1 miimon 100 updelay 500
40 test_bond_recovery mode 1 miimon 100 updelay 1000
41 test_bond_recovery mode 1 miimon 100 updelay 2000
42 test_bond_recovery mode 1 miimon 100 updelay 5000
43 test_bond_recovery mode 1 miimon 100 updelay 10000
Dbond-arp-interval-causes-panic.sh32 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 \
Dbond_topo_2d1c.sh61 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
/linux-6.12.1/drivers/net/bonding/
Dbond_options.c879 if (!bond->params.miimon) { in bond_option_mode_set()
881 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
883 bond->params.miimon); in bond_option_mode_set()
977 bond->params.miimon = newval->value; in bond_option_miimon_set()
980 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
983 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
986 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
1021 if (!bond->params.miimon) { in _bond_option_delay_set()
1026 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
1030 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
Dbond_netlink.c191 int miimon = 0; in bond_changelink() local
225 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
227 bond_opt_initval(&newval, miimon); in bond_changelink()
272 if (arp_interval && miimon) { in bond_changelink()
345 if (arp_validate && miimon) { in bond_changelink()
662 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
666 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
670 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
674 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.c104 static int miimon; variable
136 module_param(miimon, int, 0);
137 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
1298 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1850 info->miimon = bond->params.miimon; in bond_fill_ifbond()
2170 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
2191 if (bond->params.miimon) { in bond_enslave()
2747 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2758 bond->params.miimon); in bond_miimon_inspect()
2784 bond->params.miimon); in bond_miimon_inspect()
[all …]
Dbond_sysfs.c324 return sysfs_emit(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
335 return sysfs_emit(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
348 bond->params.peer_notif_delay * bond->params.miimon); in bonding_show_peer_notif_delay()
428 return sysfs_emit(buf, "%d\n", bond->params.miimon); in bonding_show_miimon()
430 static DEVICE_ATTR(miimon, 0644,
/linux-6.12.1/include/uapi/linux/
Dif_bonding.h112 __s32 miimon; member
/linux-6.12.1/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
463 is only valid for the miimon link monitor. The downdelay
464 value should be a multiple of the miimon value; if not, it
573 miimon
792 (miimon).
886 only valid for the miimon link monitor. The updelay value
887 should be a multiple of the miimon value; if not, it will be
892 Specifies whether or not miimon should use MII or ETHTOOL
[all …]
/linux-6.12.1/include/net/
Dbonding.h121 int miimon; member