Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/bonding/
Dbond_options.c759 if (!bond->params.miimon) { in bond_option_mode_set()
761 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
763 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()
855 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
890 if (!bond->params.miimon) { in _bond_option_delay_set()
895 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
899 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
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()
538 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
542 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
546 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
550 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
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()
Dbond_main.c93 static int miimon; variable
125 module_param(miimon, int, 0);
126 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
840 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1330 info->miimon = bond->params.miimon; in bond_fill_ifbond()
1596 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
1617 if (bond->params.miimon) { in bond_enslave()
2104 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2114 bond->params.miimon); in bond_miimon_inspect()
2140 bond->params.miimon); in bond_miimon_inspect()
[all …]
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,
/Linux-v5.4/include/uapi/linux/
Dif_bonding.h101 __s32 miimon; member
/Linux-v5.4/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
736 (arp_interval or miimon, whichever is active). The default
818 only valid for the miimon link monitor. The updelay value
819 should be a multiple of the miimon value; if not, it will be
824 Specifies whether or not miimon should use MII or ETHTOOL
[all …]
/Linux-v5.4/include/net/
Dbonding.h117 int miimon; member