Home
last modified time | relevance | path

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

/drivers/net/bonding/
Dbonding.h178 struct bonding *bond; /* our master */
214 struct bonding { struct
222 int (*recv_probe)(const struct sk_buff *, struct bonding *, argument
254 static inline bool bond_vlan_used(struct bonding *bond) in bond_vlan_used() argument
270 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, in bond_get_slave_by_dev()
285 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
292 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
332 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
338 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
399 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
[all …]
Dbond_alb.c87 static void rlb_purge_src_ip(struct bonding *bond, struct arp_pkt *arp);
88 static void rlb_src_unlink(struct bonding *bond, u32 index);
89 static void rlb_src_link(struct bonding *bond, u32 ip_src_hash,
106 static inline void _lock_tx_hashtbl_bh(struct bonding *bond) in _lock_tx_hashtbl_bh()
111 static inline void _unlock_tx_hashtbl_bh(struct bonding *bond) in _unlock_tx_hashtbl_bh()
116 static inline void _lock_tx_hashtbl(struct bonding *bond) in _lock_tx_hashtbl()
121 static inline void _unlock_tx_hashtbl(struct bonding *bond) in _unlock_tx_hashtbl()
147 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
170 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
179 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
[all …]
Dbond_sysfs.c47 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
60 struct bonding *bond; in bonding_show_bonds()
83 struct bonding *bond; in bond_get_by_name()
214 struct bonding *bond = to_bond(d); in bonding_show_slaves()
247 struct bonding *bond = to_bond(d); in bonding_store_slaves()
305 struct bonding *bond = to_bond(d); in bonding_show_mode()
317 struct bonding *bond = to_bond(d); in bonding_store_mode()
372 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
384 struct bonding *bond = to_bond(d); in bonding_store_xmit_hash()
420 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
[all …]
Dbond_alb.h28 struct bonding;
176 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
177 void bond_alb_deinitialize(struct bonding *bond);
178 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
179 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
180 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
181 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
185 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
Dbond_debugfs.c21 struct bonding *bond = m->private; in bond_debug_rlb_hash_show()
63 void bond_debug_register(struct bonding *bond) in bond_debug_register()
81 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
89 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
127 void bond_debug_register(struct bonding *bond) in bond_debug_register()
131 void bond_debug_unregister(struct bonding *bond) in bond_debug_unregister()
135 void bond_debug_reregister(struct bonding *bond) in bond_debug_reregister()
Dbond_3ad.h168 struct bonding;
267 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
271 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
275 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
276 int __bond_3ad_get_active_agg_info(struct bonding *bond,
279 int bond_3ad_lacpdu_recv(const struct sk_buff *skb, struct bonding *bond,
281 int bond_3ad_set_carrier(struct bonding *bond);
282 void bond_3ad_update_lacp_rate(struct bonding *bond);
Dbond_main.c282 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id) in bond_add_vlan()
314 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id) in bond_del_vlan()
360 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr) in bond_next_vlan()
392 int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, in bond_dev_queue_xmit()
434 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
470 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
487 static void bond_add_vlans_on_slave(struct bonding *bond, struct net_device *slave_dev) in bond_add_vlans_on_slave()
502 static void bond_del_vlans_from_slave(struct bonding *bond, in bond_del_vlans_from_slave()
523 static int bond_set_carrier(struct bonding *bond) in bond_set_carrier()
606 static int bond_check_dev_link(struct bonding *bond, in bond_check_dev_link()
[all …]
DMakefile5 obj-$(CONFIG_BONDING) += bonding.o
7 bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o
10 bonding-objs += $(proc-y)
Dbond_procfs.c12 struct bonding *bond = seq->private; in bond_info_seq_start()
34 struct bonding *bond = seq->private; in bond_info_seq_next()
50 struct bonding *bond = seq->private; in bond_info_seq_stop()
58 struct bonding *bond = seq->private; in bond_info_show_master()
168 struct bonding *bond = seq->private; in bond_info_show_slave()
241 void bond_create_proc_entry(struct bonding *bond) in bond_create_proc_entry()
258 void bond_remove_proc_entry(struct bonding *bond) in bond_remove_proc_entry()
Dbond_3ad.c130 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
144 static inline struct port *__get_first_port(struct bonding *bond) in __get_first_port()
161 struct bonding *bond = __get_bond_by_port(port); in __get_next_port()
180 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
199 struct bonding *bond = bond_get_bond_by_slave(slave); in __get_next_agg()
260 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()
1611 struct bonding *bond; in ad_agg_selection_logic()
1852 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1866 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution) in bond_3ad_initialize()
[all …]
/drivers/net/
DMakefile8 obj-$(CONFIG_BONDING) += bonding/
DKconfig33 networking core drivers (i.e. VLAN, bridging, bonding, etc.)
46 The driver supports multiple bonding modes to allow for both high
49 Refer to <file:Documentation/networking/bonding.txt> for more
53 will be called bonding.
/drivers/staging/comedi/
DKconfig51 tristate "Device bonding support"