Home
last modified time | relevance | path

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

/linux/drivers/net/bonding/
H A Dbond_main.c261 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 Dbond_netlink.c19 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
167 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
172 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
216 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
220 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
243 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
401 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
616 static int bond_newlink(struct net_device *bond_dev, in bond_newlink() argument
620 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
[all …]
H A Dbond_alb.c1409 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()
1787 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument
1789 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address()
1802 dev_addr_set(bond_dev, ss->__data); in bond_alb_set_mac_address()
1812 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1818 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address()
1819 bond_dev->addr_len); in bond_alb_set_mac_address()
[all …]
/linux/include/net/
H A Dbonding.h42 #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__)
686 void bond_xdp_set_features(struct net_device *bond_dev);
687 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev,
[all …]
H A Dbond_alb.h159 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/freescale/dpaa2/
H A Ddpaa2-switch.c2196 return lag->bond_dev; in dpaa2_switch_port_to_bridge_port()
2469 if (ethsw->lags[i].bond_dev != upper_dev) in dpaa2_switch_pre_lag_join()
2513 struct net_device *bond_dev) in dpaa2_switch_port_set_lag_group() argument
2522 netdev_for_each_lower_dev(bond_dev, other_dev, iter) { in dpaa2_switch_port_set_lag_group()
2531 if (other_lag->bond_dev == bond_dev) { in dpaa2_switch_port_set_lag_group()
2544 lag->bond_dev = bond_dev; in dpaa2_switch_port_set_lag_group()
2550 struct net_device *bond_dev) in dpaa2_switch_port_in_lag() argument
2558 return lag && lag->bond_dev == bond_dev; in dpaa2_switch_port_in_lag()
2561 static int dpaa2_switch_set_lag_cfg(struct net_device *bond_dev, u8 lag_id, in dpaa2_switch_set_lag_cfg() argument
2584 if (dpaa2_switch_port_in_lag(ethsw->ports[i], bond_dev)) { in dpaa2_switch_set_lag_cfg()
[all …]
H A Ddpaa2-switch.h121 struct net_device *bond_dev; member
310 if (lag && lag->bond_dev == dev) in dpaa2_switch_port_offloads_bridge_port()
/linux/drivers/net/
H A Dvrf.c1708 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument