/kernel/linux/linux-6.6/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, 364 * @bond_dev: bonding net device that got called 368 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument 371 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() 398 * @bond_dev: bonding net device that got called 402 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument 405 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() 429 struct net_device *bond_dev in bond_ipsec_add_sa() local 477 struct net_device *bond_dev = bond->dev; bond_ipsec_add_sa_all() local 517 struct net_device *bond_dev = xs->xso.dev; bond_ipsec_del_sa() local 560 struct net_device *bond_dev = bond->dev; bond_ipsec_del_sa_all() local 598 struct net_device *bond_dev = xs->xso.dev; bond_ipsec_offload_ok() local 864 bond_hw_addr_flush(struct net_device *bond_dev, struct net_device *slave_dev) bond_hw_addr_flush() argument 921 bond_set_dev_addr(struct net_device *bond_dev, struct net_device *slave_dev) bond_set_dev_addr() argument 1327 bond_poll_controller(struct net_device *bond_dev) bond_poll_controller() argument 1355 bond_netpoll_cleanup(struct net_device *bond_dev) bond_netpoll_cleanup() argument 1390 bond_netpoll_cleanup(struct net_device *bond_dev) bond_netpoll_cleanup() argument 1441 struct net_device *bond_dev = bond->dev; bond_compute_features() local 1500 bond_setup_by_slave(struct net_device *bond_dev, struct net_device *slave_dev) bond_setup_by_slave() argument 1796 bond_ether_setup(struct net_device *bond_dev) bond_ether_setup() argument 1805 bond_xdp_set_features(struct net_device *bond_dev) bond_xdp_set_features() argument 1828 bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev, struct netlink_ext_ack *extack) bond_enslave() argument 2359 __bond_release_one(struct net_device *bond_dev, struct net_device *slave_dev, bool all, bool unregister) __bond_release_one() argument 2530 bond_release(struct net_device *bond_dev, struct net_device *slave_dev) bond_release() argument 2538 bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev) bond_release_and_destroy() argument 2555 bond_info_query(struct net_device *bond_dev, struct ifbond *info) bond_info_query() argument 2562 bond_slave_info_query(struct net_device *bond_dev, struct ifslave *info) bond_slave_info_query() argument 2894 struct net_device *bond_dev = slave->bond->dev; bond_handle_vlan() local 2939 struct net_device *bond_dev = slave->bond->dev; bond_arp_send() local 3160 struct net_device *bond_dev = slave->bond->dev; bond_ns_send() local 3843 bond_master_netdev_event(unsigned long event, struct net_device *bond_dev) bond_master_netdev_event() argument 3856 xfrm_dev_state_flush(dev_net(bond_dev), bond_dev, true); bond_master_netdev_event() local 3874 struct net_device *bond_dev; bond_slave_netdev_event() local 4264 bond_open(struct net_device *bond_dev) bond_open() argument 4324 bond_close(struct net_device *bond_dev) bond_close() argument 4421 bond_get_stats(struct net_device *bond_dev, struct rtnl_link_stats64 *stats) bond_get_stats() argument 4454 bond_eth_ioctl(struct net_device *bond_dev, struct ifreq *ifr, int cmd) bond_eth_ioctl() argument 4491 bond_do_ioctl(struct net_device *bond_dev, struct ifreq *ifr, int cmd) bond_do_ioctl() argument 4567 bond_siocdevprivate(struct net_device *bond_dev, struct ifreq *ifr, void __user *data, int cmd) bond_siocdevprivate() argument 4590 bond_change_rx_flags(struct net_device *bond_dev, int change) bond_change_rx_flags() argument 4603 bond_set_rx_mode(struct net_device *bond_dev) bond_set_rx_mode() argument 4681 bond_change_mtu(struct net_device *bond_dev, int new_mtu) bond_change_mtu() argument 4738 bond_set_mac_address(struct net_device *bond_dev, void *addr) bond_set_mac_address() argument 4952 bond_xmit_roundrobin(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_roundrobin() argument 4973 bond_xmit_activebackup(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_activebackup() argument 5191 bond_xmit_broadcast(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_broadcast() argument 5476 bond_xdp_get_xmit_slave(struct net_device *bond_dev, struct xdp_buff *xdp) bond_xdp_get_xmit_slave() argument 5510 bond_xdp_xmit(struct net_device *bond_dev, int n, struct xdp_frame **frames, u32 flags) bond_xdp_xmit() argument 5711 bond_ethtool_get_link_ksettings(struct net_device *bond_dev, struct ethtool_link_ksettings *cmd) bond_ethtool_get_link_ksettings() argument 5747 bond_ethtool_get_drvinfo(struct net_device *bond_dev, struct ethtool_drvinfo *drvinfo) bond_ethtool_get_drvinfo() argument 5755 bond_ethtool_get_ts_info(struct net_device *bond_dev, struct ethtool_ts_info *info) bond_ethtool_get_ts_info() argument 5868 bond_destructor(struct net_device *bond_dev) bond_destructor() argument 5878 bond_setup(struct net_device *bond_dev) bond_setup() argument 5944 bond_uninit(struct net_device *bond_dev) bond_uninit() argument 6356 bond_init(struct net_device *bond_dev) bond_init() argument 6398 struct net_device *bond_dev; bond_create() local [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 35 const struct net_device *bond_dev, in bond_fill_slave_info() 144 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument 149 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 183 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument 187 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 210 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 370 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 555 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument 561 err = bond_changelink(bond_dev, t in bond_newlink() 34 bond_fill_slave_info(struct sk_buff *skb, const struct net_device *bond_dev, const struct net_device *slave_dev) bond_fill_slave_info() argument 576 bond_get_size(const struct net_device *bond_dev) bond_get_size() argument 633 bond_fill_info(struct sk_buff *skb, const struct net_device *bond_dev) bond_fill_info() argument [all...] |
H A D | bond_alb.c | 1410 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument 1412 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit() 1524 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument 1526 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 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()
|
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_main.c | 253 static int bond_init(struct net_device *bond_dev); 254 static void bond_uninit(struct net_device *bond_dev); 255 static void bond_get_stats(struct net_device *bond_dev, 324 * @bond_dev: bonding net device that got called 328 static int bond_vlan_rx_add_vid(struct net_device *bond_dev, in bond_vlan_rx_add_vid() argument 331 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid() 358 * @bond_dev: bonding net device that got called 362 static int bond_vlan_rx_kill_vid(struct net_device *bond_dev, in bond_vlan_rx_kill_vid() argument 365 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid() 387 struct net_device *bond_dev in bond_ipsec_add_sa() local 435 struct net_device *bond_dev = bond->dev; bond_ipsec_add_sa_all() local 475 struct net_device *bond_dev = xs->xso.dev; bond_ipsec_del_sa() local 518 struct net_device *bond_dev = bond->dev; bond_ipsec_del_sa_all() local 555 struct net_device *bond_dev = xs->xso.dev; bond_ipsec_offload_ok() local 823 bond_hw_addr_flush(struct net_device *bond_dev, struct net_device *slave_dev) bond_hw_addr_flush() argument 880 bond_set_dev_addr(struct net_device *bond_dev, struct net_device *slave_dev) bond_set_dev_addr() argument 1260 bond_poll_controller(struct net_device *bond_dev) bond_poll_controller() argument 1288 bond_netpoll_cleanup(struct net_device *bond_dev) bond_netpoll_cleanup() argument 1323 bond_netpoll_cleanup(struct net_device *bond_dev) bond_netpoll_cleanup() argument 1374 struct net_device *bond_dev = bond->dev; bond_compute_features() local 1434 bond_setup_by_slave(struct net_device *bond_dev, struct net_device *slave_dev) bond_setup_by_slave() argument 1704 bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev, struct netlink_ext_ack *extack) bond_enslave() argument 2197 __bond_release_one(struct net_device *bond_dev, struct net_device *slave_dev, bool all, bool unregister) __bond_release_one() argument 2354 bond_release(struct net_device *bond_dev, struct net_device *slave_dev) bond_release() argument 2362 bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev) bond_release_and_destroy() argument 2379 bond_info_query(struct net_device *bond_dev, struct ifbond *info) bond_info_query() argument 2385 bond_slave_info_query(struct net_device *bond_dev, struct ifslave *info) bond_slave_info_query() argument 2717 struct net_device *bond_dev = slave->bond->dev; bond_arp_send() local 3428 bond_master_netdev_event(unsigned long event, struct net_device *bond_dev) bond_master_netdev_event() argument 3441 xfrm_dev_state_flush(dev_net(bond_dev), bond_dev, true); bond_master_netdev_event() local 3459 struct net_device *bond_dev; bond_slave_netdev_event() local 3755 bond_open(struct net_device *bond_dev) bond_open() argument 3809 bond_close(struct net_device *bond_dev) bond_close() argument 3906 bond_get_stats(struct net_device *bond_dev, struct rtnl_link_stats64 *stats) bond_get_stats() argument 3939 bond_do_ioctl(struct net_device *bond_dev, struct ifreq *ifr, int cmd) bond_do_ioctl() argument 4044 bond_change_rx_flags(struct net_device *bond_dev, int change) bond_change_rx_flags() argument 4057 bond_set_rx_mode(struct net_device *bond_dev) bond_set_rx_mode() argument 4135 bond_change_mtu(struct net_device *bond_dev, int new_mtu) bond_change_mtu() argument 4192 bond_set_mac_address(struct net_device *bond_dev, void *addr) bond_set_mac_address() argument 4365 bond_xmit_roundrobin(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_roundrobin() argument 4387 bond_xmit_activebackup(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_activebackup() argument 4600 bond_xmit_broadcast(struct sk_buff *skb, struct net_device *bond_dev) bond_xmit_broadcast() argument 4794 bond_ethtool_get_link_ksettings(struct net_device *bond_dev, struct ethtool_link_ksettings *cmd) bond_ethtool_get_link_ksettings() argument 4829 bond_ethtool_get_drvinfo(struct net_device *bond_dev, struct ethtool_drvinfo *drvinfo) bond_ethtool_get_drvinfo() argument 4875 bond_destructor(struct net_device *bond_dev) bond_destructor() argument 4882 bond_setup(struct net_device *bond_dev) bond_setup() argument 4950 bond_uninit(struct net_device *bond_dev) bond_uninit() argument 5370 bond_init(struct net_device *bond_dev) bond_init() argument 5412 struct net_device *bond_dev; bond_create() local [all...] |
H A D | bond_procfs.c | 264 struct net_device *bond_dev = bond->dev; in bond_create_proc_entry() local 265 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_create_proc_entry() 268 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry() 271 netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n", in bond_create_proc_entry() 272 DRV_NAME, bond_dev->name); in bond_create_proc_entry() 274 memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ); in bond_create_proc_entry() 280 struct net_device *bond_dev = bond->dev; in bond_remove_proc_entry() local 281 struct bond_net *bn = net_generic(dev_net(bond_dev), bond_net_id); in bond_remove_proc_entry()
|
H A D | bond_netlink.c | 18 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument 33 const struct net_device *bond_dev, in bond_fill_slave_info() 130 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument 135 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink() 158 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument 162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink() 184 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink() 300 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink() 448 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument 454 err = bond_changelink(bond_dev, t in bond_newlink() 32 bond_fill_slave_info(struct sk_buff *skb, const struct net_device *bond_dev, const struct net_device *slave_dev) bond_fill_slave_info() argument 469 bond_get_size(const struct net_device *bond_dev) bond_get_size() argument 521 bond_fill_info(struct sk_buff *skb, const struct net_device *bond_dev) bond_fill_info() argument [all...] |
H A D | bond_alb.c | 1376 netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_tlb_xmit() argument 1378 struct bonding *bond = netdev_priv(bond_dev); in bond_tlb_xmit() 1517 netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev) in bond_alb_xmit() argument 1519 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_xmit() 1781 int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr) in bond_alb_set_mac_address() argument 1783 struct bonding *bond = netdev_priv(bond_dev); in bond_alb_set_mac_address() 1796 bond_hw_addr_copy(bond_dev->dev_addr, ss->__data, bond_dev->addr_len); in bond_alb_set_mac_address() 1806 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address() 1812 alb_set_slave_mac_addr(curr_active, bond_dev 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()
|
H A D | bond_options.c | 748 static void bond_set_xfrm_features(struct net_device *bond_dev, u64 mode) in bond_set_xfrm_features() argument 754 bond_dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features() 756 bond_dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features() 758 netdev_update_features(bond_dev); in bond_set_xfrm_features()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | bonding.h | 42 #define slave_info(bond_dev, slave_dev, fmt, ...) \ 43 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 44 #define slave_warn(bond_dev, slave_dev, fmt, ...) \ 45 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 46 #define slave_dbg(bond_dev, slave_dev, fmt, ...) \ 47 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 48 #define slave_err(bond_dev, slave_dev, fmt, ...) \ 49 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 661 void bond_xdp_set_features(struct net_device *bond_dev); 662 int bond_enslave(struct net_device *bond_dev, struc [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);
|
/kernel/linux/linux-5.10/include/net/ |
H A D | bonding.h | 41 #define slave_info(bond_dev, slave_dev, fmt, ...) \ 42 netdev_info(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 43 #define slave_warn(bond_dev, slave_dev, fmt, ...) \ 44 netdev_warn(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 45 #define slave_dbg(bond_dev, slave_dev, fmt, ...) \ 46 netdev_dbg(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 47 #define slave_err(bond_dev, slave_dev, fmt, ...) \ 48 netdev_err(bond_dev, "(slave %s): " fmt, (slave_dev)->name, ##__VA_ARGS__) 638 int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev, 640 int bond_release(struct net_device *bond_dev, struc [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);
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | vrf.c | 1746 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | vrf.c | 1791 static size_t vrf_get_slave_size(const struct net_device *bond_dev, in vrf_get_slave_size() argument
|