Home
last modified time | relevance | path

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

12

/linux/drivers/net/bonding/
H A Dbond_options.c20 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);
35 static int bond_option_arp_ip_target_rem(struct bonding *bond, __be32 target);
36 static int bond_option_arp_ip_targets_set(struct bonding *bond,
[all …]
H A Dbond_sysfs.c29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
40 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()
200 struct bonding *bond = to_bond(d); in bonding_show_mode()
214 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
229 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
245 struct bonding *bond = to_bond(d); in bonding_show_arp_all_targets()
261 struct bonding *bond = to_bond(d); in bonding_show_fail_over_mac()
[all …]
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_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()
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()
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()
432 struct bonding *bond; in bond_ipsec_dev()
468 struct bonding *bond; in bond_ipsec_add_sa()
516 static void bond_ipsec_add_sa_all(struct bonding *bond) in bond_ipsec_add_sa_all()
564 struct bonding *bond; in bond_ipsec_del_sa()
[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_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()
H A Dbond_3ad.c127 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
145 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
259 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
273 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
435 const struct bonding *bond = bond_get_bond_by_slave(port->slave); in __ad_actor_update_port()
827 struct bonding *bond = aggregator->slave->bond; in __get_active_agg()
992 struct bonding *bond = __get_bond_by_port(port); in ad_mux_machine()
1509 struct bonding *bond; in ad_port_selection_logic()
1788 struct bonding *bond = agg->slave->bond; in ad_agg_selection_logic()
2143 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
[all …]
H A Dbond_netlink.c151 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
189 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
579 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
634 static int bond_option_active_slave_get_ifindex(struct bonding *bond) in bond_option_active_slave_get_ifindex()
649 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()
864 struct bonding *bond; in bond_fill_linkxstats()
911 .priv_size = sizeof(struct bonding),
/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
287 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev() argument
293 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
298 static inline bool bond_should_override_tx_queue(struct bonding *bond) in bond_should_override_tx_queue()
304 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
310 static inline bool bond_needs_speed_duplex(const struct bonding *bond) in bond_needs_speed_duplex()
315 static inline bool bond_is_nondyn_tlb(const struct bonding *bond) in bond_is_nondyn_tlb()
320 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_options.h102 struct bonding;
119 int (*set)(struct bonding *bond, const struct bond_opt_value *val);
122 int __bond_opt_set(struct bonding *bond, unsigned int option,
125 int __bond_opt_set_notify(struct bonding *bond, unsigned int option,
127 int bond_opt_tryset_rtnl(struct bonding *bond, unsigned int option, char *buf);
160 void bond_option_arp_ip_targets_clear(struct bonding *bond);
162 void bond_option_ns_ip6_targets_clear(struct bonding *bond);
164 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave);
165 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave);
H A Dbond_3ad.h158 struct bonding;
296 void bond_3ad_initialize(struct bonding *bond);
300 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
303 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
304 int __bond_3ad_get_active_agg_info(struct bonding *bond,
306 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
308 int bond_3ad_set_carrier(struct bonding *bond);
309 void bond_3ad_update_lacp_rate(struct bonding *bond);
310 void bond_3ad_update_ad_actor_settings(struct bonding *bond);
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A D8192c.c342 u32 val32, bonding, sys_cfg, vendor; in rtl8192cu_identify_chip() local
354 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); in rtl8192cu_identify_chip()
355 bonding &= HPON_FSM_BONDING_MASK; in rtl8192cu_identify_chip()
356 if (bonding == HPON_FSM_BONDING_1T2R) { in rtl8192cu_identify_chip()
H A D8192e.c468 u32 val32, bonding, sys_cfg, vendor; in rtl8192eu_identify_chip() local
479 bonding = rtl8xxxu_read32(priv, REG_HPON_FSM); in rtl8192eu_identify_chip()
480 bonding &= HPON_FSM_BONDING_MASK; in rtl8192eu_identify_chip()
481 if (bonding == HPON_FSM_BONDING_1T2R) { in rtl8192eu_identify_chip()
/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 DMakefile7 ../bonding/lag_lib.sh \
H A Ddev_addr_lists.sh16 source "$lib_dir"/../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.rst49 bonding
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a77990.dtsi1365 renesas,bonding = <&drif01>;
1380 renesas,bonding = <&drif00>;
1395 renesas,bonding = <&drif11>;
1410 renesas,bonding = <&drif10>;
1425 renesas,bonding = <&drif21>;
1440 renesas,bonding = <&drif20>;
1455 renesas,bonding = <&drif31>;
1470 renesas,bonding = <&drif30>;
H A Dr8a77965.dtsi1628 renesas,bonding = <&drif01>;
1643 renesas,bonding = <&drif00>;
1658 renesas,bonding = <&drif11>;
1673 renesas,bonding = <&drif10>;
1688 renesas,bonding = <&drif21>;
1703 renesas,bonding = <&drif20>;
1718 renesas,bonding = <&drif31>;
1733 renesas,bonding = <&drif30>;
H A Dr8a77960.dtsi1765 renesas,bonding = <&drif01>;
1780 renesas,bonding = <&drif00>;
1795 renesas,bonding = <&drif11>;
1810 renesas,bonding = <&drif10>;
1825 renesas,bonding = <&drif21>;
1840 renesas,bonding = <&drif20>;
1855 renesas,bonding = <&drif31>;
1870 renesas,bonding = <&drif30>;
H A Dr8a77951.dtsi1894 renesas,bonding = <&drif01>;
1909 renesas,bonding = <&drif00>;
1924 renesas,bonding = <&drif11>;
1939 renesas,bonding = <&drif10>;
1954 renesas,bonding = <&drif21>;
1969 renesas,bonding = <&drif20>;
1984 renesas,bonding = <&drif31>;
1999 renesas,bonding = <&drif30>;
/linux/tools/testing/selftests/
H A DMakefile23 TARGETS += drivers/net/bonding

12