Home
last modified time | relevance | path

Searched refs:arp_interval (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/net/bonding/
Dbond_netlink.c268 int arp_interval = nla_get_u32(data[IFLA_BOND_ARP_INTERVAL]); in bond_changelink() local
270 if (arp_interval && miimon) { in bond_changelink()
276 bond_opt_initval(&newval, arp_interval); in bond_changelink()
304 if (i == 0 && bond->params.arp_interval) in bond_changelink()
334 if (i == 0 && bond->params.arp_interval) in bond_changelink()
667 if (nla_put_u32(skb, IFLA_BOND_ARP_INTERVAL, bond->params.arp_interval)) in bond_fill_info()
Dbond_main.c115 static int arp_interval; variable
176 module_param(arp_interval, int, 0);
177 MODULE_PARM_DESC(arp_interval, "arp interval in milliseconds");
2047 (msecs_to_jiffies(bond->params.arp_interval) + 1); in bond_enslave()
2056 if ((link_reporting == -1) && !bond->params.arp_interval) { in bond_enslave()
2090 } else if (bond->params.arp_interval) { in bond_enslave()
3392 int delta_in_ticks = msecs_to_jiffies(bond->params.arp_interval); in bond_time_in_interval()
3508 if (bond->params.arp_interval) in bond_loadbalance_arp_mon()
3510 msecs_to_jiffies(bond->params.arp_interval)); in bond_loadbalance_arp_mon()
3769 delta_in_ticks = msecs_to_jiffies(bond->params.arp_interval); in bond_activebackup_arp_mon()
[all …]
Dbond_procfs.c113 if (bond->params.arp_interval > 0) { in bond_info_show_master()
117 bond->params.arp_interval); in bond_info_show_master()
Dbond_options.c855 if (bond->params.arp_interval) { in bond_option_mode_set()
859 bond->params.arp_interval = 0; in bond_option_mode_set()
970 if (newval->value && bond->params.arp_interval) { in bond_option_miimon_set()
972 bond->params.arp_interval = 0; in bond_option_miimon_set()
1067 bond->params.arp_interval = newval->value; in bond_option_arp_interval_set()
1168 if (ind == 0 && !targets[1] && bond->params.arp_interval) in bond_option_arp_ip_target_rem()
Dbond_sysfs.c280 return sysfs_emit(buf, "%d\n", bond->params.arp_interval); in bonding_show_arp_interval()
282 static DEVICE_ATTR(arp_interval, 0644,
/linux-6.6.21/tools/testing/selftests/drivers/net/bonding/
Dbond-lladdr-target.sh44 arp_validate 3 arp_interval 1000
Dbond-arp-interval-causes-panic.sh41 arp_interval 1000 arp_ip_target "+${server_ip4}"
/linux-6.6.21/include/net/
Dbonding.h124 int arp_interval; member
/linux-6.6.21/Documentation/networking/
Dbonding.rst159 It is critical that either the miimon or arp_interval and
281 arp_interval
308 arp_interval is > 0. These are the targets of the ARP request
319 arp_interval is > 0. These are the targets of the NS request
438 Specifies the number of arp_interval monitor checks that must
569 information. The default value is 100 if arp_interval is not
1307 BONDING_OPTS="mode=active-backup arp_interval=60 arp_ip_target=192.168.1.254"
1631 echo 2000 > /sys/class/net/bond1/bonding/arp_interval
2002 options bond0 arp_interval=60 arp_ip_target=192.168.0.1,192.168.0.3,192.168.0.9
2008 options bond0 arp_interval=60 arp_ip_target=192.168.0.100
[all …]