| /linux/include/net/ |
| H A D | bonding.h | 161 struct bonding *bond; /* our master */ 215 * Here are the locking policies for the two bonding locks: 218 struct bonding { struct 228 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument 290 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument 296 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave() 301 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue() 307 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb() 313 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex() 318 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb() [all …]
|
| H A D | bond_alb.h | 11 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 D | lag.h | 7 #include <net/bonding.h>
|
| /linux/drivers/net/bonding/ |
| H A D | bond_options.c | 3 * drivers/net/bond/bond_options.c - bonding options 18 #include <net/bonding.h> 21 static int bond_option_active_slave_set(struct bonding *bond, 23 static int bond_option_miimon_set(struct bonding *bond, 25 static int bond_option_updelay_set(struct bonding *bond, 27 static int bond_option_downdelay_set(struct bonding *bond, 29 static int bond_option_peer_notif_delay_set(struct bonding *bond, 31 static int bond_option_use_carrier_set(struct bonding *bond, 33 static int bond_option_arp_interval_set(struct bonding *bond, 35 static int bond_option_arp_ip_target_add(struct bonding *bond, __be32 target); [all …]
|
| H A D | bond_debugfs.c | 7 #include <net/bonding.h> 20 struct bonding *bond = m->private; in bond_debug_rlb_hash_show() 56 void bond_debug_register(struct bonding *bond) in bond_debug_register() 65 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister() 70 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister() 81 bonding_debug_root = debugfs_create_dir("bonding", NULL); in bond_create_debugfs() 84 pr_warn("Warning: Cannot create bonding directory in debugfs\n"); in bond_create_debugfs() 96 void bond_debug_register(struct bonding *bond) in bond_debug_register() 100 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister() 104 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
|
| H A D | bond_main.c | 8 * bonding.c: an Ethernet Bonding driver 14 * Linux Bonding 86 #include <net/bonding.h> 203 "the bonding driver sends learning packets to " 268 static bool bond_time_in_interval(struct bonding *bond, unsigned long last_act, 299 netdev_tx_t bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit() 314 static bool bond_sk_check(struct bonding *bond) in bond_sk_check() 346 bool bond_xdp_check(struct bonding *bond, int mode) in bond_xdp_check() 362 * and cannot be extended for a teaming solution like bonding, so there is a 371 * @bond_dev: bonding net device that got called [all …]
|
| H A D | Makefile | 3 # 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 D | bond_procfs.c | 7 #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 D | bonding_priv.h | 17 #define DRV_NAME "bonding" 18 #define DRV_DESCRIPTION "Ethernet Channel Bonding Driver"
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 8 # get interfaces with bonding and netconsole in different orders in order 20 # Later, run a few other tests, to make sure that bonding and netconsole 24 # by multiple subsystems (netconsole and bonding). 36 modprobe bonding 2> /dev/null || true 57 # the bonding interfaces 105 # Create 4 netdevsim interfaces. Two of them will be bound to TX bonding iface 183 echo "test failed: Bonding and netpoll cannot co-exists." >&2 234 # recreate the bonding iface. it got deleted by previous 239 # sub-interface need to be down before attaching to bonding 256 # Get netconsole enabled on a bonding interface and attach a second [all …]
|
| H A D | dev_addr_lists.sh | 47 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 D | lag_lib.sh | 6 # Test that a link aggregation device (bonding, team) removes the hardware 19 if [ "$driver" = "bonding" ]; then
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | renesas,drif.yaml | 32 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/drivers/infiniband/core/ |
| H A D | roce_gid_mgmt.c | 40 #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() 725 * When a lower netdev is linked to its upper bonding in ndev_event_link() 732 /* Now add bonding upper device default GIDs */ in ndev_event_link() 737 /* Now add bonding upper device IP based GIDs */ in ndev_event_link()
|
| /linux/Documentation/gpu/rfc/ |
| H A D | i915_scheduler.rst | 22 * 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
|
| /linux/drivers/net/ |
| H A D | Kconfig | 37 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.
|
| /linux/drivers/iio/buffer/ |
| H A D | Kconfig | 26 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/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_bond.h | 10 #include <net/bonding.h> 18 pr_err("HNS RoCE Bonding: " fmt, ##__VA_ARGS__)
|
| /linux/drivers/thunderbolt/ |
| H A D | switch.c | 1031 * enable/disable lane bonding. For that call tb_port_set_lane_bonding(). 1078 * tb_port_set_lane_bonding() - Enable/disable lane bonding 1080 * @bonding: enable/disable bonding 1082 * Enables or disables lane bonding. This should be called after target 1085 * lane bonding. 1089 static int tb_port_set_lane_bonding(struct tb_port *port, bool bonding) in tb_port_set_lane_bonding() argument 1102 if (bonding) in tb_port_set_lane_bonding() 1112 * tb_port_lane_bonding_enable() - Enable bonding on port 1115 * Enable bonding by setting the link width of the port and the other 1129 * Enable lane bonding for both links if not already enabled by in tb_port_lane_bonding_enable() [all …]
|
| H A D | xdomain.c | 1351 * is the other side that initiates lane bonding. So here we in tb_xdomain_bond_lanes_uuid_high() 1382 dev_dbg(&xd->dev, "lane bonding %s\n", str_enabled_disabled(width == 2)); in tb_xdomain_bond_lanes_uuid_high() 1456 * Now disable lane 1 if bonding was not enabled. Do in tb_xdomain_get_properties() 1457 * this only if bonding was possible at the beginning in tb_xdomain_get_properties() 1531 dev_dbg(&xd->dev, "we have lower UUID, bonding lanes\n"); in tb_xdomain_queue_bonding() 1613 * If any of the lane bonding states fail we skip in tb_xdomain_state_work() 1614 * bonding completely and try to continue from in tb_xdomain_state_work() 2093 * tb_xdomain_lane_bonding_enable() - Enable lane bonding on XDomain 2096 * Lane bonding is disabled by default for XDomains. This function tries 2097 * to enable bonding by first enabling the port and waiting for the CL0 [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | e100.rst | 32 - Channel Bonding (teaming) 35 Channel Bonding documentation can be found in the Linux kernel source: 36 /Documentation/networking/bonding.rst
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_lag.c | 22 * bonding interface. Initially we mark all these ports as unvisited, in lan966x_lag_set_aggr_pgids() 26 * bitmask that are offloading the same bonding interface. This way, in lan966x_lag_set_aggr_pgids() 27 * we set up the aggregation PGIDs only once per bonding interface. in lan966x_lag_set_aggr_pgids()
|
| /linux/include/uapi/linux/ |
| H A D | if_bonding.h | 26 * - Moved driver's private data types to bonding.h 35 * new/old ifenslave and new/old bonding.
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| H A D | bond.c | 269 * to support eswitch vports bonding and to perform failover of eswitch vport 304 /* If HW support eswitch vports bonding, register a specific notifier to 330 netdev_err(netdev, "register bonding netevent notifier, err(%d)\n", ret); in mlx5e_rep_bond_init()
|
| /linux/tools/testing/selftests/drivers/net/lib/sh/ |
| H A D | lib_netcons.sh | 34 # or NSIM_BOND_{T,R}X_{1,2} for the bonding tests. Not both at the 425 # Clean up netdevsim ifaces created for bonding test 438 # cleanup tests that use bonding interfaces
|