Home
last modified time | relevance | path

Searched refs:bonding (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/include/net/
Dbonding.h157 struct bonding *bond; /* our master */
199 struct bonding { struct
207 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
261 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
267 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
272 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
278 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
284 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
290 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
309 static inline bool bond_uses_primary(struct bonding *bond) in bond_uses_primary()
[all …]
Dbond_alb.h27 struct bonding;
169 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
170 void bond_alb_deinitialize(struct bonding *bond);
171 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
172 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
173 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
174 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
179 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
Dbond_options.h85 struct bonding;
102 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
105 int __bond_opt_set(struct bonding *bond, unsigned int option,
107 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
132 void bond_option_arp_ip_targets_clear(struct bonding *bond);
Dbond_3ad.h175 struct bonding;
295 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
299 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
302 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
303 int __bond_3ad_get_active_agg_info(struct bonding *bond,
305 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
307 int bond_3ad_set_carrier(struct bonding *bond);
308 void bond_3ad_update_lacp_rate(struct bonding *bond);
/linux-4.4.14/drivers/net/bonding/
Dbond_options.c21 static int bond_option_active_slave_set(struct bonding *bond,
23 static int bond_option_miimon_set(struct bonding *bond,
25 static int bond_option_updelay_set(struct bonding *bond,
27 static int bond_option_downdelay_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 *bond, __be32 target);
34 static int bond_option_arp_ip_target_rem(struct bonding *bond, __be32 target);
35 static int bond_option_arp_ip_targets_set(struct bonding *bond,
37 static int bond_option_arp_validate_set(struct bonding *bond,
[all …]
Dbond_sysfs.c46 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
58 struct bonding *bond; in bonding_show_bonds()
81 struct bonding *bond; in bond_get_by_name()
162 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option()
180 struct bonding *bond = to_bond(d); in bonding_show_slaves()
213 struct bonding *bond = to_bond(d); in bonding_show_mode()
228 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
243 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
259 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets()
275 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac()
[all …]
Dbond_debugfs.c19 struct bonding *bond = m->private; in bond_debug_rlb_hash_show()
61 void bond_debug_register(struct bonding *bond) in bond_debug_register()
78 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
86 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
121 void bond_debug_register(struct bonding *bond) in bond_debug_register()
125 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
129 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_alb.c85 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp);
86 static void rlb_src_unlink(struct bonding *bond, u32 index);
87 static void rlb_src_link(struct bonding *bond, u32 ip_src_hash,
122 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
144 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
153 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
177 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
195 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
219 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
255 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
[all …]
Dbond_main.c217 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act,
249 void bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
288 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
321 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
342 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
439 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
494 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
517 static int bond_set_allmulti(struct bonding *bond, int inc) in bond_set_allmulti()
545 struct bonding *bond = container_of(work, struct bonding, in bond_resend_igmp_join_requests_delayed()
565 struct bonding *bond = netdev_priv(bond_dev); in bond_hw_addr_flush()
[all …]
DMakefile5 obj-$(CONFIG_BONDING) += bonding.o
7 bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_sysfs_slave.o bond_debugfs.o bo…
10 bonding-objs += $(proc-y)
Dbond_procfs.c12 struct bonding *bond = seq->private; in bond_info_seq_start()
31 struct bonding *bond = seq->private; in bond_info_seq_next()
58 struct bonding *bond = seq->private; in bond_info_show_master()
169 struct bonding *bond = seq->private; in bond_info_show_slave()
281 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
298 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c141 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
159 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
225 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
239 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
699 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1311 struct bonding *bond; in ad_port_selection_logic()
1581 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1888 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1900 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
1937 struct bonding *bond = bond_get_bond_by_slave(slave); in bond_3ad_bind_slave()
[all …]
Dbond_netlink.c136 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
491 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
506 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
667 .priv_size = sizeof(struct bonding),
/linux-4.4.14/Documentation/networking/
Dbonding.txt21 The Linux bonding driver provides a method for aggregating
27 The bonding driver originally came from Donald Becker's
107 Most popular distro kernels ship with the bonding driver
109 have need to compile bonding from source (e.g., configuring and
113 1.1 Configure and build the kernel with bonding
116 The current version of the bonding driver is available in the
117 drivers/net/bonding subdirectory of the most recent kernel source
125 to the driver or configure more than one bonding device.
132 It is recommended to configure bonding via iproute2 (netlink)
138 Options for the bonding driver are supplied as parameters to the
[all …]
De100.txt33 /Documentation/networking/bonding.txt
Dbatman-adv.txt71 #bonding gw_bandwidth isolation_mark vlan0
D00-INDEX39 bonding.txt
Dopenvswitch.txt6 used to implement a plain Ethernet switch, network device bonding,
Dswitchdev.txt147 tools such as the bridge driver, the bonding/team drivers, and netlink-based
Dixgb.txt38 /Documentation/networking/bonding.txt
Dip-sysctl.txt454 if paths are using per packet load balancing (like bonding rr mode)
/linux-4.4.14/drivers/net/
DMakefile8 obj-$(CONFIG_BONDING) += bonding/
DKconfig36 networking core drivers (i.e. VLAN, bridging, bonding, etc.)
49 The driver supports multiple bonding modes to allow for both high
52 Refer to <file:Documentation/networking/bonding.txt> for more
56 will be called bonding.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-net-mesh18 What: /sys/class/net/<mesh_iface>/mesh/bonding
Dsysfs-class-net80 Note: some special devices, e.g: bonding and team drivers will
/linux-4.4.14/net/batman-adv/
Dtypes.h784 atomic_t bonding; member
Dsysfs.c550 BATADV_ATTR_SIF_BOOL(bonding, S_IRUGO | S_IWUSR, NULL);
Dsoft-interface.c775 atomic_set(&bat_priv->bonding, 0); in batadv_softif_init_late()
Drouting.c476 if (!(recv_if == BATADV_IF_DEFAULT && atomic_read(&bat_priv->bonding))) in batadv_find_router()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c1682 u32 val32, bonding; in rtl8xxxu_identify_chip() local
1708 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); in rtl8xxxu_identify_chip()
1709 bonding &= HPON_FSM_BONDING_MASK; in rtl8xxxu_identify_chip()
1710 if (bonding == HPON_FSM_BONDING_1T2R) { in rtl8xxxu_identify_chip()
/linux-4.4.14/Documentation/DocBook/
Dnetworking.xml.db334 API-netdev-bonding-info-change
/linux-4.4.14/drivers/staging/comedi/
DKconfig46 tristate "Comedi device bonding support"
/linux-4.4.14/
DCREDITS3400 D: Multicast support in bonding driver
DMAINTAINERS2254 W: http://sourceforge.net/projects/bonding/
2256 F: drivers/net/bonding/