Lines Matching refs:q_vectors

444 	struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx];  in iavf_map_vector_to_rxq()
470 struct iavf_q_vector *q_vector = &adapter->q_vectors[v_idx]; in iavf_map_vector_to_txq()
501 int q_vectors; in iavf_map_rings_to_vectors() local
503 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_map_rings_to_vectors()
512 if (++vidx >= q_vectors) in iavf_map_rings_to_vectors()
557 unsigned int vector, q_vectors; in iavf_request_traffic_irqs() local
564 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_request_traffic_irqs()
566 for (vector = 0; vector < q_vectors; vector++) { in iavf_request_traffic_irqs()
567 struct iavf_q_vector *q_vector = &adapter->q_vectors[vector]; in iavf_request_traffic_irqs()
616 free_irq(irq_num, &adapter->q_vectors[vector]); in iavf_request_traffic_irqs()
657 int vector, irq_num, q_vectors; in iavf_free_traffic_irqs() local
662 q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_free_traffic_irqs()
664 for (vector = 0; vector < q_vectors; vector++) { in iavf_free_traffic_irqs()
668 free_irq(irq_num, &adapter->q_vectors[vector]); in iavf_free_traffic_irqs()
1194 int q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_napi_enable_all() local
1196 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in iavf_napi_enable_all()
1199 q_vector = &adapter->q_vectors[q_idx]; in iavf_napi_enable_all()
1213 int q_vectors = adapter->num_msix_vectors - NONQ_VECS; in iavf_napi_disable_all() local
1215 for (q_idx = 0; q_idx < q_vectors; q_idx++) { in iavf_napi_disable_all()
1216 q_vector = &adapter->q_vectors[q_idx]; in iavf_napi_disable_all()
1814 adapter->q_vectors = kcalloc(num_q_vectors, sizeof(*q_vector), in iavf_alloc_q_vectors()
1816 if (!adapter->q_vectors) in iavf_alloc_q_vectors()
1820 q_vector = &adapter->q_vectors[q_idx]; in iavf_alloc_q_vectors()
1846 if (!adapter->q_vectors) in iavf_free_q_vectors()
1853 struct iavf_q_vector *q_vector = &adapter->q_vectors[q_idx]; in iavf_free_q_vectors()
1858 kfree(adapter->q_vectors); in iavf_free_q_vectors()
1859 adapter->q_vectors = NULL; in iavf_free_q_vectors()