Home
last modified time | relevance | path

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

/linux/net/ethtool/
H A Dfeatures.c218 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
265 ethnl_features_to_bitmap(new_active, dev->features); in ethnl_set_features()
266 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
272 bitmap_xor(wanted_diff_mask, req_wanted, new_active, in ethnl_set_features()
274 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
280 bitmap_and(new_active, new_active, active_diff_mask, in ethnl_set_features()
284 wanted_diff_mask, new_active, in ethnl_set_features()
/linux/drivers/net/bonding/
H A Dbond_main.c930 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument
946 if (new_active) { in bond_hw_addr_swap()
949 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap()
952 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap()
956 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
957 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
961 bond_slave_ns_maddrs_del(bond, new_active); in bond_hw_addr_swap()
990 struct slave *new_active) in bond_get_old_active() argument
996 if (slave == new_active) in bond_get_old_active()
1013 struct slave *new_active, in bond_do_fail_over_mac() argument
[all …]
H A Dbond_options.c980 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
982 BUG_ON(!new_active); in bond_option_active_slave_set()
984 if (new_active == old_active) { in bond_option_active_slave_set()
986 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set()
988 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
989 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
990 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set()
991 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
993 …slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the lin… in bond_option_active_slave_set()
994 new_active->dev->name); in bond_option_active_slave_set()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmlo.c939 u16 new_active, usable_links = ieee80211_vif_usable_links(vif); in _iwl_mld_select_links() local
969 new_active = BIT(best_link->link_id); in _iwl_mld_select_links()
996 new_active = BIT(data[a].link_id) | in _iwl_mld_select_links()
1003 new_active, new_primary); in _iwl_mld_select_links()
1006 mld_vif->emlsr.selected_links = new_active; in _iwl_mld_select_links()
1008 ieee80211_set_active_links_async(vif, new_active); in _iwl_mld_select_links()
/linux/include/net/
H A Dbonding.h695 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
/linux/net/tipc/
H A Dcrypto.c280 u8 new_active,
1101 u8 new_active, in tipc_crypto_key_set_state() argument
1108 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()