Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/drivers/net/bonding/
H A 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
H A 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
H A Dbond_lacp_prio.sh37 ip -n "${c_ns}" link add bond0 type bond mode 802.3ad miimon 100 \
39 ip -n "${s_ns}" link add bond0 type bond mode 802.3ad miimon 100 \
41 ip -n "${b_ns}" link add bond0 type bond mode 802.3ad miimon 100 \
H A Dbond-arp-interval-causes-panic.sh32 miimon 100 all_slaves_active 1
H A Dbond-break-lacpdu-tx.sh44 ip link add fbond type bond mode 4 miimon 200 xmit_hash_policy 1 \
H A Dbond_topo_2d1c.sh63 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
H A Dbond_ipsec_offload.sh94 ip -n "$ns" link add bond0 type bond mode active-backup miimon 100
/linux/drivers/net/bonding/
H A Dbond_options.c908 if (!bond->params.miimon) { in bond_option_mode_set()
910 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
912 bond->params.miimon); in bond_option_mode_set()
1013 bond->params.miimon = newval->value; in bond_option_miimon_set()
1016 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
1019 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
1022 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
1057 if (!bond->params.miimon) { in _bond_option_delay_set()
1062 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
1066 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
H A Dbond_netlink.c208 int miimon = 0; in bond_changelink() local
242 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
244 bond_opt_initval(&newval, miimon); in bond_changelink()
287 if (arp_interval && miimon) { in bond_changelink()
360 if (arp_validate && miimon) { in bond_changelink()
692 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
696 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
700 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
704 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
H A 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()
H A Dbond_main.c105 static int miimon; variable
137 module_param(miimon, int, 0);
138 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
1285 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1791 info->miimon = bond->params.miimon; in bond_fill_ifbond()
2124 if (bond->params.miimon) { in bond_enslave()
2687 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2698 bond->params.miimon); in bond_miimon_inspect()
2724 bond->params.miimon); in bond_miimon_inspect()
2733 bond->params.miimon); in bond_miimon_inspect()
[all …]
H A 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/include/uapi/linux/
H A Dif_bonding.h112 __s32 miimon; member
/linux/Documentation/networking/
H A 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.
319 miimon. A value of 0 disables ARP monitoring. The default
480 is only valid for the miimon link monitor. The downdelay
481 value should be a multiple of the miimon value; if not, it
596 miimon
814 (miimon).
908 only valid for the miimon link monitor. The updelay value
909 should be a multiple of the miimon value; if not, it will be
1172 BONDING_MODULE_OPTS="mode=active-backup miimon=100"
[all …]
/linux/include/net/
H A Dbonding.h123 int miimon; member