Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/drivers/net/bonding/
Dbond_options.sh100 case $primary_reselect in
116 case $primary_reselect in
132 if [[ "$primary_reselect" == "0" ]];then
152 local primary_reselect
155 for primary_reselect in 0 1 2; do
156 prio_test "mode $mode miimon 100 primary eth1 primary_reselect $primary_reselect"
157 log_test "prio" "$mode miimon primary_reselect $primary_reselect"
163 local primary_reselect
166 for primary_reselect in 0 1 2; do
167 …mode $mode arp_interval 100 arp_ip_target ${g_ip4} primary eth1 primary_reselect $primary_reselect"
[all …]
/linux-6.6.21/drivers/net/bonding/
Dbond_sysfs.c463 bond->params.primary_reselect); in bonding_show_primary_reselect()
466 val->string, bond->params.primary_reselect); in bonding_show_primary_reselect()
468 static DEVICE_ATTR(primary_reselect, 0644,
Dbond_netlink.c381 int primary_reselect = in bond_changelink() local
384 bond_opt_initval(&newval, primary_reselect); in bond_changelink()
721 bond->params.primary_reselect)) in bond_fill_info()
Dbond_procfs.c92 bond->params.primary_reselect); in bond_info_show_master()
Dbond_main.c110 static char *primary_reselect; variable
153 module_param(primary_reselect, charp, 0);
154 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
1079 switch (bond->params.primary_reselect) { in bond_choose_primary_or_current()
1092 bond->params.primary_reselect); in bond_choose_primary_or_current()
6243 if (primary && primary_reselect) { in bond_check_params()
6244 bond_opt_initstr(&newval, primary_reselect); in bond_check_params()
6249 primary_reselect); in bond_check_params()
6321 params->primary_reselect = primary_reselect_value; in bond_check_params()
Dbond_options.c1389 bond->params.primary_reselect = newval->value; in bond_option_primary_reselect_set()
/linux-6.6.21/include/net/
Dbonding.h137 int primary_reselect; member
/linux-6.6.21/Documentation/networking/
Dbonding.rst788 follows the primary_reselect rules.
808 primary_reselect
833 The primary_reselect setting is ignored in two cases:
841 Changing the primary_reselect policy via sysfs will cause an