Home
last modified time | relevance | path

Searched refs:curr_active_slave (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/bonding/
Dbond_alb.c358 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary()
418 if (slave != rtnl_dereference(bond->curr_active_slave)) in rlb_clear_slave()
556 struct slave *assigned_slave, *curr_active_slave; in rlb_choose_channel() local
562 curr_active_slave = rcu_dereference(bond->curr_active_slave); in rlb_choose_channel()
587 if (curr_active_slave && in rlb_choose_channel()
588 client_info->slave != curr_active_slave) { in rlb_choose_channel()
589 client_info->slave = curr_active_slave; in rlb_choose_channel()
1150 struct slave *has_bond_addr = rcu_access_pointer(bond->curr_active_slave); in alb_handle_addr_collision_on_attach()
1313 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1319 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
[all …]
Dbond_main.c395 slave = rcu_dereference(bond->curr_active_slave); in bond_ipsec_add_sa()
422 slave = rcu_dereference(bond->curr_active_slave); in bond_ipsec_del_sa()
447 struct slave *curr_active = rcu_dereference(bond->curr_active_slave); in bond_ipsec_offload_ok()
633 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_promiscuity()
656 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_allmulti()
867 struct slave *curr = rtnl_dereference(bond->curr_active_slave); in bond_choose_primary_or_current()
934 slave = rcu_dereference(bond->curr_active_slave); in bond_should_notify_peers()
971 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
1018 rcu_assign_pointer(bond->curr_active_slave, new_active); in bond_change_active_slave()
1092 if (best_slave != rtnl_dereference(bond->curr_active_slave)) { in bond_select_active_slave()
[all …]
Dbond_procfs.c64 curr = rcu_dereference(bond->curr_active_slave); in bond_info_show_master()
Dbond_options.c825 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in bond_option_active_slave_set()
828 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set()
/Linux-v5.10/include/net/
Dbonding.h208 struct slave __rcu *curr_active_slave; member
340 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu()
/Linux-v5.10/Documentation/networking/
Dbonding.rst704 curr_active_slave) while having a unique hardware
706 curr_active_slave fails its hardware address is
707 swapped with the new curr_active_slave that was