Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
59 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
64 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
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.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()
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()
227 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel()
[all …]
Dbond_main.c266 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()
371 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
405 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
431 struct bonding *bond; in bond_ipsec_add_sa()
475 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
519 struct bonding *bond; in bond_ipsec_del_sa()
558 static void bond_ipsec_del_sa_all(struct bonding *bond) in bond_ipsec_del_sa_all()
[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.c14 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()
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()
Dbond_3ad.c128 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
146 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
212 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
226 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
388 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
780 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1409 struct bonding *bond; in ad_port_selection_logic()
1688 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
2008 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
2019 void bond_3ad_initialize(struct bonding *bond) in bond_3ad_initialize()
[all …]
Dbond_netlink.c149 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
187 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
567 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
621 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
636 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
847 struct bonding *bond; in bond_fill_linkxstats()
894 .priv_size = sizeof(struct bonding),
/linux-6.6.21/include/net/
Dbonding.h158 struct bonding *bond; /* our master */
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()
318 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.h101 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);
Dbond_3ad.h156 struct bonding;
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);
305 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/linux-6.6.21/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.rst47 bonding
/linux-6.6.21/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>;
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8192c.c332 u32 val32, bonding, sys_cfg, vendor; in rtl8192cu_identify_chip() local
344 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); in rtl8192cu_identify_chip()
345 bonding &= HPON_FSM_BONDING_MASK; in rtl8192cu_identify_chip()
346 if (bonding == HPON_FSM_BONDING_1T2R) { in rtl8192cu_identify_chip()
Drtl8xxxu_8192e.c484 u32 val32, bonding, sys_cfg, vendor; in rtl8192eu_identify_chip() local
495 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); in rtl8192eu_identify_chip()
496 bonding &= HPON_FSM_BONDING_MASK; in rtl8192eu_identify_chip()
497 if (bonding == HPON_FSM_BONDING_1T2R) { in rtl8192eu_identify_chip()
/linux-6.6.21/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-6.6.21/tools/testing/selftests/drivers/net/bonding/
Dbond-break-lacpdu-tx.sh31 modprobe -r bonding >/dev/null 2>&1 || :
Dlag_lib.sh116 modprobe -r bonding
/linux-6.6.21/Documentation/gpu/rfc/
Di915_scheduler.rst91 The existing bonding uAPI is completely broken with GuC submission because
97 bonding uAPI does. Hence the need for a new parallel submission interface. Also
98 the legacy bonding uAPI is quite confusing and not intuitive at all. Furthermore
/linux-6.6.21/drivers/net/
DMakefile9 obj-$(CONFIG_BONDING) += bonding/
/linux-6.6.21/tools/testing/selftests/drivers/net/team/
Dlag_lib.sh116 modprobe -r bonding
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Dr8a77990.dtsi1358 renesas,bonding = <&drif01>;
1373 renesas,bonding = <&drif00>;
1388 renesas,bonding = <&drif11>;
1403 renesas,bonding = <&drif10>;
1418 renesas,bonding = <&drif21>;
1433 renesas,bonding = <&drif20>;
1448 renesas,bonding = <&drif31>;
1463 renesas,bonding = <&drif30>;

12