Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/bonding/
Dbond_main.c206 static int bond_init(struct net_device *bond_dev);
207 static void bond_uninit(struct net_device *bond_dev);
208 static void bond_get_stats(struct net_device *bond_dev,
280 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument
283 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
313 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument
316 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
554 static void bond_hw_addr_flush(struct net_device *bond_dev, in bond_hw_addr_flush() argument
557 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush()
559 dev_uc_unsync(slave_dev, bond_dev); in bond_hw_addr_flush()
[all …]
Dbond_netlink.c22 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
37 const struct net_device *bond_dev, in bond_fill_slave_info() argument
133 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
138 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
161 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
165 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
187 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
295 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
443 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
449 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
[all …]
Dbond_procfs.c262 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local
263 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
266 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry()
269 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry()
270 DRV_NAME, bond_dev->name); in bond_create_proc_entry()
272 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry()
278 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local
279 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
Dbond_alb.c1353 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument
1355 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit()
1391 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument
1393 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit()
1756 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument
1758 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address()
1771 bond_hw_addr_copy(bond_dev->dev_addr, ss->__data, bond_dev->addr_len); in bond_alb_set_mac_address()
1781 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1787 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address()
1788 bond_dev->addr_len); in bond_alb_set_mac_address()
[all …]
Dbond_sysfs.c121 struct net_device *bond_dev; in bonding_store_bonds() local
124 bond_dev = bond_get_by_name(bn, ifname); in bonding_store_bonds()
125 if (bond_dev) { in bonding_store_bonds()
127 unregister_netdevice(bond_dev); in bonding_store_bonds()
/Linux-v4.19/include/net/
Dbond_alb.h175 int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev);
176 int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev);
178 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr);
Dbonding.h611 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev,
613 int bond_release(struct net_device *bond_dev, struct net_device *slave_dev);
624 void bond_setup(struct net_device *bond_dev);
/Linux-v4.19/drivers/net/
Dvrf.c1349 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument