Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh112 case $primary_reselect in
128 case $primary_reselect in
144 if [[ "$primary_reselect" == "0" ]];then
164 local primary_reselect
167 for primary_reselect in 0 1 2; do
168 prio_test "mode $mode miimon 100 primary eth1 primary_reselect $primary_reselect"
169 log_test "prio" "$mode miimon primary_reselect $primary_reselect"
175 local primary_reselect
178 for primary_reselect in 0 1 2; do
179 …mode $mode arp_interval 100 arp_ip_target ${g_ip4} primary eth1 primary_reselect $primary_reselect"
[all …]
/linux/drivers/net/bonding/
H A Dbond_sysfs.c462 bond->params.primary_reselect); in bonding_show_primary_reselect()
465 val->string, bond->params.primary_reselect); in bonding_show_primary_reselect()
467 static DEVICE_ATTR(primary_reselect, 0644,
H A Dbond_netlink.c398 int primary_reselect = in bond_changelink() local
401 bond_opt_initval(&newval, primary_reselect); in bond_changelink()
764 bond->params.primary_reselect)) in bond_fill_info()
H A Dbond_procfs.c92 bond->params.primary_reselect); in bond_info_show_master()
H A Dbond_main.c111 static char *primary_reselect; variable
153 module_param(primary_reselect, charp, 0);
154 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
1128 switch (bond->params.primary_reselect) { in bond_choose_primary_or_current()
1141 bond->params.primary_reselect); in bond_choose_primary_or_current()
6352 if (primary && primary_reselect) { in bond_check_params()
6353 bond_opt_initstr(&newval, primary_reselect); in bond_check_params()
6358 primary_reselect); in bond_check_params()
6429 params->primary_reselect = primary_reselect_value; in bond_check_params()
H A Dbond_options.c1556 bond->params.primary_reselect = newval->value; in bond_option_primary_reselect_set()
/linux/include/net/
H A Dbonding.h138 int primary_reselect; member
/linux/Documentation/networking/
H A Dbonding.rst822 follows the primary_reselect rules.
842 primary_reselect
867 The primary_reselect setting is ignored in two cases:
875 Changing the primary_reselect policy via sysfs will cause an