| /linux-6.15/drivers/net/bonding/ |
| H A D | bond_main.c | 470 if (!bond_dev) in bond_ipsec_add_sa() 565 if (!bond_dev) in bond_ipsec_del_sa() 644 if (!bond_dev) in bond_ipsec_free_sa() 1627 dev_close(bond_dev); in bond_setup_by_slave() 1922 ether_setup(bond_dev); in bond_ether_setup() 2044 bond_dev); in bond_enslave() 2120 memcpy(ss.__data, bond_dev->dev_addr, bond_dev->addr_len); in bond_enslave() 3993 xfrm_dev_state_flush(dev_net(bond_dev), bond_dev, true); in bond_master_netdev_event() 4921 memcpy(tmp_ss.__data, bond_dev->dev_addr, bond_dev->addr_len); in bond_set_mac_address() 6046 bond_dev->features |= bond_dev->hw_features; in bond_setup() [all …]
|
| H A D | bond_procfs.c | 285 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local 286 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() 289 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry() 292 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry() 293 DRV_NAME, bond_dev->name); in bond_create_proc_entry() 295 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry() 301 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local 302 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
|
| H A D | bond_netlink.c | 35 const struct net_device *bond_dev, in bond_fill_slave_info() argument 151 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 189 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 212 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 567 static int bond_newlink(struct net_device *bond_dev, in bond_newlink() argument 575 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink() 579 err = register_netdevice(bond_dev); in bond_newlink() 581 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() 583 netif_carrier_off(bond_dev); in bond_newlink() 649 const struct net_device *bond_dev) in bond_fill_info() argument [all …]
|
| H A D | bond_alb.c | 1410 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument 1412 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit() 1524 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument 1526 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit() 1787 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument 1789 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address() 1802 dev_addr_set(bond_dev, ss->__data); in bond_alb_set_mac_address() 1812 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address() 1818 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address() 1819 bond_dev->addr_len); in bond_alb_set_mac_address() [all …]
|
| H A D | bond_sysfs.c | 105 struct net_device *bond_dev; in bonding_store_bonds() local 108 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds() 109 if (bond_dev) { in bonding_store_bonds() 111 unregister_netdevice(bond_dev); in bonding_store_bonds()
|
| /linux-6.15/include/net/ |
| H A D | bonding.h | 42 #define slave_info(bond_dev, slave_dev, fmt, ...) \ argument 43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 44 #define slave_warn(bond_dev, slave_dev, fmt, ...) \ argument 45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 #define slave_dbg(bond_dev, slave_dev, fmt, ...) \ argument 47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 #define slave_err(bond_dev, slave_dev, fmt, ...) \ argument 49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 684 void bond_xdp_set_features(struct net_device *bond_dev); 685 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev, [all …]
|
| H A D | bond_alb.h | 159 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev); 160 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev); 166 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr);
|
| /linux-6.15/drivers/net/ |
| H A D | vrf.c | 1751 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument
|