Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/net/
Dbonding.h144 struct bonding *bond; /* our master */
189 struct bonding { struct
198 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
253 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
259 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
264 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
270 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
276 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
281 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
286 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
[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_set_notify(struct bonding *bond, unsigned int option,
109 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
134 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);
309 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/Linux-v4.19/drivers/net/bonding/
Dbond_options.c23 static int bond_option_active_slave_set(struct bonding *bond,
25 static int bond_option_miimon_set(struct bonding *bond,
27 static int bond_option_updelay_set(struct bonding *bond,
29 static int bond_option_downdelay_set(struct bonding *bond,
31 static int bond_option_use_carrier_set(struct bonding *bond,
33 static int bond_option_arp_interval_set(struct bonding *bond,
35 static int bond_option_arp_ip_target_add(struct bonding *bond, __be32 target);
36 static int bond_option_arp_ip_target_rem(struct bonding *bond, __be32 target);
37 static int bond_option_arp_ip_targets_set(struct bonding *bond,
39 static int bond_option_arp_validate_set(struct bonding *bond,
[all …]
Dbond_sysfs.c45 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
57 struct bonding *bond; in bonding_show_bonds()
80 struct bonding *bond; in bond_get_by_name()
161 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option()
184 struct bonding *bond = to_bond(d); in bonding_show_slaves()
217 struct bonding *bond = to_bond(d); in bonding_show_mode()
231 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
246 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
262 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets()
278 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac()
[all …]
Dbond_debugfs.c20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show()
62 void bond_debug_register(struct bonding *bond) in bond_debug_register()
79 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
87 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
122 void bond_debug_register(struct bonding *bond) in bond_debug_register()
126 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
130 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_alb.c77 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp);
78 static void rlb_src_unlink(struct bonding *bond, u32 index);
79 static void rlb_src_link(struct bonding *bond, u32 ip_src_hash,
114 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
136 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
145 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
169 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
187 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
211 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
247 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
[all …]
Dbond_main.c211 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act,
244 void bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
283 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
316 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
337 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
431 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
486 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
509 static int bond_set_allmulti(struct bonding *bond, int inc) in bond_set_allmulti()
537 struct bonding *bond = container_of(work, struct bonding, in bond_resend_igmp_join_requests_delayed()
557 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.c13 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_start()
32 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_next()
59 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_master()
170 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_slave()
260 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
276 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c149 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
167 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
233 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
247 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
394 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
775 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1382 struct bonding *bond; in ad_port_selection_logic()
1658 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1965 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1977 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
[all …]
Dbond_netlink.c138 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
165 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
457 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
504 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
519 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
681 .priv_size = sizeof(struct bonding),
/Linux-v4.19/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.rst34 /Documentation/networking/bonding.txt
D00-INDEX33 bonding.txt
Dbatman-adv.rst73 bonding gw_mode multicast_mode
/Linux-v4.19/Documentation/devicetree/bindings/media/
Drenesas,drif.txt22 phandles using a property called "renesas,bonding". For the rest of
37 "renesas,bonding" or "renesas,primary-bond" will have no effect. That
56 - renesas,bonding: phandle to the other channel.
107 renesas,bonding = <&drif01>;
128 renesas,bonding = <&drif00>;
155 renesas,bonding = <&drif01>;
168 renesas,bonding = <&drif00>;
/Linux-v4.19/drivers/iio/buffer/
DKconfig25 Provides a bonding of the generic IIO DMA buffer infrastructure with the
35 Provides a way to bonding when an IIO device has a direct connection
/Linux-v4.19/drivers/net/
DMakefile9 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-v4.19/Documentation/ABI/testing/
Dsysfs-class-net-mesh18 What: /sys/class/net/<mesh_iface>/mesh/bonding
/Linux-v4.19/arch/arm64/boot/dts/renesas/
Dr8a7796.dtsi1547 renesas,bonding = <&drif01>;
1562 renesas,bonding = <&drif00>;
1577 renesas,bonding = <&drif11>;
1592 renesas,bonding = <&drif10>;
1607 renesas,bonding = <&drif21>;
1622 renesas,bonding = <&drif20>;
1637 renesas,bonding = <&drif31>;
1652 renesas,bonding = <&drif30>;
Dr8a7795.dtsi1673 renesas,bonding = <&drif01>;
1688 renesas,bonding = <&drif00>;
1703 renesas,bonding = <&drif11>;
1718 renesas,bonding = <&drif10>;
1733 renesas,bonding = <&drif21>;
1748 renesas,bonding = <&drif20>;
1763 renesas,bonding = <&drif31>;
1778 renesas,bonding = <&drif30>;
/Linux-v4.19/net/batman-adv/
Dtypes.h1517 atomic_t bonding; member

12