• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bonding/

Lines Matching refs:hash_index

268 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, u32 skb_len)
277 assigned_slave = hash_table[hash_index].tx_slave;
286 hash_table[hash_index].tx_slave = assigned_slave;
287 hash_table[hash_index].next = next_index;
288 hash_table[hash_index].prev = TLB_NULL_INDEX;
291 hash_table[next_index].prev = hash_index;
294 slave_info->head = hash_index;
296 hash_table[hash_index].load_history;
301 hash_table[hash_index].tx_bytes += skb_len;
327 u32 hash_index;
331 hash_index = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src));
332 client_info = &(bond_info->rx_hashtbl[hash_index]);
540 u32 hash_index;
544 hash_index = bond_info->rx_hashtbl_head;
545 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
546 client_info = &(bond_info->rx_hashtbl[hash_index]);
569 u32 hash_index;
573 hash_index = bond_info->rx_hashtbl_head;
574 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
575 client_info = &(bond_info->rx_hashtbl[hash_index]);
599 u32 hash_index;
603 hash_index = bond_info->rx_hashtbl_head;
604 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
605 client_info = &(bond_info->rx_hashtbl[hash_index]);
635 u32 hash_index = 0;
639 hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_src));
640 client_info = &(bond_info->rx_hashtbl[hash_index]);
695 bond_info->rx_hashtbl_head = hash_index;
699 hash_index;
760 u32 hash_index;
765 hash_index = bond_info->rx_hashtbl_head;
766 for (; hash_index != RLB_NULL_INDEX; hash_index = client_info->next) {
767 client_info = &(bond_info->rx_hashtbl[hash_index]);
1276 u32 hash_index = 0;
1369 hash_index = _simple_hash(hash_start, hash_size);
1370 tx_slave = tlb_choose_channel(bond, hash_index, skb->len);