Home
last modified time | relevance | path

Searched refs:miimon (Results 1 – 10 of 10) 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-break-lacpdu-tx.sh44 ip link add fbond type bond mode 4 miimon 200 xmit_hash_policy 1 \
H A Dbond-arp-interval-causes-panic.sh32 miimon 100 all_slaves_active 1
H A Dbond_topo_2d1c.sh63 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
/linux/drivers/net/bonding/
H A Dbond_netlink.c222 int miimon = 0; in bond_changelink() local
256 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
258 bond_opt_initval(&newval, miimon); in bond_changelink()
301 if (arp_interval && miimon) { in bond_changelink()
374 if (arp_validate && miimon) { in bond_changelink()
704 int i, targets_added, miimon, mode; in bond_fill_info() local
720 miimon = READ_ONCE(bond->params.miimon); in bond_fill_info()
721 if (nla_put_u32(skb, IFLA_BOND_MIIMON, miimon)) in bond_fill_info()
725 READ_ONCE(bond->params.updelay) * miimon)) in bond_fill_info()
729 READ_ONCE(bond->params.downdelay) * miimon)) in bond_fill_info()
[all …]
H A Dbond_options.c924 if (!bond->params.miimon) { in bond_option_mode_set()
926 WRITE_ONCE(bond->params.miimon, BOND_DEFAULT_MIIMON); in bond_option_mode_set()
928 bond->params.miimon); in bond_option_mode_set()
1029 WRITE_ONCE(bond->params.miimon, newval->value); in bond_option_miimon_set()
1032 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
1035 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
1038 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
1074 if (!bond->params.miimon) { in _bond_option_delay_set()
1079 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
1083 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
H A Dbond_main.c103 static int miimon; variable
135 module_param(miimon, int, 0);
136 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
1287 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1793 info->miimon = bond->params.miimon; in bond_fill_ifbond()
2134 if (bond->params.miimon) { in bond_enslave()
2697 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2708 bond->params.miimon); in bond_miimon_inspect()
2734 bond->params.miimon); in bond_miimon_inspect()
2743 bond->params.miimon); in bond_miimon_inspect()
[all …]
/linux/include/uapi/linux/
H A Dif_bonding.h112 __s32 miimon; member
/linux/include/net/
H A Dbonding.h120 int miimon; member