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,
369 * @bond_dev: bonding net device that got called
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()
403 * @bond_dev: bonding net device that got called
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 in bond_ipsec_dev() local
464 bond_ipsec_add_sa(struct net_device * bond_dev,struct xfrm_state * xs,struct netlink_ext_ack * extack) bond_ipsec_add_sa() argument
521 struct net_device *bond_dev = bond->dev; bond_ipsec_add_sa_all() local
576 bond_ipsec_del_sa(struct net_device * bond_dev,struct xfrm_state * xs) bond_ipsec_del_sa() argument
598 struct net_device *bond_dev = bond->dev; bond_ipsec_del_sa_all() local
637 bond_ipsec_free_sa(struct net_device * bond_dev,struct xfrm_state * xs) bond_ipsec_free_sa() argument
909 bond_hw_addr_flush(struct net_device * bond_dev,struct net_device * slave_dev) bond_hw_addr_flush() argument
970 bond_set_dev_addr(struct net_device * bond_dev,struct net_device * slave_dev) bond_set_dev_addr() argument
1419 bond_poll_controller(struct net_device * bond_dev) bond_poll_controller() argument
1447 bond_netpoll_cleanup(struct net_device * bond_dev) bond_netpoll_cleanup() argument
1482 bond_netpoll_cleanup(struct net_device * bond_dev) bond_netpoll_cleanup() argument
1510 bond_header_create(struct sk_buff * skb,struct net_device * bond_dev,unsigned short type,const void * daddr,const void * saddr,unsigned int len) bond_header_create() argument
1556 bond_setup_by_slave(struct net_device * bond_dev,struct net_device * slave_dev) bond_setup_by_slave() argument
1833 BOND_NL_ERR(bond_dev,extack,errmsg) global() argument
1840 SLAVE_NL_ERR(bond_dev,slave_dev,extack,errmsg) global() argument
1852 bond_ether_setup(struct net_device * bond_dev) bond_ether_setup() argument
1861 bond_xdp_set_features(struct net_device * bond_dev) bond_xdp_set_features() argument
1884 bond_enslave(struct net_device * bond_dev,struct net_device * slave_dev,struct netlink_ext_ack * extack) bond_enslave() argument
2419 __bond_release_one(struct net_device * bond_dev,struct net_device * slave_dev,bool all,bool unregister) __bond_release_one() argument
2600 bond_release(struct net_device * bond_dev,struct net_device * slave_dev) bond_release() argument
2608 bond_release_and_destroy(struct net_device * bond_dev,struct net_device * slave_dev) bond_release_and_destroy() argument
2625 bond_info_query(struct net_device * bond_dev,struct ifbond * info) bond_info_query() argument
2632 bond_slave_info_query(struct net_device * bond_dev,struct ifslave * info) bond_slave_info_query() argument
2963 struct net_device *bond_dev = slave->bond->dev; bond_handle_vlan() local
3008 struct net_device *bond_dev = slave->bond->dev; bond_arp_send() local
3229 struct net_device *bond_dev = slave->bond->dev; bond_ns_send() local
3910 bond_master_netdev_event(unsigned long event,struct net_device * bond_dev) bond_master_netdev_event() argument
3940 struct net_device *bond_dev; bond_slave_netdev_event() local
4337 bond_open(struct net_device * bond_dev) bond_open() argument
4400 bond_close(struct net_device * bond_dev) bond_close() argument
4505 bond_get_stats(struct net_device * bond_dev,struct rtnl_link_stats64 * stats) bond_get_stats() argument
4538 bond_eth_ioctl(struct net_device * bond_dev,struct ifreq * ifr,int cmd) bond_eth_ioctl() argument
4575 bond_do_ioctl(struct net_device * bond_dev,struct ifreq * ifr,int cmd) bond_do_ioctl() argument
4651 bond_siocdevprivate(struct net_device * bond_dev,struct ifreq * ifr,void __user * data,int cmd) bond_siocdevprivate() argument
4674 bond_change_rx_flags(struct net_device * bond_dev,int change) bond_change_rx_flags() argument
4687 bond_set_rx_mode(struct net_device * bond_dev) bond_set_rx_mode() argument
4765 bond_change_mtu(struct net_device * bond_dev,int new_mtu) bond_change_mtu() argument
4822 bond_set_mac_address(struct net_device * bond_dev,void * addr) bond_set_mac_address() argument
5036 bond_xmit_roundrobin(struct sk_buff * skb,struct net_device * bond_dev) bond_xmit_roundrobin() argument
5057 bond_xmit_activebackup(struct sk_buff * skb,struct net_device * bond_dev) bond_xmit_activebackup() argument
5313 bond_xmit_broadcast(struct sk_buff * skb,struct net_device * bond_dev,bool all_slaves) bond_xmit_broadcast() argument
5608 bond_xdp_get_xmit_slave(struct net_device * bond_dev,struct xdp_buff * xdp) bond_xdp_get_xmit_slave() argument
5642 bond_xdp_xmit(struct net_device * bond_dev,int n,struct xdp_frame ** frames,u32 flags) bond_xdp_xmit() argument
5846 bond_ethtool_get_link_ksettings(struct net_device * bond_dev,struct ethtool_link_ksettings * cmd) bond_ethtool_get_link_ksettings() argument
5882 bond_ethtool_get_drvinfo(struct net_device * bond_dev,struct ethtool_drvinfo * drvinfo) bond_ethtool_get_drvinfo() argument
5890 bond_ethtool_get_ts_info(struct net_device * bond_dev,struct kernel_ethtool_ts_info * info) bond_ethtool_get_ts_info() argument
5978 bond_destructor(struct net_device * bond_dev) bond_destructor() argument
5988 bond_setup(struct net_device * bond_dev) bond_setup() argument
6055 bond_uninit(struct net_device * bond_dev) bond_uninit() argument
6472 bond_init(struct net_device * bond_dev) bond_init() argument
6515 struct net_device *bond_dev; bond_create() local
[all...]
H A Dbond_procfs.c293 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry()
294 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry()
297 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry()
300 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n",
301 KBUILD_MODNAME, bond_dev->name); in bond_remove_proc_entry()
303 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_remove_proc_entry() local
309 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry()
310 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
287 struct net_device *bond_dev = bond->dev; bond_create_proc_entry() local
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()
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()
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()
620 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
166 bond_slave_changelink(struct net_device * bond_dev,struct net_device * slave_dev,struct nlattr * tb[],struct nlattr * data[],struct netlink_ext_ack * extack) bond_slave_changelink() argument
215 bond_changelink(struct net_device * bond_dev,struct nlattr * tb[],struct nlattr * data[],struct netlink_ext_ack * extack) bond_changelink() argument
605 bond_newlink(struct net_device * bond_dev,struct rtnl_newlink_params * params,struct netlink_ext_ack * extack) bond_newlink() argument
630 bond_get_size(const struct net_device * bond_dev) bond_get_size() argument
690 bond_fill_info(struct sk_buff * skb,const struct net_device * bond_dev) bond_fill_info() argument
[all...]
H 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/
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, struc
[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/mellanox/mlx5/core/lag/
H A Dlag.c2034 struct net_device *bond_dev; in __mlx5_lag_dev_add_mdev()
2038 bond_dev = ndev; in __mlx5_lag_dev_add_mdev()
2040 bond_dev = netdev_master_upper_dev_get(ndev); in __mlx5_lag_dev_add_mdev()
2042 if (!bond_dev) { in __mlx5_lag_dev_add_mdev()
2047 err = __ethtool_get_link_ksettings(bond_dev, &lksettings); in __mlx5_lag_dev_add_mdev()
2049 netdev_dbg(bond_dev, in mlx5_lag_unregister_hca_devcom_comp()
2051 bond_dev->name, err); in mlx5_lag_unregister_hca_devcom_comp()
1816 struct net_device *bond_dev; mlx5_lag_update_tracker_speed() local
/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