Home
last modified time | relevance | path

Searched refs:bond_dev (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/bonding/
Dbond_main.c261 static int bond_init(struct net_device *bond_dev);
262 static void bond_uninit(struct net_device *bond_dev);
263 static void bond_get_stats(struct net_device *bond_dev,
368 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument
371 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
402 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument
405 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
429 struct net_device *bond_dev = xs->xso.dev; in bond_ipsec_add_sa() local
435 if (!bond_dev) in bond_ipsec_add_sa()
439 bond = netdev_priv(bond_dev); in bond_ipsec_add_sa()
[all …]
Dbond_procfs.c285 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()
Dbond_netlink.c19 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
35 const struct net_device *bond_dev, in bond_fill_slave_info() argument
144 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
149 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
183 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
187 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
210 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
370 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
555 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
561 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
[all …]
Dbond_alb.c1410 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 …]
Dbond_sysfs.c105 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.6.21/include/net/
Dbonding.h42 #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__)
661 void bond_xdp_set_features(struct net_device *bond_dev);
662 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev,
[all …]
Dbond_alb.h159 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.6.21/drivers/net/
Dvrf.c1791 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument