Searched refs:bond_dev (Results 1 – 6 of 6) sorted by relevance
| /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()
|
| /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
|