Home
last modified time | relevance | path

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

12

/linux/include/net/
H A Dbonding.h159 struct bonding *bond; /* our master */
216 struct bonding { struct
226 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
288 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
294 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
299 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
305 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
311 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
316 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
321 static inline bool bond_mode_can_use_xmit_hash(const struct bonding *bond) in bond_mode_can_use_xmit_hash()
[all …]
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.h159 struct bonding;
298 void bond_3ad_initialize(struct bonding *bond);
302 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
305 int bond_3ad_get_active_agg_info(const struct bonding *bond, struct ad_info *ad_info);
306 int __bond_3ad_get_active_agg_info(const struct bonding *bond,
308 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
310 int bond_3ad_set_carrier(struct bonding *bond);
311 void bond_3ad_update_lacp_rate(struct bonding *bond);
312 void bond_3ad_update_lacp_active(struct bonding *bond);
313 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/linux/drivers/net/bonding/
H A Dbond_options.c21 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);
36 static int bond_option_arp_ip_target_rem(struct bonding *bond, __be32 target);
37 static int bond_option_arp_ip_targets_set(struct bonding *bond,
[all …]
H A Dbond_debugfs.c20 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()
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 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 …]
H A 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()
344 bool bond_xdp_check(struct bonding *bond, int mode) in bond_xdp_check()
376 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
410 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
437 struct bonding *bond; in bond_ipsec_dev()
471 struct bonding *bond; in bond_ipsec_add_sa()
519 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
596 static void bond_ipsec_del_sa_all(struct bonding *bond) in bond_ipsec_del_sa_all()
[all …]
H A 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)
H A Dbond_3ad.c129 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
147 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
261 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
275 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
447 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
873 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
1033 struct bonding *bond = port->slave->bond; in ad_cond_set_peer_notif()
1046 struct bonding *bond = __get_bond_by_port(port); in ad_mux_machine()
1573 struct bonding *bond; in ad_port_selection_logic()
1867 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
[all …]
H A Dbond_netlink.c172 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
220 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
620 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
689 static int bond_option_active_slave_get_ifindex_rcu(const struct bonding *bond) in bond_option_active_slave_get_ifindex_rcu()
703 const struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
940 struct bonding *bond; in bond_fill_linkxstats()
987 .priv_size = sizeof(struct bonding),
/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
/linux/tools/testing/selftests/drivers/net/team/
H A Ddev_addr_lists.sh16 source "$lib_dir"/../bonding/lag_lib.sh
H A DMakefile17 ../bonding/lag_lib.sh \
/linux/Documentation/gpu/rfc/
H A 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/Documentation/networking/
H A Dindex.rst46 bonding
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst71 * bonding
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnetcons_over_bonding.sh36 modprobe bonding 2> /dev/null || true
/linux/tools/testing/selftests/
H A DMakefile25 TARGETS += drivers/net/bonding
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A De100.rst36 /Documentation/networking/bonding.rst
H A 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
/linux/net/batman-adv/
H A Dnetlink.c293 !!READ_ONCE(bat_priv->bonding))) in batadv_netlink_mesh_fill()
467 WRITE_ONCE(bat_priv->bonding, !!nla_get_u8(attr)); in batadv_netlink_set_mesh()
H A Dtypes.h1560 u8 bonding; member
H A Dmesh-interface.c808 WRITE_ONCE(bat_priv->bonding, 0); in batadv_meshif_init_late()
H A Drouting.c619 if (!(recv_if == BATADV_IF_DEFAULT && READ_ONCE(bat_priv->bonding))) in batadv_find_router()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net92 Note: some special devices, e.g: bonding and team drivers will

12