| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 263 static int bond_init(struct net_device *bond_dev); 264 static void bond_uninit(struct net_device *bond_dev); 265 static void bond_get_stats(struct net_device *bond_dev, 375 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument 378 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() 409 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument 412 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() 438 struct net_device *bond_dev = xs->xso.dev; in bond_ipsec_dev() local 442 bond = netdev_priv(bond_dev); in bond_ipsec_dev() 455 bond_dev->name, slave->dev->name, xs->xso.real_dev->name); in bond_ipsec_dev() [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 | 19 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument 36 const struct net_device *bond_dev, in bond_fill_slave_info() argument 153 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument 158 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 202 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument 206 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 229 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 387 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 592 static int bond_newlink(struct net_device *bond_dev, in bond_newlink() argument 596 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() [all …]
|
| H A D | bond_alb.c | 1409 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument 1411 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit() 1523 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument 1525 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit() 1785 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument 1787 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address() 1800 dev_addr_set(bond_dev, ss->__data); in bond_alb_set_mac_address() 1810 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address() 1816 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address() 1817 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/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__) 688 void bond_xdp_set_features(struct net_device *bond_dev); 689 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/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | lag.c | 1439 struct net_device *bond_dev; in mlx5_lag_update_tracker_speed() local 1443 bond_dev = ndev; in mlx5_lag_update_tracker_speed() 1445 bond_dev = netdev_master_upper_dev_get(ndev); in mlx5_lag_update_tracker_speed() 1447 if (!bond_dev) { in mlx5_lag_update_tracker_speed() 1452 err = __ethtool_get_link_ksettings(bond_dev, &lksettings); in mlx5_lag_update_tracker_speed() 1454 netdev_dbg(bond_dev, in mlx5_lag_update_tracker_speed() 1456 bond_dev->name, err); in mlx5_lag_update_tracker_speed()
|
| /linux/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
|