Home
last modified time | relevance | path

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

/drivers/net/bonding/
Dbonding.h187 struct bonding { struct
232 static inline struct slave *bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_de… in bond_get_slave_by_dev() argument
246 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
252 return (struct bonding *)netdev_priv(slave->dev->master); in bond_get_bond_by_slave()
255 static inline bool bond_is_lb(const struct bonding *bond) in bond_is_lb()
271 static inline int slave_do_arp_validate(struct bonding *bond, in slave_do_arp_validate()
277 static inline unsigned long slave_last_rx(struct bonding *bond, in slave_last_rx()
288 struct bonding *bond = netdev_priv(slave->dev->master); in bond_set_slave_inactive_flags()
303 static inline void bond_set_master_3ad_flags(struct bonding *bond) in bond_set_master_3ad_flags()
308 static inline void bond_unset_master_3ad_flags(struct bonding *bond) in bond_unset_master_3ad_flags()
[all …]
Dbond_alb.h28 struct bonding;
121 int bond_alb_initialize(struct bonding *bond, int rlb_enabled);
122 void bond_alb_deinitialize(struct bonding *bond);
123 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
124 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
125 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
126 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
130 void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id);
Dbond_sysfs.c42 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
71 struct bonding *bond; in bonding_show_bonds()
104 struct bonding *bond; in bonding_store_bonds()
209 struct bonding *bond = to_bond(d); in bonding_show_slaves()
243 struct bonding *bond = to_bond(d); in bonding_store_slaves()
373 struct bonding *bond = to_bond(d); in bonding_show_mode()
385 struct bonding *bond = to_bond(d); in bonding_store_mode()
428 struct bonding *bond = to_bond(d); in bonding_show_xmit_hash()
440 struct bonding *bond = to_bond(d); in bonding_store_xmit_hash()
476 struct bonding *bond = to_bond(d); in bonding_show_arp_validate()
[all …]
Dbond_alb.c129 static inline void _lock_tx_hashtbl(struct bonding *bond) in _lock_tx_hashtbl()
134 static inline void _unlock_tx_hashtbl(struct bonding *bond) in _unlock_tx_hashtbl()
160 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) in tlb_clear_slave()
186 static int tlb_initialize(struct bonding *bond) in tlb_initialize()
216 static void tlb_deinitialize(struct bonding *bond) in tlb_deinitialize()
229 static struct slave *tlb_get_least_loaded_slave(struct bonding *bond) in tlb_get_least_loaded_slave()
267 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len) in tlb_choose_channel()
309 static inline void _lock_rx_hashtbl(struct bonding *bond) in _lock_rx_hashtbl()
314 static inline void _unlock_rx_hashtbl(struct bonding *bond) in _unlock_rx_hashtbl()
322 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) in rlb_update_entry_from_arp()
[all …]
Dbond_main.c212 static void bond_send_gratuitous_arp(struct bonding *bond);
244 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id) in bond_add_vlan()
277 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id) in bond_del_vlan()
330 static int bond_has_challenged_slaves(struct bonding *bond) in bond_has_challenged_slaves()
357 struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr) in bond_next_vlan()
397 int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) in bond_dev_queue_xmit()
448 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_register()
472 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_add_vid()
501 struct bonding *bond = netdev_priv(bond_dev); in bond_vlan_rx_kill_vid()
529 static void bond_add_vlans_on_slave(struct bonding *bond, struct net_device *slave_dev) in bond_add_vlans_on_slave()
[all …]
DMakefile5 obj-$(CONFIG_BONDING) += bonding.o
7 bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o
10 bonding-objs += $(ipv6-y)
Dbond_3ad.h168 struct bonding;
272 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast);
276 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout);
280 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
283 int bond_3ad_set_carrier(struct bonding *bond);
Dbond_3ad.c128 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
143 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()
181 struct bonding *bond = __get_bond_by_port(port); in __get_first_agg()
201 struct bonding *bond = bond_get_bond_by_slave(slave); in __get_next_agg()
264 struct bonding *bond = __get_bond_by_port(port); in __get_agg_selection_mode()
280 struct bonding *bond = __get_bond_by_port(port); in __check_agg_selection_timer()
1599 struct bonding *bond; in ad_agg_selection_logic()
1831 void bond_3ad_initiate_agg_selection(struct bonding *bond, int timeout) in bond_3ad_initiate_agg_selection()
1847 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast) in bond_3ad_initialize()
[all …]
Dbond_ipv6.c104 void bond_send_unsolicited_na(struct bonding *bond) in bond_send_unsolicited_na()
153 struct bonding *bond; in bond_inet6addr_event()
/drivers/net/
DMakefile16 obj-$(CONFIG_BONDING) += bonding/
DKconfig70 The driver supports multiple bonding modes to allow for both high
73 Refer to <file:Documentation/networking/bonding.txt> for more
77 will be called bonding.