Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/bonding/
Dbond_options.c754 if (!bond->params.miimon) { in bond_option_mode_set()
756 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
758 bond->params.miimon); in bond_option_mode_set()
846 bond->params.miimon = newval->value; in bond_option_miimon_set()
849 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
852 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
885 if (!bond->params.miimon) { in bond_option_updelay_set()
889 if ((value % bond->params.miimon) != 0) { in bond_option_updelay_set()
891 value, bond->params.miimon, in bond_option_updelay_set()
892 (value / bond->params.miimon) * in bond_option_updelay_set()
[all …]
Dbond_netlink.c167 int miimon = 0; in bond_changelink() local
199 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
201 bond_opt_initval(&newval, miimon); in bond_changelink()
233 if (arp_interval && miimon) { in bond_changelink()
271 if (arp_validate && miimon) { in bond_changelink()
532 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
536 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
540 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
Dbond_main.c94 static int miimon; variable
126 module_param(miimon, int, 0);
127 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
829 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1310 info->miimon = bond->params.miimon; in bond_fill_ifbond()
1580 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
1603 if (bond->params.miimon) { in bond_enslave()
2099 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2109 bond->params.miimon, in bond_miimon_inspect()
2137 bond->params.miimon); in bond_miimon_inspect()
[all …]
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()
Dbond_sysfs.c329 return sprintf(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
340 return sprintf(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
406 return sprintf(buf, "%d\n", bond->params.miimon); in bonding_show_miimon()
408 static DEVICE_ATTR(miimon, 0644,
/Linux-v4.19/include/uapi/linux/
Dif_bonding.h101 __s32 miimon; member
/Linux-v4.19/Documentation/networking/
Dbonding.txt154 It is critical that either the miimon or arp_interval and
157 support at least miimon, so there is really no reason not to use it.
293 miimon. A value of 0 disables ARP monitoring. The default
420 is only valid for the miimon link monitor. The downdelay
421 value should be a multiple of the miimon value; if not, it
518 miimon
710 each link monitor interval (arp_interval or miimon, whichever
808 only valid for the miimon link monitor. The updelay value
809 should be a multiple of the miimon value; if not, it will be
814 Specifies whether or not miimon should use MII or ETHTOOL
[all …]
/Linux-v4.19/include/net/
Dbonding.h108 int miimon; member