Home
last modified time | relevance | path

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

/linux/drivers/net/bonding/
A Dbond_main.c428 if (!bond_dev) in bond_ipsec_add_sa()
515 if (!bond_dev) in bond_ipsec_del_sa()
1826 bond_dev); in bond_enslave()
1845 bond_dev); in bond_enslave()
1921 memcpy(ss.__data, bond_dev->dev_addr, bond_dev->addr_len); in bond_enslave()
2261 dev_close(bond_dev); in bond_enslave()
3527 xfrm_dev_state_flush(dev_net(bond_dev), bond_dev, true); in bond_master_netdev_event()
4421 memcpy(tmp_ss.__data, bond_dev->dev_addr, bond_dev->addr_len); in bond_set_mac_address()
5385 bond->dev = bond_dev; in bond_setup()
5428 bond_dev->features |= bond_dev->hw_features; in bond_setup()
[all …]
A Dbond_netlink.c33 const struct net_device *bond_dev, in bond_fill_slave_info() argument
136 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
163 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
185 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
301 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
465 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
469 err = register_netdevice(bond_dev); in bond_newlink()
471 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
473 netif_carrier_off(bond_dev); in bond_newlink()
534 const struct net_device *bond_dev) in bond_fill_info() argument
[all …]
A Dbond_procfs.c268 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local
269 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
272 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry()
275 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry()
276 DRV_NAME, bond_dev->name); in bond_create_proc_entry()
278 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry()
284 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local
285 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
A Dbond_alb.c1374 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument
1376 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit()
1486 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument
1488 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit()
1749 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument
1751 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address()
1764 dev_addr_set(bond_dev, ss->__data); in bond_alb_set_mac_address()
1774 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1780 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address()
1781 bond_dev->addr_len); in bond_alb_set_mac_address()
[all …]
A 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/include/net/
A Dbonding.h41 #define slave_info(bond_dev, slave_dev, fmt, ...) \ argument
42 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
43 #define slave_warn(bond_dev, slave_dev, fmt, ...) \ argument
44 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
45 #define slave_dbg(bond_dev, slave_dev, fmt, ...) \ argument
46 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
47 #define slave_err(bond_dev, slave_dev, fmt, ...) \ argument
48 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__)
638 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev,
640 int bond_release(struct net_device *bond_dev, struct net_device *slave_dev);
[all …]
A Dbond_alb.h159 int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev);
160 int 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/drivers/net/
A Dvrf.c1804 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument

Completed in 31 milliseconds