Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/net/
Dbonding.h155 struct bonding *bond; /* our master */
209 struct bonding { struct
218 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
274 bool bond_sk_check(struct bonding *bond); argument
281 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
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_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_active(struct bonding *bond);
307 void bond_3ad_update_lacp_rate(struct bonding *bond);
308 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
Dbond_options.h83 struct bonding;
100 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
103 int __bond_opt_set(struct bonding *bond, unsigned int option,
105 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
107 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
132 void bond_option_arp_ip_targets_clear(struct bonding *bond);
/Linux-v5.15/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()
104 void bond_debug_register(struct bonding *bond) in bond_debug_register()
108 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
112 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_alb.c55 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp);
56 static void rlb_src_unlink(struct bonding *bond, u32 index);
57 static void rlb_src_link(struct bonding *bond, u32 ip_src_hash,
92 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.c261 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act,
292 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
307 bool bond_sk_check(struct bonding *bond) in bond_sk_check()
320 static bool bond_xdp_check(struct bonding *bond) in bond_xdp_check()
366 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
400 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
424 struct bonding *bond; in bond_ipsec_add_sa()
468 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
512 struct bonding *bond; in bond_ipsec_del_sa()
551 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()
176 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_slave()
266 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
282 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c125 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
143 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
209 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
223 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
380 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
769 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1398 struct bonding *bond; in ad_port_selection_logic()
1676 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
1995 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
2007 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
[all …]
Dbond_netlink.c136 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
163 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
471 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
521 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
536 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
723 struct bonding *bond; in bond_fill_linkxstats()
770 .priv_size = sizeof(struct bonding),
/Linux-v5.15/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.15/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.15/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-v5.15/drivers/net/
DMakefile9 obj-$(CONFIG_BONDING) += bonding/
DKconfig37 networking core drivers (i.e. VLAN, bridging, bonding, etc.)
51 The driver supports multiple bonding modes to allow for both high
54 Refer to <file:Documentation/networking/bonding.rst> for more
58 will be called bonding.
/Linux-v5.15/arch/arm64/boot/dts/renesas/
Dr8a77990.dtsi1370 renesas,bonding = <&drif01>;
1385 renesas,bonding = <&drif00>;
1400 renesas,bonding = <&drif11>;
1415 renesas,bonding = <&drif10>;
1430 renesas,bonding = <&drif21>;
1445 renesas,bonding = <&drif20>;
1460 renesas,bonding = <&drif31>;
1475 renesas,bonding = <&drif30>;
Dr8a77965.dtsi1634 renesas,bonding = <&drif01>;
1649 renesas,bonding = <&drif00>;
1664 renesas,bonding = <&drif11>;
1679 renesas,bonding = <&drif10>;
1694 renesas,bonding = <&drif21>;
1709 renesas,bonding = <&drif20>;
1724 renesas,bonding = <&drif31>;
1739 renesas,bonding = <&drif30>;
Dr8a77960.dtsi1771 renesas,bonding = <&drif01>;
1786 renesas,bonding = <&drif00>;
1801 renesas,bonding = <&drif11>;
1816 renesas,bonding = <&drif10>;
1831 renesas,bonding = <&drif21>;
1846 renesas,bonding = <&drif20>;
1861 renesas,bonding = <&drif31>;
1876 renesas,bonding = <&drif30>;
Dr8a77951.dtsi1899 renesas,bonding = <&drif01>;
1914 renesas,bonding = <&drif00>;
1929 renesas,bonding = <&drif11>;
1944 renesas,bonding = <&drif10>;
1959 renesas,bonding = <&drif21>;
1974 renesas,bonding = <&drif20>;
1989 renesas,bonding = <&drif31>;
2004 renesas,bonding = <&drif30>;
/Linux-v5.15/net/batman-adv/
Dnetlink.c291 !!atomic_read(&bat_priv->bonding))) in batadv_netlink_mesh_fill()
471 atomic_set(&bat_priv->bonding, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
/Linux-v5.15/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

12