Home
last modified time | relevance | path

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

/drivers/net/bonding/
Dbond_options.c836 if (!bond->params.miimon) { in bond_option_mode_set()
838 bond->params.miimon = BOND_DEFAULT_MIIMON; in bond_option_mode_set()
840 bond->params.miimon); in bond_option_mode_set()
933 bond->params.miimon = newval->value; in bond_option_miimon_set()
936 bond->params.updelay * bond->params.miimon); in bond_option_miimon_set()
939 bond->params.downdelay * bond->params.miimon); in bond_option_miimon_set()
942 bond->params.peer_notif_delay * bond->params.miimon); in bond_option_miimon_set()
977 if (!bond->params.miimon) { in _bond_option_delay_set()
982 if ((value % bond->params.miimon) != 0) { in _bond_option_delay_set()
986 value, bond->params.miimon, in _bond_option_delay_set()
[all …]
Dbond_netlink.c171 int miimon = 0; in bond_changelink() local
203 miimon = nla_get_u32(data[IFLA_BOND_MIIMON]); in bond_changelink()
205 bond_opt_initval(&newval, miimon); in bond_changelink()
245 if (arp_interval && miimon) { in bond_changelink()
283 if (arp_validate && miimon) { in bond_changelink()
565 if (nla_put_u32(skb, IFLA_BOND_MIIMON, bond->params.miimon)) in bond_fill_info()
569 bond->params.updelay * bond->params.miimon)) in bond_fill_info()
573 bond->params.downdelay * bond->params.miimon)) in bond_fill_info()
577 bond->params.peer_notif_delay * bond->params.miimon)) in bond_fill_info()
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()
Dbond_main.c99 static int miimon; variable
131 module_param(miimon, int, 0);
132 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
1147 (bond->params.updelay - new_active->delay) * bond->params.miimon); in bond_change_active_slave()
1700 info->miimon = bond->params.miimon; in bond_fill_ifbond()
1996 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
2017 if (bond->params.miimon) { in bond_enslave()
2558 bond->params.downdelay * bond->params.miimon); in bond_miimon_inspect()
2568 bond->params.miimon); in bond_miimon_inspect()
2594 bond->params.miimon); in bond_miimon_inspect()
[all …]
Dbond_sysfs.c325 return sprintf(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
336 return sprintf(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 sprintf(buf, "%d\n", bond->params.miimon); in bonding_show_miimon()
431 static DEVICE_ATTR(miimon, 0644,