Searched refs:bond (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/
H A Dbond_sysfs.c61 * a new bond through the sysfs interface), we deadlock.
62 * This lock is only needed when deleting a bond - we need to make sure
80 struct bonding *bond; local
84 list_for_each_entry(bond, &bond_dev_list, bond_list) {
93 bond->dev->name);
114 struct bonding *bond; local
126 /* Check to see if the bond already exists. */
127 list_for_each_entry_safe(bond, nxt, &bond_dev_list, bond_list)
128 if (strnicmp(bond->dev->name, ifname, IFNAMSIZ) == 0) {
130 ": cannot add bond
232 struct bonding *bond = to_bond(d); local
265 struct bonding *bond = to_bond(d); local
400 struct bonding *bond = to_bond(d); local
412 struct bonding *bond = to_bond(d); local
456 struct bonding *bond = to_bond(d); local
476 struct bonding *bond = to_bond(d); local
521 struct bonding *bond = to_bond(d); local
533 struct bonding *bond = to_bond(d); local
575 struct bonding *bond = to_bond(d); local
585 struct bonding *bond = to_bond(d); local
667 struct bonding *bond = to_bond(d); local
687 struct bonding *bond = to_bond(d); local
776 struct bonding *bond = to_bond(d); local
786 struct bonding *bond = to_bond(d); local
833 struct bonding *bond = to_bond(d); local
844 struct bonding *bond = to_bond(d); local
895 struct bonding *bond = to_bond(d); local
907 struct bonding *bond = to_bond(d); local
953 struct bonding *bond = to_bond(d); local
963 struct bonding *bond = to_bond(d); local
1053 struct bonding *bond = to_bond(d); local
1069 struct bonding *bond = to_bond(d); local
1117 struct bonding *bond = to_bond(d); local
1127 struct bonding *bond = to_bond(d); local
1160 struct bonding *bond = to_bond(d); local
1183 struct bonding *bond = to_bond(d); local
1256 struct bonding *bond = to_bond(d); local
1275 struct bonding *bond = to_bond(d); local
1297 struct bonding *bond = to_bond(d); local
1319 struct bonding *bond = to_bond(d); local
1341 struct bonding *bond = to_bond(d); local
1363 struct bonding *bond = to_bond(d); local
1468 bond_create_sysfs_entry(struct bonding *bond) argument
1486 bond_destroy_sysfs_entry(struct bonding *bond) argument
[all...]
H A Dbond_alb.c129 static inline void _lock_tx_hashtbl(struct bonding *bond) argument
131 spin_lock(&(BOND_ALB_INFO(bond).tx_hashtbl_lock));
134 static inline void _unlock_tx_hashtbl(struct bonding *bond) argument
136 spin_unlock(&(BOND_ALB_INFO(bond).tx_hashtbl_lock));
159 /* Caller must hold bond lock for read */
160 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, int save_load) argument
165 _lock_tx_hashtbl(bond);
168 tx_hash_table = BOND_ALB_INFO(bond).tx_hashtbl;
179 _unlock_tx_hashtbl(bond);
183 static int tlb_initialize(struct bonding *bond) argument
213 tlb_deinitialize(struct bonding *bond) argument
226 tlb_get_least_loaded_slave(struct bonding *bond) argument
264 tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len) argument
306 _lock_rx_hashtbl(struct bonding *bond) argument
311 _unlock_rx_hashtbl(struct bonding *bond) argument
319 rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) argument
344 struct bonding *bond = bond_dev->priv; local
376 rlb_next_rx_slave(struct bonding *bond) argument
412 rlb_teach_disabled_mac_on_primary(struct bonding *bond, u8 addr[]) argument
432 rlb_clear_slave(struct bonding *bond, struct slave *slave) argument
523 rlb_update_rx_clients(struct bonding *bond) argument
551 rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) argument
582 rlb_req_update_subnet_clients(struct bonding *bond, u32 src_ip) argument
618 rlb_choose_channel(struct sk_buff *skb, struct bonding *bond) argument
707 rlb_arp_xmit(struct sk_buff *skb, struct bonding *bond) argument
747 rlb_rebalance(struct bonding *bond) argument
784 rlb_initialize(struct bonding *bond) argument
824 rlb_deinitialize(struct bonding *bond) argument
839 rlb_clear_vlan(struct bonding *bond, unsigned short vlan_id) argument
876 struct bonding *bond = bond_get_bond_by_slave(slave); local
960 alb_swap_mac_addr(struct bonding *bond, struct slave *slave1, struct slave *slave2) argument
1018 alb_change_hw_addr_on_detach(struct bonding *bond, struct slave *slave) argument
1074 alb_handle_addr_collision_on_attach(struct bonding *bond, struct slave *slave) argument
1176 alb_set_mac_address(struct bonding *bond, void *addr) argument
1226 bond_alb_initialize(struct bonding *bond, int rlb_enabled) argument
1250 bond_alb_deinitialize(struct bonding *bond) argument
1263 struct bonding *bond = bond_dev->priv; local
1376 bond_alb_monitor(struct bonding *bond) argument
1488 bond_alb_init_slave(struct bonding *bond, struct slave *slave) argument
1524 bond_alb_deinit_slave(struct bonding *bond, struct slave *slave) argument
1539 bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link) argument
1572 bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) argument
1624 struct bonding *bond = bond_dev->priv; local
1674 bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id) argument
[all...]
H A Dbond_main.c186 static void bond_send_gratuitous_arp(struct bonding *bond);
215 * bond_add_vlan - add a new vlan id on bond
216 * @bond: bond that got the notification
221 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id) argument
225 dprintk("bond: %s, vlan id %d\n",
226 (bond ? bond->dev->name: "None"), vlan_id);
237 write_lock_bh(&bond->lock);
239 list_add_tail(&vlan->vlan_list, &bond
255 bond_del_vlan(struct bonding *bond, unsigned short vlan_id) argument
310 bond_has_challenged_slaves(struct bonding *bond) argument
337 bond_next_vlan(struct bonding *bond, struct vlan_entry *curr) argument
377 bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev) argument
428 struct bonding *bond = bond_dev->priv; local
451 struct bonding *bond = bond_dev->priv; local
479 struct bonding *bond = bond_dev->priv; local
506 bond_add_vlans_on_slave(struct bonding *bond, struct net_device *slave_dev) argument
534 bond_del_vlans_from_slave(struct bonding *bond, struct net_device *slave_dev) argument
578 bond_set_carrier(struct bonding *bond) argument
688 bond_check_dev_link(struct bonding *bond, struct net_device *slave_dev, int reporting) argument
790 bond_set_promiscuity(struct bonding *bond, int inc) argument
809 bond_set_allmulti(struct bonding *bond, int inc) argument
829 bond_mc_add(struct bonding *bond, void *addr, int alen) argument
849 bond_mc_delete(struct bonding *bond, void *addr, int alen) argument
871 bond_resend_igmp_join_requests(struct bonding *bond) argument
890 bond_mc_list_destroy(struct bonding *bond) argument
906 bond_mc_list_copy(struct dev_mc_list *mc_list, struct bonding *bond, gfp_t gfp_flag) argument
934 struct bonding *bond = bond_dev->priv; local
956 bond_mc_swap(struct bonding *bond, struct slave *new_active, struct slave *old_active) argument
1003 bond_find_best_slave(struct bonding *bond) argument
1066 bond_change_active_slave(struct bonding *bond, struct slave *new_active) argument
1144 bond_select_active_slave(struct bonding *bond) argument
1175 bond_attach_slave(struct bonding *bond, struct slave *new_slave) argument
1201 bond_detach_slave(struct bonding *bond, struct slave *slave) argument
1243 bond_compute_features(struct bonding *bond) argument
1281 struct bonding *bond = bond_dev->priv; local
1641 struct bonding *bond = bond_dev->priv; local
1814 struct bonding *bond = bond_dev->priv; local
1941 struct bonding *bond = bond_dev->priv; local
1985 struct bonding *bond = bond_dev->priv; local
1999 struct bonding *bond = bond_dev->priv; local
2035 struct bonding *bond = bond_dev->priv; local
2296 bond_has_ip(struct bonding *bond) argument
2315 bond_has_this_ip(struct bonding *bond, u32 ip) argument
2364 bond_arp_send_all(struct bonding *bond, struct slave *slave) argument
2447 bond_send_gratuitous_arp(struct bonding *bond) argument
2472 bond_validate_arp(struct bonding *bond, struct slave *slave, u32 sip, u32 tip) argument
2495 struct bonding *bond; local
2568 struct bonding *bond = bond_dev->priv; local
2699 struct bonding *bond = bond_dev->priv; local
2938 struct bonding *bond = seq->private; local
2962 struct bonding *bond = seq->private; local
2977 struct bonding *bond = seq->private; local
2985 struct bonding *bond = seq->private; local
3076 struct bonding *bond = seq->private; local
3147 bond_create_proc_entry(struct bonding *bond) argument
3170 bond_remove_proc_entry(struct bonding *bond) argument
3241 bond_event_changename(struct bonding *bond) argument
3276 struct bonding *bond = bond_dev->priv; local
3369 struct bonding *bond, *bond_next; local
3421 bond_register_lacpdu(struct bonding *bond) argument
3434 bond_unregister_lacpdu(struct bonding *bond) argument
3439 bond_register_arp(struct bonding *bond) argument
3452 bond_unregister_arp(struct bonding *bond) argument
3504 struct bonding *bond = bond_dev->priv; local
3569 struct bonding *bond = bond_dev->priv; local
3625 struct bonding *bond = bond_dev->priv; local
3700 struct bonding *bond = bond_dev->priv; local
3792 struct bonding *bond = bond_dev->priv; local
3845 struct bonding *bond = bond_dev->priv; local
3917 struct bonding *bond = bond_dev->priv; local
3991 struct bonding *bond = bond_dev->priv; local
4041 struct bonding *bond = bond_dev->priv; local
4073 struct bonding *bond = bond_dev->priv; local
4119 struct bonding *bond = bond_dev->priv; local
4182 bond_set_mode_ops(struct bonding *bond, int mode) argument
4250 struct bonding *bond = bond_dev->priv; local
4325 struct bonding *bond = bond_dev->priv; local
4339 struct bonding *bond, *nxt; local
[all...]
H A Dbonding.h46 * Checks whether bond is ready for transmit.
48 * Caller must hold bond->lock
50 #define BOND_IS_OK(bond) \
51 (((bond)->dev->flags & IFF_UP) && \
52 netif_running((bond)->dev) && \
53 ((bond)->slave_cnt > 0))
85 * @bond: the bond holding this list.
90 * Caller must hold bond->lock
92 #define bond_for_each_slave_from(bond, po
211 bond_get_slave_by_dev(struct bonding *bond, struct net_device *slave_dev) argument
240 slave_do_arp_validate(struct bonding *bond, struct slave *slave) argument
246 slave_last_rx(struct bonding *bond, struct slave *slave) argument
257 struct bonding *bond = slave->dev->master->priv; local
272 bond_set_master_3ad_flags(struct bonding *bond) argument
277 bond_unset_master_3ad_flags(struct bonding *bond) argument
282 bond_set_master_alb_flags(struct bonding *bond) argument
287 bond_unset_master_alb_flags(struct bonding *bond) argument
[all...]
H A Dbond_alb.h31 #define BOND_ALB_INFO(bond) ((bond)->alb_info)
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);
128 void bond_alb_monitor(struct bonding *bond);
130 void bond_alb_clear_vlan(struct bonding *bond, unsigne
[all...]
H A Dbond_3ad.c166 * __get_first_port - get the first port in the bond
167 * @bond: the bond we're looking at
169 * Return the port of the first slave in @bond, or %NULL if it can't be found.
171 static inline struct port *__get_first_port(struct bonding *bond) argument
173 if (bond->slave_cnt == 0) {
177 return &(SLAVE_AD_INFO(bond->first_slave).port);
181 * __get_next_port - get the next port in the bond
185 * bond, or %NULL if it can't be found.
189 struct bonding *bond local
209 struct bonding *bond = __get_bond_by_port(port); local
229 struct bonding *bond = bond_get_bond_by_slave(slave); local
281 struct bonding *bond = __get_bond_by_port(port); local
297 struct bonding *bond = __get_bond_by_port(port); local
1814 bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast) argument
1843 struct bonding *bond = bond_get_bond_by_slave(slave); local
2050 bond_3ad_state_machine_handler(struct bonding *bond) argument
2265 bond_3ad_set_carrier(struct bonding *bond) argument
2290 bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info) argument
2317 struct bonding *bond = dev->priv; local
2397 struct bonding *bond = dev->priv; local
[all...]
H A Dbond_3ad.h196 struct slave *slave; // pointer to the bond slave that this aggregator belongs to
236 struct slave *slave; // pointer to the bond slave that this port belongs to
254 #define BOND_AD_INFO(bond) ((bond)->ad_info)
276 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution, int lacp_fast);
279 void bond_3ad_state_machine_handler(struct bonding *bond);
283 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info);
286 int bond_3ad_set_carrier(struct bonding *bond);

Completed in 85 milliseconds