Lines Matching refs:v_idx
1315 BIT(q_vector->v_idx)); in ixgbevf_poll()
1329 int v_idx = q_vector->v_idx; in ixgbevf_write_eitr() local
1337 IXGBE_WRITE_REG(hw, IXGBE_VTEITR(v_idx), itr_reg); in ixgbevf_write_eitr()
1350 int q_vectors, v_idx; in ixgbevf_configure_msix() local
1358 for (v_idx = 0; v_idx < q_vectors; v_idx++) { in ixgbevf_configure_msix()
1361 q_vector = adapter->q_vector[v_idx]; in ixgbevf_configure_msix()
1364 ixgbevf_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbevf_configure_msix()
1367 ixgbevf_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbevf_configure_msix()
1384 adapter->eims_enable_mask |= BIT(v_idx); in ixgbevf_configure_msix()
1389 ixgbevf_set_ivar(adapter, -1, 1, v_idx); in ixgbevf_configure_msix()
1391 adapter->eims_other = BIT(v_idx); in ixgbevf_configure_msix()
2723 static int ixgbevf_alloc_q_vector(struct ixgbevf_adapter *adapter, int v_idx, in ixgbevf_alloc_q_vector() argument
2745 adapter->q_vector[v_idx] = q_vector; in ixgbevf_alloc_q_vector()
2747 q_vector->v_idx = v_idx; in ixgbevf_alloc_q_vector()
2848 static void ixgbevf_free_q_vector(struct ixgbevf_adapter *adapter, int v_idx) in ixgbevf_free_q_vector() argument
2850 struct ixgbevf_q_vector *q_vector = adapter->q_vector[v_idx]; in ixgbevf_free_q_vector()
2863 adapter->q_vector[v_idx] = NULL; in ixgbevf_free_q_vector()
2885 int rxr_idx = 0, txr_idx = 0, xdp_idx = 0, v_idx = 0; in ixgbevf_alloc_q_vectors() local
2889 for (; rxr_remaining; v_idx++, q_vectors--) { in ixgbevf_alloc_q_vectors()
2892 err = ixgbevf_alloc_q_vector(adapter, v_idx, in ixgbevf_alloc_q_vectors()
2903 for (; q_vectors; v_idx++, q_vectors--) { in ixgbevf_alloc_q_vectors()
2908 err = ixgbevf_alloc_q_vector(adapter, v_idx, in ixgbevf_alloc_q_vectors()
2928 while (v_idx) { in ixgbevf_alloc_q_vectors()
2929 v_idx--; in ixgbevf_alloc_q_vectors()
2930 ixgbevf_free_q_vector(adapter, v_idx); in ixgbevf_alloc_q_vectors()