bond_info 126 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 137 drivers/net/bonding/bond_alb.c bond_info->tx_hashtbl = new_hashtbl; bond_info 140 drivers/net/bonding/bond_alb.c tlb_init_table_entry(&bond_info->tx_hashtbl[i], 0); bond_info 150 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 154 drivers/net/bonding/bond_alb.c kfree(bond_info->tx_hashtbl); bond_info 155 drivers/net/bonding/bond_alb.c bond_info->tx_hashtbl = NULL; bond_info 193 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 197 drivers/net/bonding/bond_alb.c hash_table = bond_info->tx_hashtbl; bond_info 249 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 256 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 265 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 1; bond_info 307 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 322 drivers/net/bonding/bond_alb.c if (slave == bond_info->rx_slave) bond_info 332 drivers/net/bonding/bond_alb.c bond_info->rx_slave = rx_slave; bond_info 381 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 388 drivers/net/bonding/bond_alb.c rx_hash_table = bond_info->rx_hashtbl; bond_info 389 drivers/net/bonding/bond_alb.c index = bond_info->rx_hashtbl_used_head; bond_info 398 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].ntt = 1; bond_info 399 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 1; bond_info 407 drivers/net/bonding/bond_alb.c bond_info->rlb_update_retry_counter = bond_info 460 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 466 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; bond_info 469 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 472 drivers/net/bonding/bond_alb.c if (bond_info->rlb_update_retry_counter == 0) bond_info 480 drivers/net/bonding/bond_alb.c bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY; bond_info 488 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 495 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; bond_info 498 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 509 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 1; bond_info 511 drivers/net/bonding/bond_alb.c bond_info->rlb_update_retry_counter = RLB_UPDATE_RETRY; bond_info 520 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 526 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; bond_info 529 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 544 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 1; bond_info 555 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 565 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 630 drivers/net/bonding/bond_alb.c u32 prev_tbl_head = bond_info->rx_hashtbl_used_head; bond_info 631 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl_used_head = hash_index; bond_info 634 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[prev_tbl_head].used_prev = bond_info 701 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 710 drivers/net/bonding/bond_alb.c hash_index = bond_info->rx_hashtbl_used_head; bond_info 713 drivers/net/bonding/bond_alb.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 726 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 1; bond_info 755 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 756 drivers/net/bonding/bond_alb.c u32 next_index = bond_info->rx_hashtbl[index].used_next; bond_info 757 drivers/net/bonding/bond_alb.c u32 prev_index = bond_info->rx_hashtbl[index].used_prev; bond_info 759 drivers/net/bonding/bond_alb.c if (index == bond_info->rx_hashtbl_used_head) bond_info 760 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl_used_head = next_index; bond_info 762 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[prev_index].used_next = next_index; bond_info 764 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[next_index].used_prev = prev_index; bond_info 770 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 771 drivers/net/bonding/bond_alb.c u32 next_index = bond_info->rx_hashtbl[index].src_next; bond_info 772 drivers/net/bonding/bond_alb.c u32 prev_index = bond_info->rx_hashtbl[index].src_prev; bond_info 774 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].src_next = RLB_NULL_INDEX; bond_info 775 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].src_prev = RLB_NULL_INDEX; bond_info 778 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[next_index].src_prev = prev_index; bond_info 784 drivers/net/bonding/bond_alb.c if (bond_info->rx_hashtbl[prev_index].src_first == index) bond_info 785 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[prev_index].src_first = next_index; bond_info 787 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[prev_index].src_next = next_index; bond_info 793 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 794 drivers/net/bonding/bond_alb.c struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); bond_info 807 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 810 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[ip_dst_hash].src_prev = ip_src_hash; bond_info 811 drivers/net/bonding/bond_alb.c next = bond_info->rx_hashtbl[ip_src_hash].src_first; bond_info 812 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[ip_dst_hash].src_next = next; bond_info 814 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[next].src_prev = ip_dst_hash; bond_info 815 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[ip_src_hash].src_first = ip_dst_hash; bond_info 823 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 829 drivers/net/bonding/bond_alb.c index = bond_info->rx_hashtbl[ip_src_hash].src_first; bond_info 831 drivers/net/bonding/bond_alb.c struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); bond_info 843 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 854 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl = new_hashtbl; bond_info 856 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl_used_head = RLB_NULL_INDEX; bond_info 859 drivers/net/bonding/bond_alb.c rlb_init_table_entry(bond_info->rx_hashtbl + i); bond_info 871 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 875 drivers/net/bonding/bond_alb.c kfree(bond_info->rx_hashtbl); bond_info 876 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl = NULL; bond_info 877 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl_used_head = RLB_NULL_INDEX; bond_info 884 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 889 drivers/net/bonding/bond_alb.c curr_index = bond_info->rx_hashtbl_used_head; bond_info 891 drivers/net/bonding/bond_alb.c struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); bond_info 892 drivers/net/bonding/bond_alb.c u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; bond_info 1294 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 1298 drivers/net/bonding/bond_alb.c if (bond_info->rlb_enabled) bond_info 1305 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 1312 drivers/net/bonding/bond_alb.c bond_info->unbalanced_load += skb->len; bond_info 1379 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 1476 drivers/net/bonding/bond_alb.c if (bond_info->rlb_enabled) bond_info 1512 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 1517 drivers/net/bonding/bond_alb.c bond_info->tx_rebalance_counter = 0; bond_info 1518 drivers/net/bonding/bond_alb.c bond_info->lp_counter = 0; bond_info 1524 drivers/net/bonding/bond_alb.c bond_info->tx_rebalance_counter++; bond_info 1525 drivers/net/bonding/bond_alb.c bond_info->lp_counter++; bond_info 1528 drivers/net/bonding/bond_alb.c if (bond_info->lp_counter >= BOND_ALB_LP_TICKS(bond)) { bond_info 1538 drivers/net/bonding/bond_alb.c bond_info->rlb_enabled); bond_info 1542 drivers/net/bonding/bond_alb.c bond_info->lp_counter = 0; bond_info 1546 drivers/net/bonding/bond_alb.c if (bond_info->tx_rebalance_counter >= BOND_TLB_REBALANCE_TICKS) { bond_info 1551 drivers/net/bonding/bond_alb.c bond_info->unbalanced_load / bond_info 1553 drivers/net/bonding/bond_alb.c bond_info->unbalanced_load = 0; bond_info 1556 drivers/net/bonding/bond_alb.c bond_info->tx_rebalance_counter = 0; bond_info 1559 drivers/net/bonding/bond_alb.c if (bond_info->rlb_enabled) { bond_info 1560 drivers/net/bonding/bond_alb.c if (bond_info->primary_is_promisc && bond_info 1561 drivers/net/bonding/bond_alb.c (++bond_info->rlb_promisc_timeout_counter >= RLB_PROMISC_TIMEOUT)) { bond_info 1570 drivers/net/bonding/bond_alb.c bond_info->rlb_promisc_timeout_counter = 0; bond_info 1578 drivers/net/bonding/bond_alb.c bond_info->primary_is_promisc = 0; bond_info 1584 drivers/net/bonding/bond_alb.c if (bond_info->rlb_rebalance) { bond_info 1585 drivers/net/bonding/bond_alb.c bond_info->rlb_rebalance = 0; bond_info 1590 drivers/net/bonding/bond_alb.c if (bond_info->rx_ntt) { bond_info 1591 drivers/net/bonding/bond_alb.c if (bond_info->rlb_update_delay_counter) { bond_info 1592 drivers/net/bonding/bond_alb.c --bond_info->rlb_update_delay_counter; bond_info 1595 drivers/net/bonding/bond_alb.c if (bond_info->rlb_update_retry_counter) bond_info 1596 drivers/net/bonding/bond_alb.c --bond_info->rlb_update_retry_counter; bond_info 1598 drivers/net/bonding/bond_alb.c bond_info->rx_ntt = 0; bond_info 1655 drivers/net/bonding/bond_alb.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 1663 drivers/net/bonding/bond_alb.c bond_info->tx_rebalance_counter = BOND_TLB_REBALANCE_TICKS; bond_info 21 drivers/net/bonding/bond_debugfs.c struct alb_bond_info *bond_info = &(BOND_ALB_INFO(bond)); bond_info 33 drivers/net/bonding/bond_debugfs.c hash_index = bond_info->rx_hashtbl_used_head; bond_info 36 drivers/net/bonding/bond_debugfs.c client_info = &(bond_info->rx_hashtbl[hash_index]); bond_info 4841 drivers/net/bonding/bond_main.c struct alb_bond_info *bond_info; bond_info 4860 drivers/net/bonding/bond_main.c bond_info = &(BOND_ALB_INFO(bond)); bond_info 4861 drivers/net/bonding/bond_main.c bond_info->rx_hashtbl_used_head = RLB_NULL_INDEX;