Lines Matching refs:v_idx

4253 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx)  in igc_reset_q_vector()  argument
4255 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_reset_q_vector()
4279 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector() argument
4281 struct igc_q_vector *q_vector = adapter->q_vector[v_idx]; in igc_free_q_vector()
4283 adapter->q_vector[v_idx] = NULL; in igc_free_q_vector()
4302 int v_idx = adapter->num_q_vectors; in igc_free_q_vectors() local
4308 while (v_idx--) { in igc_free_q_vectors()
4309 igc_reset_q_vector(adapter, v_idx); in igc_free_q_vectors()
4310 igc_free_q_vector(adapter, v_idx); in igc_free_q_vectors()
4447 int v_idx = adapter->num_q_vectors; in igc_reset_interrupt_capability() local
4457 while (v_idx--) in igc_reset_interrupt_capability()
4458 igc_reset_q_vector(adapter, v_idx); in igc_reset_interrupt_capability()
4710 unsigned int v_count, unsigned int v_idx, in igc_alloc_q_vector() argument
4725 q_vector = adapter->q_vector[v_idx]; in igc_alloc_q_vector()
4738 adapter->q_vector[v_idx] = q_vector; in igc_alloc_q_vector()
4817 int rxr_idx = 0, txr_idx = 0, v_idx = 0; in igc_alloc_q_vectors() local
4822 for (; rxr_remaining; v_idx++) { in igc_alloc_q_vectors()
4823 err = igc_alloc_q_vector(adapter, q_vectors, v_idx, in igc_alloc_q_vectors()
4835 for (; v_idx < q_vectors; v_idx++) { in igc_alloc_q_vectors()
4836 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in igc_alloc_q_vectors()
4837 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in igc_alloc_q_vectors()
4839 err = igc_alloc_q_vector(adapter, q_vectors, v_idx, in igc_alloc_q_vectors()
4859 while (v_idx--) in igc_alloc_q_vectors()
4860 igc_free_q_vector(adapter, v_idx); in igc_alloc_q_vectors()