Home
last modified time | relevance | path

Searched refs:new_active (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ethtool/
H A Dfeatures.c217 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
263 ethnl_features_to_bitmap(new_active, dev->features); in ethnl_set_features()
264 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
270 bitmap_xor(wanted_diff_mask, req_wanted, new_active, in ethnl_set_features()
272 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
278 bitmap_and(new_active, new_active, active_diff_mask, in ethnl_set_features()
282 wanted_diff_mask, new_active, in ethnl_set_features()
/kernel/linux/linux-6.6/net/ethtool/
H A Dfeatures.c216 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
262 ethnl_features_to_bitmap(new_active, dev->features); in ethnl_set_features()
263 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
269 bitmap_xor(wanted_diff_mask, req_wanted, new_active, in ethnl_set_features()
271 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
277 bitmap_and(new_active, new_active, active_diff_mask, in ethnl_set_features()
281 wanted_diff_mask, new_active, in ethnl_set_features()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_main.c842 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument
856 if (new_active) { in bond_hw_addr_swap()
859 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap()
862 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap()
866 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
867 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
898 struct slave *new_active) in bond_get_old_active()
904 if (slave == new_active) in bond_get_old_active()
921 struct slave *new_active, in bond_do_fail_over_mac()
930 if (new_active) { in bond_do_fail_over_mac()
897 bond_get_old_active(struct bonding *bond, struct slave *new_active) bond_get_old_active() argument
920 bond_do_fail_over_mac(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_do_fail_over_mac() argument
1092 bond_change_active_slave(struct bonding *bond, struct slave *new_active) bond_change_active_slave() argument
[all...]
H A Dbond_options.c829 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
831 BUG_ON(!new_active); in bond_option_active_slave_set()
833 if (new_active == old_active) { in bond_option_active_slave_set()
835 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set()
837 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
838 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
839 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set()
840 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
842 slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the link is down\n", in bond_option_active_slave_set()
843 new_active in bond_option_active_slave_set()
[all...]
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_main.c883 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument
897 if (new_active) { in bond_hw_addr_swap()
900 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap()
903 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap()
907 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
908 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
939 struct slave *new_active) in bond_get_old_active()
945 if (slave == new_active) in bond_get_old_active()
962 struct slave *new_active, in bond_do_fail_over_mac()
971 if (new_active) { in bond_do_fail_over_mac()
938 bond_get_old_active(struct bonding *bond, struct slave *new_active) bond_get_old_active() argument
961 bond_do_fail_over_mac(struct bonding *bond, struct slave *new_active, struct slave *old_active) bond_do_fail_over_mac() argument
1160 bond_change_active_slave(struct bonding *bond, struct slave *new_active) bond_change_active_slave() argument
[all...]
H A Dbond_options.c927 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
929 BUG_ON(!new_active); in bond_option_active_slave_set()
931 if (new_active == old_active) { in bond_option_active_slave_set()
933 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set()
935 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
936 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
937 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set()
938 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
940 slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the link is down\n", in bond_option_active_slave_set()
941 new_active in bond_option_active_slave_set()
[all...]
/kernel/linux/linux-5.10/net/tipc/
H A Dcrypto.c276 u8 new_active,
1096 u8 new_active, in tipc_crypto_key_set_state()
1103 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()
1094 tipc_crypto_key_set_state(struct tipc_crypto *c, u8 new_passive, u8 new_active, u8 new_pending) tipc_crypto_key_set_state() argument
/kernel/linux/linux-6.6/net/tipc/
H A Dcrypto.c280 u8 new_active,
1092 u8 new_active, in tipc_crypto_key_set_state()
1099 ((new_active & KEY_MASK) << (KEY_BITS)) | in tipc_crypto_key_set_state()
1090 tipc_crypto_key_set_state(struct tipc_crypto *c, u8 new_passive, u8 new_active, u8 new_pending) tipc_crypto_key_set_state() argument
/kernel/linux/linux-5.10/include/net/
H A Dbonding.h644 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
/kernel/linux/linux-6.6/include/net/
H A Dbonding.h668 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);

Completed in 22 milliseconds