• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/

Lines Matching refs:hash_index

264 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len)
273 assigned_slave = hash_table[hash_index].tx_slave;
282 hash_table[hash_index].tx_slave = assigned_slave;
283 hash_table[hash_index].next = next_index;
284 hash_table[hash_index].prev = TLB_NULL_INDEX;
287 hash_table[next_index].prev = hash_index;
290 slave_info->head = hash_index;
292 hash_table[hash_index].load_history;
297 hash_table[hash_index].tx_bytes += skb_len;
323 u32 hash_index;
327 hash_index = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src));
328 client_info = &(bond_info->rx_hashtbl[hash_index]);
527 u32 hash_index;
531 hash_index = bond_info->rx_hashtbl_head;
532 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
533 client_info = &(bond_info->rx_hashtbl[hash_index]);
556 u32 hash_index;
560 hash_index = bond_info->rx_hashtbl_head;
561 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
562 client_info = &(bond_info->rx_hashtbl[hash_index]);
586 u32 hash_index;
590 hash_index = bond_info->rx_hashtbl_head;
591 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
592 client_info = &(bond_info->rx_hashtbl[hash_index]);
624 u32 hash_index = 0;
628 hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_src));
629 client_info = &(bond_info->rx_hashtbl[hash_index]);
688 bond_info->rx_hashtbl_head = hash_index;
692 hash_index;
753 u32 hash_index;
758 hash_index = bond_info->rx_hashtbl_head;
759 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
760 client_info = &(bond_info->rx_hashtbl[hash_index]);
1270 u32 hash_index = 0;
1342 hash_index = _simple_hash(hash_start, hash_size);
1343 tx_slave = tlb_choose_channel(bond, hash_index, skb->len);