/linux-master/drivers/net/bonding/ |
H A D | Makefile | 6 obj-$(CONFIG_BONDING) += bonding.o 8 bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_sysfs_slave.o bond_debugfs.o bond_netlink.o bond_options.o 11 bonding-objs += $(proc-y)
|
H A D | bond_debugfs.c | 7 #include <net/bonding.h> 20 struct bonding *bond = m->private; 50 void bond_debug_register(struct bonding *bond) 59 void bond_debug_unregister(struct bonding *bond) 64 void bond_debug_reregister(struct bonding *bond) 80 bonding_debug_root = debugfs_create_dir("bonding", NULL); 83 pr_warn("Warning: Cannot create bonding directory in debugfs\n"); 95 void bond_debug_register(struct bonding *bond) 99 void bond_debug_unregister(struct bonding *bond) 103 void bond_debug_reregister(struct bonding *bon [all...] |
H A D | bond_options.c | 3 * drivers/net/bond/bond_options.c - bonding options 17 #include <net/bonding.h> 19 static int bond_option_active_slave_set(struct bonding *bond, 21 static int bond_option_miimon_set(struct bonding *bond, 23 static int bond_option_updelay_set(struct bonding *bond, 25 static int bond_option_downdelay_set(struct bonding *bond, 27 static int bond_option_peer_notif_delay_set(struct bonding *bond, 29 static int bond_option_use_carrier_set(struct bonding *bond, 31 static int bond_option_arp_interval_set(struct bonding *bond, 33 static int bond_option_arp_ip_target_add(struct bonding *bon [all...] |
H A D | bond_sysfs.c | 27 #include <net/bonding.h> 29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd)))) 41 struct bonding *bond; 64 struct bonding *bond; 140 /* Generic "store" method for bonding sysfs option setting */ 145 struct bonding *bond = to_bond(d); 168 struct bonding *bond = to_bond(d); 197 /* Show the bonding mode. */ 201 struct bonding *bond = to_bond(d); 210 /* Show the bonding transmi [all...] |
H A D | bond_alb.c | 24 #include <net/bonding.h> 56 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp); 57 static void rlb_src_unlink(struct bonding *bond, u32 index); 58 static void rlb_src_link(struct bonding *bond, u32 ip_src_hash, 93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, 116 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, 125 static int tlb_initialize(struct bonding *bond) 149 static void tlb_deinitialize(struct bonding *bond) 167 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) 191 static struct slave *__tlb_choose_channel(struct bonding *bon [all...] |
H A D | bond_main.c | 8 * bonding.c: an Ethernet Bonding driver 86 #include <net/bonding.h> 203 "the bonding driver sends learning packets to " 266 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act, 297 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, 312 static bool bond_sk_check(struct bonding *bond) 325 static bool bond_xdp_check(struct bonding *bond) 355 * and cannot be extended for a teaming solution like bonding, so there is a 364 * @bond_dev: bonding net device that got called 371 struct bonding *bon [all...] |
H A D | bond_procfs.c | 7 #include <net/bonding.h> 14 struct bonding *bond = pde_data(file_inode(seq->file)); 33 struct bonding *bond = pde_data(file_inode(seq->file)); 60 struct bonding *bond = pde_data(file_inode(seq->file)); 193 struct bonding *bond = pde_data(file_inode(seq->file)); 283 void bond_create_proc_entry(struct bonding *bond) 299 void bond_remove_proc_entry(struct bonding *bond) 311 /* Create the bonding directory under /proc/net, if doesn't exist yet. 324 /* Destroy the bonding directory under /proc/net, if empty.
|
H A D | bond_3ad.c | 15 #include <net/bonding.h> 119 /* ================= api to bonding and kernel code ================== */ 122 * __get_bond_by_port - get the port's bonding struct 125 * Return @port's bonding struct, or %NULL if it can't be found. 127 static inline struct bonding *__get_bond_by_port(struct port *port) 145 struct bonding *bond = __get_bond_by_port(port); 259 struct bonding *bond = __get_bond_by_port(port); 273 struct bonding *bond = __get_bond_by_port(port); 435 const struct bonding *bond = bond_get_bond_by_slave(port->slave); 827 struct bonding *bon [all...] |
H A D | bond_netlink.c | 3 * drivers/net/bond/bond_netlink.c - Netlink interface for bonding 16 #include <net/bonding.h> 150 struct bonding *bond = netdev_priv(bond_dev); 188 struct bonding *bond = netdev_priv(bond_dev); 578 struct bonding *bond = netdev_priv(bond_dev); 633 static int bond_option_active_slave_get_ifindex(struct bonding *bond) 648 struct bonding *bond = netdev_priv(bond_dev); 863 struct bonding *bond; 910 .priv_size = sizeof(struct bonding),
|
H A D | bond_sysfs_slave.c | 11 #include <net/bonding.h>
|
/linux-master/include/net/ |
H A D | lag.h | 7 #include <net/bonding.h>
|
H A D | bond_alb.h | 11 struct bonding; 153 int bond_alb_initialize(struct bonding *bond, int rlb_enabled); 154 void bond_alb_deinitialize(struct bonding *bond); 155 int bond_alb_init_slave(struct bonding *bond, struct slave *slave); 156 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave); 157 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link); 158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave); 161 struct slave *bond_xmit_alb_slave_get(struct bonding *bond, 163 struct slave *bond_xmit_tlb_slave_get(struct bonding *bond, 167 void bond_alb_clear_vlan(struct bonding *bon [all...] |
H A D | bond_options.h | 3 * drivers/net/bond/bond_options.h - bonding options 102 struct bonding; 119 int (*set)(struct bonding *bond, const struct bond_opt_value *val); 122 int __bond_opt_set(struct bonding *bond, unsigned int option, 125 int __bond_opt_set_notify(struct bonding *bond, unsigned int option, 127 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf); 160 void bond_option_arp_ip_targets_clear(struct bonding *bond); 162 void bond_option_ns_ip6_targets_clear(struct bonding *bond);
|
H A D | bonding.h | 159 struct bonding *bond; /* our master */ 213 * Here are the locking policies for the two bonding locks: 216 struct bonding { struct 226 int (*recv_probe)(const struct sk_buff *, struct bonding *, 287 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, 293 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) 298 static inline bool bond_should_override_tx_queue(struct bonding *bond) 304 static inline bool bond_is_lb(const struct bonding *bond) 310 static inline bool bond_needs_speed_duplex(const struct bonding *bond) 315 static inline bool bond_is_nondyn_tlb(const struct bonding *bon [all...] |
H A D | bond_3ad.h | 158 struct bonding; 258 /* ========== AD Exported structures to the main bonding code ========== */ 292 /* ========== AD Exported functions to the main bonding code ========== */ 293 void bond_3ad_initialize(struct bonding *bond); 297 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout); 300 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info); 301 int __bond_3ad_get_active_agg_info(struct bonding *bond, 303 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond, 305 int bond_3ad_set_carrier(struct bonding *bond); 306 void bond_3ad_update_lacp_rate(struct bonding *bon [all...] |
/linux-master/tools/testing/selftests/drivers/net/team/ |
H A D | Makefile | 7 ../bonding/lag_lib.sh \
|
H A D | dev_addr_lists.sh | 16 source "$lib_dir"/../bonding/lag_lib.sh
|
/linux-master/drivers/net/ |
H A D | Makefile | 9 obj-$(CONFIG_BONDING) += bonding/
|
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_8192c.c | 332 u32 val32, bonding, sys_cfg, vendor; local 344 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); 345 bonding &= HPON_FSM_BONDING_MASK; 346 if (bonding == HPON_FSM_BONDING_1T2R) {
|
H A D | rtl8xxxu_8192e.c | 484 u32 val32, bonding, sys_cfg, vendor; local 495 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); 496 bonding &= HPON_FSM_BONDING_MASK; 497 if (bonding == HPON_FSM_BONDING_1T2R) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mirred.c | 7 #include <net/bonding.h>
|
/linux-master/tools/testing/selftests/ |
H A D | Makefile | 20 TARGETS += drivers/net/bonding
|
/linux-master/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 40 #include <net/bonding.h> 125 /* No primary slave or the device isn't a slave in bonding */ 213 * When rdma netdevice is used in bonding, bonding master netdevice 215 * netdevices when bonding is considered. 490 * when not in bonding mode, or add default GIDs 491 * of bond master device, when in bonding mode. 705 * When a lower netdev is linked to its upper bonding 712 /* Now add bonding upper device default GIDs */ 717 /* Now add bonding uppe [all...] |
/linux-master/net/batman-adv/ |
H A D | types.h | 1636 /** @bonding: bool indicating whether traffic bonding is enabled */ 1637 atomic_t bonding; member in struct:batadv_priv
|
H A D | netlink.c | 290 !!atomic_read(&bat_priv->bonding))) 470 atomic_set(&bat_priv->bonding, !!nla_get_u8(attr));
|