Home
last modified time | relevance | path

Searched refs:miimon (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/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-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.sh61 ip -n ${s_ns} link add bond0 type bond mode active-backup miimon 100
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_options.c318 .name = "miimon",
343 .desc = "Use netif_carrier_ok (vs MII ioctls) in miimon",
772 if (!bond->params.miimon) { in bond_option_mode_set()
773 /* set miimon to default value */ in bond_option_mode_set()
774 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
776 bond->params.miimon); in bond_option_mode_set()
862 bond->params.miimon = newval->value; in bond_option_miimon_set()
864 netdev_dbg(bond->dev, "Note: Updating updelay (to %d) since it is a multiple of the miimon value\n", in bond_option_miimon_set()
865 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
867 netdev_dbg(bond->dev, "Note: Updating downdelay (to %d) since it is a multiple of the miimon valu in bond_option_miimon_set()
[all...]
H A Dbond_procfs.c102 seq_printf(seq, "MII Polling Interval (ms): %d\n", bond->params.miimon); in bond_info_show_master()
104 bond->params.updelay * bond->params.miimon); in bond_info_show_master()
106 bond->params.downdelay * bond->params.miimon); in bond_info_show_master()
108 bond->params.peer_notif_delay * bond->params.miimon); in bond_info_show_master()
H A Dbond_netlink.c164 int miimon = 0; in bond_changelink() local
196 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
198 bond_opt_initval(&newval, miimon); in bond_changelink()
238 if (arp_interval && miimon) { in bond_changelink()
276 if (arp_validate && miimon) { in bond_changelink()
537 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
541 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
545 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
549 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
H A Dbond_main.c96 static int miimon; variable
128 module_param(miimon, int, 0);
129 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
136 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
1113 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1659 info->miimon = bond->params.miimon; in bond_fill_ifbond()
1926 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
1930 /* miimon is set but a bonded network driver in bond_enslave()
1941 slave_warn(bond_dev, slave_dev, "can't get link status from slave; the network driver associated with this interface does not support MII or ETHTOOL link status reporting, thus miimon ha in bond_enslave()
[all...]
H A Dbond_sysfs.c313 return sprintf(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
324 return sprintf(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
337 bond->params.peer_notif_delay * bond->params.miimon); in bonding_show_peer_notif_delay()
402 return sprintf(buf, "%d\n", bond->params.miimon); in bonding_show_miimon()
404 static DEVICE_ATTR(miimon, 0644,
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_options.c371 .name = "miimon",
406 .desc = "Use netif_carrier_ok (vs MII ioctls) in miimon",
862 if (!bond->params.miimon) { in bond_option_mode_set()
863 /* set miimon to default value */ in bond_option_mode_set()
864 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
866 bond->params.miimon); in bond_option_mode_set()
960 bond->params.miimon = newval->value; in bond_option_miimon_set()
962 netdev_dbg(bond->dev, "Note: Updating updelay (to %d) since it is a multiple of the miimon value\n", in bond_option_miimon_set()
963 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
965 netdev_dbg(bond->dev, "Note: Updating downdelay (to %d) since it is a multiple of the miimon valu in bond_option_miimon_set()
[all...]
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_netlink.c189 int miimon = 0; in bond_changelink() local
223 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
225 bond_opt_initval(&newval, miimon); in bond_changelink()
270 if (arp_interval && miimon) { in bond_changelink()
343 if (arp_validate && miimon) { in bond_changelink()
649 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
653 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
657 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
661 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
H A Dbond_main.c104 static int miimon; variable
136 module_param(miimon, int, 0);
137 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
144 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
1181 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1733 info->miimon = bond->params.miimon; in bond_fill_ifbond()
2053 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
2057 /* miimon is set but a bonded network driver in bond_enslave()
2068 slave_warn(bond_dev, slave_dev, "can't get link status from slave; the network driver associated with this interface does not support MII or ETHTOOL link status reporting, thus miimon ha in bond_enslave()
[all...]
H A 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,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dif_bonding.h43 __s32 miimon; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_bonding.h111 __s32 miimon; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_bonding.h112 __s32 miimon; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_bonding.h64 __s32 miimon; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_bonding.h64 __s32 miimon; member
/kernel/linux/linux-5.10/include/net/
H A Dbonding.h120 int miimon; member
/kernel/linux/linux-6.6/include/net/
H A Dbonding.h121 int miimon; member

Completed in 24 milliseconds