Home
last modified time | relevance | path

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

1234567

/openbmc/linux/Documentation/networking/
H A 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 …]
/openbmc/linux/drivers/net/bonding/
H A 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 …]
H A 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 …]
H A 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()
H A 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 …]
H A 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 …]
H A 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)
H A 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.
H A Dbonding_priv.h17 #define DRV_NAME "bonding"
18 #define DRV_DESCRIPTION "Ethernet Channel Bonding Driver"
H A Dbond_3ad.c15 #include <net/bonding.h>
120 /* ================= api to bonding and kernel code ================== */
123 * __get_bond_by_port - get the port's bonding struct
126 * Return @port's bonding struct, or %NULL if it can't be found.
128 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()
[all …]
H A Dbond_netlink.c3 * drivers/net/bond/bond_netlink.c - Netlink interface for bonding
16 #include <net/bonding.h>
149 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),
/openbmc/linux/include/net/
H A 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 …]
H A 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);
H A 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);
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A 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>;
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Ddev_addr_lists.sh47 test_LAG_cleanup "bonding" "active-backup"
53 test_LAG_cleanup "bonding" "802.3ad"
84 log_test "bonding LACPDU multicast address to slave (from bond $init_state)"
H A Dlag_lib.sh6 # Test that a link aggregation device (bonding, team) removes the hardware
19 if [ "$driver" = "bonding" ]; then
110 # cleanup all lag related namespaces and remove the bonding module
116 modprobe -r bonding
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/Experimental/
H A DBond.interface.yaml2 This defines network bonding parameters.
19 Network interface bonding modes.
31 Possible bonding mode types.
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dlag_lib.sh6 # Test that a link aggregation device (bonding, team) removes the hardware
19 if [ "$driver" = "bonding" ]; then
110 # cleanup all lag related namespaces and remove the bonding module
116 modprobe -r bonding
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-core/systemd/
H A Dsystemd-conf_%.bbappend10 SRC_URI:append:s6q = "${@bb.utils.contains('MACHINE_FEATURES', 'bonding',\
22 FILES:${PN}:append:s6q = "${@bb.utils.contains('MACHINE_FEATURES', 'bonding',\
32 if ${@bb.utils.contains('MACHINE_FEATURES', 'bonding', 'true', 'false', d)};
/openbmc/linux/drivers/infiniband/core/
H A Droce_gid_mgmt.c40 #include <net/bonding.h>
125 /* No primary slave or the device isn't a slave in bonding */
213 * When rdma netdevice is used in bonding, bonding master netdevice in is_ndev_for_default_gid_filter()
215 * netdevices when bonding is considered. in is_ndev_for_default_gid_filter()
490 * when not in bonding mode, or add default GIDs in enum_all_gids_of_dev_cb()
491 * of bond master device, when in bonding mode. in enum_all_gids_of_dev_cb()
704 * When a lower netdev is linked to its upper bonding in ndev_event_link()
711 /* Now add bonding upper device default GIDs */ in ndev_event_link()
716 /* Now add bonding upper device IP based GIDs */ in ndev_event_link()
/openbmc/linux/drivers/iio/buffer/
H A 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
/openbmc/linux/Documentation/gpu/rfc/
H A Di915_scheduler.rst22 * Bonding uAPI completely incompatible with GuC submission, plus it has
91 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
/openbmc/linux/drivers/net/
H A DKconfig37 networking core drivers (i.e. VLAN, bridging, bonding, etc.)
41 config BONDING config
42 tristate "Bonding driver support"
49 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux.
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.

1234567