Lines Matching refs:v_idx
383 I40E_PFINT_DYN_CTLN(tx_ring->q_vector->v_idx + in i40e_tx_timeout()
3435 cpu = cpumask_local_spread(ring->q_vector->v_idx, -1); in i40e_config_xps_tx_ring()
4196 cpu = cpumask_local_spread(q_vector->v_idx, -1); in i40e_vsi_request_irq_msix()
4518 i40e_irq_dynamic_enable(vsi, tx_ring->q_vector->v_idx); in i40e_clean_fdir_tx_irq()
4548 static void i40e_map_vector_to_qp(struct i40e_vsi *vsi, int v_idx, int qp_idx) in i40e_map_vector_to_qp() argument
4550 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_map_vector_to_qp()
4605 q_vector->reg_idx = q_vector->v_idx + vsi->base_vector - 1; in i40e_vsi_map_rings_to_vectors()
5115 static void i40e_free_q_vector(struct i40e_vsi *vsi, int v_idx) in i40e_free_q_vector() argument
5117 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx]; in i40e_free_q_vector()
5134 vsi->q_vectors[v_idx] = NULL; in i40e_free_q_vector()
5148 int v_idx; in i40e_vsi_free_q_vectors() local
5150 for (v_idx = 0; v_idx < vsi->num_q_vectors; v_idx++) in i40e_vsi_free_q_vectors()
5151 i40e_free_q_vector(vsi, v_idx); in i40e_vsi_free_q_vectors()
12015 static int i40e_vsi_alloc_q_vector(struct i40e_vsi *vsi, int v_idx) in i40e_vsi_alloc_q_vector() argument
12025 q_vector->v_idx = v_idx; in i40e_vsi_alloc_q_vector()
12032 vsi->q_vectors[v_idx] = q_vector; in i40e_vsi_alloc_q_vector()
12047 int err, v_idx, num_q_vectors; in i40e_vsi_alloc_q_vectors() local
12057 for (v_idx = 0; v_idx < num_q_vectors; v_idx++) { in i40e_vsi_alloc_q_vectors()
12058 err = i40e_vsi_alloc_q_vector(vsi, v_idx); in i40e_vsi_alloc_q_vectors()
12066 while (v_idx--) in i40e_vsi_alloc_q_vectors()
12067 i40e_free_q_vector(vsi, v_idx); in i40e_vsi_alloc_q_vectors()
13534 i40e_irq_dynamic_enable(vsi, rxr->q_vector->v_idx); in i40e_queue_pair_enable_irq()
13559 u32 intpf = vsi->base_vector + rxr->q_vector->v_idx; in i40e_queue_pair_disable_irq()
14417 int v_idx; in i40e_vsi_setup() local
14475 v_idx = i40e_vsi_mem_alloc(pf, type); in i40e_vsi_setup()
14476 if (v_idx < 0) in i40e_vsi_setup()
14478 vsi = pf->vsi[v_idx]; in i40e_vsi_setup()
14485 pf->lan_vsi = v_idx; in i40e_vsi_setup()
15506 int v_idx; in i40e_init_recovery_mode() local
15543 v_idx = i40e_vsi_mem_alloc(pf, I40E_VSI_MAIN); in i40e_init_recovery_mode()
15544 if (v_idx < 0) { in i40e_init_recovery_mode()
15545 err = v_idx; in i40e_init_recovery_mode()
15548 pf->lan_vsi = v_idx; in i40e_init_recovery_mode()
15549 vsi = pf->vsi[v_idx]; in i40e_init_recovery_mode()