Home
last modified time | relevance | path

Searched full:bonding (Results 1 – 25 of 237) sorted by relevance

12345678910

/kernel/linux/linux-5.10/Documentation/networking/
Dbonding.rst4 Linux Ethernet Bonding Driver HOWTO
27 The Linux bonding driver provides a method for aggregating
33 The bonding driver originally came from Donald Becker's
43 1. Bonding Driver Installation
45 2. Bonding Driver Options
47 3. Configuring Bonding Devices
54 3.3 Configuring Bonding Manually with Ifenslave
56 3.4 Configuring Bonding Manually via Sysfs
61 4. Querying Bonding Configuration
62 4.1 Bonding Configuration
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dbonding.rst4 Linux Ethernet Bonding Driver HOWTO
27 The Linux bonding driver provides a method for aggregating
33 The bonding driver originally came from Donald Becker's
43 1. Bonding Driver Installation
45 2. Bonding Driver Options
47 3. Configuring Bonding Devices
54 3.3 Configuring Bonding Manually with Ifenslave
56 3.4 Configuring Bonding Manually via Sysfs
61 4. Querying Bonding Configuration
62 4.1 Bonding Configuration
[all …]
/kernel/linux/linux-6.6/drivers/net/bonding/
Dbond_sysfs.c27 #include <net/bonding.h>
29 #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()
140 /* Generic "store" method for bonding sysfs option setting */
145 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option()
168 struct bonding *bond = to_bond(d); in bonding_show_slaves()
197 /* Show the bonding mode. */
201 struct bonding *bond = to_bond(d); in bonding_show_mode()
210 /* Show the bonding transmit hash method. */
[all …]
Dbond_options.c3 * drivers/net/bond/bond_options.c - bonding options
17 #include <net/bonding.h>
20 static int bond_option_active_slave_set(struct bonding *bond,
22 static int bond_option_miimon_set(struct bonding *bond,
24 static int bond_option_updelay_set(struct bonding *bond,
26 static int bond_option_downdelay_set(struct bonding *bond,
28 static int bond_option_peer_notif_delay_set(struct bonding *bond,
30 static int bond_option_use_carrier_set(struct bonding *bond,
32 static int bond_option_arp_interval_set(struct bonding *bond,
34 static int bond_option_arp_ip_target_add(struct bonding *bond, __be32 target);
[all …]
Dbond_debugfs.c7 #include <net/bonding.h>
20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show()
50 void bond_debug_register(struct bonding *bond) in bond_debug_register()
59 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
64 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
80 bonding_debug_root = debugfs_create_dir("bonding", NULL); in bond_create_debugfs()
83 pr_warn("Warning: Cannot create bonding directory in debugfs\n"); in bond_create_debugfs()
95 void bond_debug_register(struct bonding *bond) in bond_debug_register()
99 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
103 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_alb.c24 #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, in __tlb_clear_slave()
116 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
125 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
149 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
167 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
191 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel()
[all …]
Dbond_main.c8 * bonding.c: an Ethernet Bonding driver
14 * Linux Bonding
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, in bond_dev_queue_xmit()
312 static bool bond_sk_check(struct bonding *bond) in bond_sk_check()
325 static bool bond_xdp_check(struct bonding *bond) in bond_xdp_check()
355 * and cannot be extended for a teaming solution like bonding, so there is a
364 * @bond_dev: bonding net device that got called
[all …]
DMakefile3 # Makefile for the Ethernet Bonding driver
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 bo…
11 bonding-objs += $(proc-y)
Dbond_procfs.c7 #include <net/bonding.h>
14 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_start()
33 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_next()
60 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_master()
67 seq_printf(seq, "Bonding Mode: %s", in bond_info_show_master()
193 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_slave()
283 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
299 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
311 /* Create the bonding directory under /proc/net, if doesn't exist yet.
324 /* Destroy the bonding directory under /proc/net, if empty.
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_sysfs.c27 #include <net/bonding.h>
29 #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()
140 /* Generic "store" method for bonding sysfs option setting */
145 struct bonding *bond = to_bond(d); in bonding_sysfs_store_option()
168 struct bonding *bond = to_bond(d); in bonding_show_slaves()
197 /* Show the bonding mode. */
201 struct bonding *bond = to_bond(d); in bonding_show_mode()
210 /* Show the bonding transmit hash method. */
[all …]
Dbond_options.c3 * 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 *bond, __be32 target);
[all …]
Dbond_debugfs.c7 #include <net/bonding.h>
20 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()
89 bonding_debug_root = debugfs_create_dir("bonding", NULL); in bond_create_debugfs()
92 pr_warn("Warning: Cannot create bonding directory in debugfs\n"); in bond_create_debugfs()
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.c24 #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, 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()
[all …]
DMakefile3 # Makefile for the Ethernet Bonding driver
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 bo…
11 bonding-objs += $(proc-y)
Dbond_main.c7 * bonding.c: an Ethernet Bonding driver
13 * Linux Bonding
83 #include <net/bonding.h>
195 "the bonding driver sends learning packets to "
258 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()
315 * and cannot be extended for a teaming solution like bonding, so there is a
324 * @bond_dev: bonding net device that got called
331 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
358 * @bond_dev: bonding net device that got called
[all …]
Dbond_procfs.c6 #include <net/bonding.h>
13 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()
66 seq_printf(seq, "Bonding Mode: %s", 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()
290 /* Create the bonding directory under /proc/net, if doesn't exist yet.
303 /* Destroy the bonding directory under /proc/net, if empty.
/kernel/linux/linux-5.10/include/net/
Dbonding.h157 struct bonding *bond; /* our master */
208 * Here are the locking policies for the two bonding locks:
211 struct bonding { struct
221 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
281 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
287 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
292 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
298 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
304 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
309 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
[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.h3 * drivers/net/bond/bond_options.h - bonding options
82 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.h156 struct bonding;
256 /* ========== AD Exported structures to the main bonding code ========== */
290 /* ========== AD Exported functions to the main bonding code ========== */
291 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
295 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
298 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
299 int __bond_3ad_get_active_agg_info(struct bonding *bond,
301 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
303 int bond_3ad_set_carrier(struct bonding *bond);
304 void bond_3ad_update_lacp_rate(struct bonding *bond);
[all …]
/kernel/linux/linux-6.6/include/net/
Dbonding.h158 struct bonding *bond; /* our master */
211 * Here are the locking policies for the two bonding locks:
214 struct bonding { struct
224 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
285 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
291 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
296 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
302 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
308 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
313 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
[all …]
Dbond_options.h3 * drivers/net/bond/bond_options.h - bonding options
101 struct bonding;
118 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
121 int __bond_opt_set(struct bonding *bond, unsigned int option,
124 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
126 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
159 void bond_option_arp_ip_targets_clear(struct bonding *bond);
161 void bond_option_ns_ip6_targets_clear(struct bonding *bond);
163 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave);
164 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave);
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_3ad.h156 struct bonding;
256 /* ========== AD Exported structures to the main bonding code ========== */
290 /* ========== AD Exported functions to the main bonding code ========== */
291 void bond_3ad_initialize(struct bonding *bond);
295 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
298 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
299 int __bond_3ad_get_active_agg_info(struct bonding *bond,
301 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
303 int bond_3ad_set_carrier(struct bonding *bond);
304 void bond_3ad_update_lacp_rate(struct bonding *bond);
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Drenesas,drif.yaml32 phandles using a property called "renesas,bonding". For the rest of
47 "renesas,bonding" or "renesas,primary-bond" will have no effect. That
85 renesas,bonding:
128 - renesas,bonding
186 renesas,bonding = <&drif01>;
208 renesas,bonding = <&drif00>;
244 renesas,bonding = <&drif11>;
258 renesas,bonding = <&drif10>;

12345678910