Lines Matching refs:rx_hashtbl
257 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_update_entry_from_arp()
390 rx_hash_table = bond_info->rx_hashtbl; in rlb_clear_slave()
400 bond_info->rx_hashtbl[index].ntt = 1; in rlb_clear_slave()
471 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_update_rx_clients()
500 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_req_update_slave_clients()
531 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_req_update_subnet_clients()
567 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_choose_channel()
637 bond_info->rx_hashtbl[prev_tbl_head].used_prev = in rlb_choose_channel()
726 client_info = &(bond_info->rx_hashtbl[hash_index]); in rlb_rebalance()
769 u32 next_index = bond_info->rx_hashtbl[index].used_next; in rlb_delete_table_entry_dst()
770 u32 prev_index = bond_info->rx_hashtbl[index].used_prev; in rlb_delete_table_entry_dst()
775 bond_info->rx_hashtbl[prev_index].used_next = next_index; in rlb_delete_table_entry_dst()
777 bond_info->rx_hashtbl[next_index].used_prev = prev_index; in rlb_delete_table_entry_dst()
784 u32 next_index = bond_info->rx_hashtbl[index].src_next; in rlb_src_unlink()
785 u32 prev_index = bond_info->rx_hashtbl[index].src_prev; in rlb_src_unlink()
787 bond_info->rx_hashtbl[index].src_next = RLB_NULL_INDEX; in rlb_src_unlink()
788 bond_info->rx_hashtbl[index].src_prev = RLB_NULL_INDEX; in rlb_src_unlink()
791 bond_info->rx_hashtbl[next_index].src_prev = prev_index; in rlb_src_unlink()
797 if (bond_info->rx_hashtbl[prev_index].src_first == index) in rlb_src_unlink()
798 bond_info->rx_hashtbl[prev_index].src_first = next_index; in rlb_src_unlink()
800 bond_info->rx_hashtbl[prev_index].src_next = next_index; in rlb_src_unlink()
807 struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); in rlb_delete_table_entry()
823 bond_info->rx_hashtbl[ip_dst_hash].src_prev = ip_src_hash; in rlb_src_link()
824 next = bond_info->rx_hashtbl[ip_src_hash].src_first; in rlb_src_link()
825 bond_info->rx_hashtbl[ip_dst_hash].src_next = next; in rlb_src_link()
827 bond_info->rx_hashtbl[next].src_prev = ip_dst_hash; in rlb_src_link()
828 bond_info->rx_hashtbl[ip_src_hash].src_first = ip_dst_hash; in rlb_src_link()
842 index = bond_info->rx_hashtbl[ip_src_hash].src_first; in rlb_purge_src_ip()
844 struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); in rlb_purge_src_ip()
868 bond_info->rx_hashtbl = new_hashtbl; in rlb_initialize()
873 rlb_init_table_entry(bond_info->rx_hashtbl + i); in rlb_initialize()
889 kfree(bond_info->rx_hashtbl); in rlb_deinitialize()
890 bond_info->rx_hashtbl = NULL; in rlb_deinitialize()
905 struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); in rlb_clear_vlan()
906 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; in rlb_clear_vlan()