Home
last modified time | relevance | path

Searched refs:primary_reselect (Results 1 – 7 of 7) 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.c411 int primary_reselect = in bond_changelink() local
414 bond_opt_initval(&newval, primary_reselect); in bond_changelink()
777 bond->params.primary_reselect)) in bond_fill_info()
H A Dbond_procfs.c93 bond->params.primary_reselect); in bond_info_show_master()
H A Dbond_main.c109 static char *primary_reselect; variable
151 module_param(primary_reselect, charp, 0);
152 MODULE_PARM_DESC(primary_reselect, "Reselect primary slave "
1126 switch (bond->params.primary_reselect) { in bond_choose_primary_or_current()
1139 bond->params.primary_reselect); in bond_choose_primary_or_current()
6358 if (primary && primary_reselect) { in bond_check_params()
6359 bond_opt_initstr(&newval, primary_reselect); in bond_check_params()
6364 primary_reselect); in bond_check_params()
6435 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.h135 int primary_reselect; member