Lines Matching refs:v_idx
834 int v_count, int v_idx, in ixgbe_alloc_q_vector() argument
852 cpu = cpumask_local_spread(v_idx, node); in ixgbe_alloc_q_vector()
880 adapter->q_vector[v_idx] = q_vector; in ixgbe_alloc_q_vector()
882 q_vector->v_idx = v_idx; in ixgbe_alloc_q_vector()
1020 static void ixgbe_free_q_vector(struct ixgbe_adapter *adapter, int v_idx) in ixgbe_free_q_vector() argument
1022 struct ixgbe_q_vector *q_vector = adapter->q_vector[v_idx]; in ixgbe_free_q_vector()
1035 adapter->q_vector[v_idx] = NULL; in ixgbe_free_q_vector()
1059 int rxr_idx = 0, txr_idx = 0, xdp_idx = 0, v_idx = 0; in ixgbe_alloc_q_vectors() local
1067 for (; rxr_remaining; v_idx++) { in ixgbe_alloc_q_vectors()
1068 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors()
1080 for (; v_idx < q_vectors; v_idx++) { in ixgbe_alloc_q_vectors()
1081 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors()
1082 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors()
1083 int xqpv = DIV_ROUND_UP(xdp_remaining, q_vectors - v_idx); in ixgbe_alloc_q_vectors()
1085 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx, in ixgbe_alloc_q_vectors()
1125 while (v_idx--) in ixgbe_alloc_q_vectors()
1126 ixgbe_free_q_vector(adapter, v_idx); in ixgbe_alloc_q_vectors()
1141 int v_idx = adapter->num_q_vectors; in ixgbe_free_q_vectors() local
1148 while (v_idx--) in ixgbe_free_q_vectors()
1149 ixgbe_free_q_vector(adapter, v_idx); in ixgbe_free_q_vectors()