Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/net/
Dbonding.h157 struct bonding *bond; /* our master */
206 struct bonding { struct
215 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
273 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
279 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
284 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
290 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
296 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
301 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
306 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
[all …]
Dbond_alb.h11 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 *bond, unsigned short vlan_id);
Dbond_options.h82 struct bonding;
99 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
102 int __bond_opt_set(struct bonding *bond, unsigned int option,
104 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
106 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
131 void bond_option_arp_ip_targets_clear(struct bonding *bond);
Dbond_3ad.h158 struct bonding;
293 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
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 *bond);
307 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/Linux-v5.10/drivers/net/bonding/
Dbond_options.c19 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 *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,
[all …]
Dbond_sysfs.c29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
41 struct bonding *bond; in bonding_show_bonds()
64 struct bonding *bond; in bond_get_by_name()
145 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option()
168 struct bonding *bond = to_bond(d); in bonding_show_slaves()
201 struct bonding *bond = to_bond(d); in bonding_show_mode()
215 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
230 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
246 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets()
262 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()
50 void bond_debug_register(struct bonding *bond) in bond_debug_register()
62 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
70 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
105 void bond_debug_register(struct bonding *bond) in bond_debug_register()
109 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
113 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_alb.c56 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, in __tlb_clear_slave()
115 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
124 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
148 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
166 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
190 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
226 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
[all …]
Dbond_main.c258 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act,
289 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
331 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
365 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
388 struct bonding *bond; in bond_ipsec_add_sa()
415 struct bonding *bond; in bond_ipsec_del_sa()
446 struct bonding *bond = netdev_priv(bond_dev); in bond_ipsec_offload_ok()
478 int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
572 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
627 static int bond_set_promiscuity(struct bonding *bond, int inc) in bond_set_promiscuity()
[all …]
DMakefile6 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 bo…
11 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()
172 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_slave()
262 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
278 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c123 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
141 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
207 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
221 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
368 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
751 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1379 struct bonding *bond; in ad_port_selection_logic()
1657 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1976 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1988 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
[all …]
Dbond_netlink.c135 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
460 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
509 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
524 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
707 struct bonding *bond; in bond_fill_linkxstats()
754 .priv_size = sizeof(struct bonding),
/Linux-v5.10/Documentation/networking/
Dbonding.rst27 The Linux bonding driver provides a method for aggregating
33 The bonding driver originally came from Donald Becker's
112 Most popular distro kernels ship with the bonding driver
114 have need to compile bonding from source (e.g., configuring and
118 1.1 Configure and build the kernel with bonding
121 The current version of the bonding driver is available in the
122 drivers/net/bonding subdirectory of the most recent kernel source
130 to the driver or configure more than one bonding device.
137 It is recommended to configure bonding via iproute2 (netlink)
143 Options for the bonding driver are supplied as parameters to the
[all …]
Dindex.rst45 bonding
/Linux-v5.10/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-v5.10/drivers/iio/buffer/
DKconfig26 Provides a bonding of the generic IIO DMA buffer infrastructure with the
36 Provides a way to bonding when an IIO device has a direct connection
/Linux-v5.10/drivers/net/
DMakefile9 obj-$(CONFIG_BONDING) += bonding/
DKconfig37 networking core drivers (i.e. VLAN, bridging, bonding, etc.)
50 The driver supports multiple bonding modes to allow for both high
53 Refer to <file:Documentation/networking/bonding.rst> for more
57 will be called bonding.
/Linux-v5.10/arch/arm64/boot/dts/renesas/
Dr8a77990.dtsi1301 renesas,bonding = <&drif01>;
1316 renesas,bonding = <&drif00>;
1331 renesas,bonding = <&drif11>;
1346 renesas,bonding = <&drif10>;
1361 renesas,bonding = <&drif21>;
1376 renesas,bonding = <&drif20>;
1391 renesas,bonding = <&drif31>;
1406 renesas,bonding = <&drif30>;
Dr8a77960.dtsi1702 renesas,bonding = <&drif01>;
1717 renesas,bonding = <&drif00>;
1732 renesas,bonding = <&drif11>;
1747 renesas,bonding = <&drif10>;
1762 renesas,bonding = <&drif21>;
1777 renesas,bonding = <&drif20>;
1792 renesas,bonding = <&drif31>;
1807 renesas,bonding = <&drif30>;
Dr8a77951.dtsi1826 renesas,bonding = <&drif01>;
1841 renesas,bonding = <&drif00>;
1856 renesas,bonding = <&drif11>;
1871 renesas,bonding = <&drif10>;
1886 renesas,bonding = <&drif21>;
1901 renesas,bonding = <&drif20>;
1916 renesas,bonding = <&drif31>;
1931 renesas,bonding = <&drif30>;
/Linux-v5.10/Documentation/ABI/obsolete/
Dsysfs-class-net-mesh20 What: /sys/class/net/<mesh_iface>/mesh/bonding
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/
Diavf.rst229 device, when you add a slave, or change the active-backup slave, Linux bonding
231 active slave. Linux bonding will fail at this point. This issue will not occur
/Linux-v5.10/net/batman-adv/
Dnetlink.c290 !!atomic_read(&bat_priv->bonding))) in batadv_netlink_mesh_fill()
472 atomic_set(&bat_priv->bonding, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()

12