Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dbonding.h154 struct bonding *bond; /* our master */
196 struct bonding { struct
204 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
257 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
263 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
268 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
274 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
280 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
286 static inline bool bond_mode_uses_xmit_hash(const struct bonding *bond) in bond_mode_uses_xmit_hash()
305 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.h81 struct bonding;
98 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
101 int __bond_opt_set(struct bonding *bond, unsigned int option,
103 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
128 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);
303 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
304 int __bond_3ad_get_active_agg_info(struct bonding *bond,
306 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
308 int bond_3ad_set_carrier(struct bonding *bond);
309 void bond_3ad_update_lacp_rate(struct bonding *bond);
/linux-4.1.27/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()
162 struct bonding *bond = seq->private; in bond_info_show_slave()
268 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
285 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c140 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
158 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
224 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
238 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
700 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1312 struct bonding *bond; in ad_port_selection_logic()
1582 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1891 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1903 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
1934 struct bonding *bond = bond_get_bond_by_slave(slave); in bond_3ad_bind_slave()
[all …]
Dbond_netlink.c118 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
144 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
432 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
447 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
590 .priv_size = sizeof(struct bonding),
/linux-4.1.27/Documentation/networking/
Dbonding.txt21 The Linux bonding driver provides a method for aggregating
27 The bonding driver originally came from Donald Becker's
106 Most popular distro kernels ship with the bonding driver
108 have need to compile bonding from source (e.g., configuring and
112 1.1 Configure and build the kernel with bonding
115 The current version of the bonding driver is available in the
116 drivers/net/bonding subdirectory of the most recent kernel source
124 to the driver or configure more than one bonding device.
131 It is recommended to configure bonding via iproute2 (netlink)
137 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,
Dixgb.txt38 /Documentation/networking/bonding.txt
Dip-sysctl.txt428 if paths are using per packet load balancing (like bonding rr mode)
/linux-4.1.27/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.1.27/Documentation/ABI/testing/
Dsysfs-class-net-mesh18 What: /sys/class/net/<mesh_iface>/mesh/bonding
Dsysfs-class-net61 Note: some special devices, e.g: bonding and team drivers will
/linux-4.1.27/net/batman-adv/
Dtypes.h769 atomic_t bonding; member
Dsysfs.c531 BATADV_ATTR_SIF_BOOL(bonding, S_IRUGO | S_IWUSR, NULL);
Dsoft-interface.c741 atomic_set(&bat_priv->bonding, 0); in batadv_softif_init_late()
Drouting.c451 if (!(recv_if == BATADV_IF_DEFAULT && atomic_read(&bat_priv->bonding))) in batadv_find_router()
/linux-4.1.27/drivers/staging/comedi/
DKconfig46 tristate "Comedi device bonding support"
/linux-4.1.27/
DCREDITS3388 D: Multicast support in bonding driver
DMAINTAINERS2095 W: http://sourceforge.net/projects/bonding/
2097 F: drivers/net/bonding/