| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 261 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, 373 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument 376 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() 407 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument 410 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() 436 struct net_device *bond_dev = xs->xso.dev; in bond_ipsec_dev() local 440 bond = netdev_priv(bond_dev); in bond_ipsec_dev() 453 bond_dev->name, slave->dev->name, xs->xso.real_dev->name); in bond_ipsec_dev() [all …]
|
| H A D | bond_procfs.c | 287 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local 288 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() 291 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry() 294 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry() 295 KBUILD_MODNAME, bond_dev->name); in bond_create_proc_entry() 297 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry() 303 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local 304 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 38 const struct net_device *bond_dev, in bond_fill_slave_info() argument 166 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument 171 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 215 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument 219 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 242 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 400 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 605 static int bond_newlink(struct net_device *bond_dev, in bond_newlink() argument 609 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink() [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__) 685 void bond_xdp_set_features(struct net_device *bond_dev); 686 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 | 1816 struct net_device *bond_dev; in mlx5_lag_update_tracker_speed() local 1820 bond_dev = ndev; in mlx5_lag_update_tracker_speed() 1822 bond_dev = netdev_master_upper_dev_get(ndev); in mlx5_lag_update_tracker_speed() 1824 if (!bond_dev) { in mlx5_lag_update_tracker_speed() 1829 err = __ethtool_get_link_ksettings(bond_dev, &lksettings); in mlx5_lag_update_tracker_speed() 1831 netdev_dbg(bond_dev, in mlx5_lag_update_tracker_speed() 1833 bond_dev->name, err); in mlx5_lag_update_tracker_speed()
|
| /linux/drivers/net/ |
| H A D | vrf.c | 1708 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument
|