Searched refs:q_vectors (Results 1 - 10 of 10) sorted by relevance

/drivers/net/ethernet/intel/i40evf/
H A Di40evf_main.c397 int q_vectors; local
406 q_vectors = adapter->num_msix_vectors - NONQ_VECS;
411 if (q_vectors == (rxr_remaining * 2)) {
425 for (i = v_start; i < q_vectors; i++) {
426 rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - i);
433 for (i = v_start; i < q_vectors; i++) {
434 tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - i);
458 int vector, err, q_vectors; local
463 q_vectors = adapter->num_msix_vectors - NONQ_VECS;
465 for (vector = 0; vector < q_vectors; vecto
553 int q_vectors; local
880 int q_vectors = adapter->num_msix_vectors - NONQ_VECS; local
898 int q_vectors = adapter->num_msix_vectors - NONQ_VECS; local
[all...]
H A Di40evf_virtchnl.c320 int v_idx, q_vectors, len; local
331 q_vectors = adapter->num_msix_vectors - NONQ_VECS;
342 for (v_idx = 0; v_idx < q_vectors; v_idx++) {
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c789 * @v_count: q_vectors allocated on adapter, used for ring interleaving
998 int q_vectors = adapter->num_q_vectors; local
1006 q_vectors = 1;
1008 if (q_vectors >= (rxr_remaining + txr_remaining)) {
1010 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx,
1022 for (; v_idx < q_vectors; v_idx++) {
1023 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx);
1024 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx);
1025 err = ixgbe_alloc_q_vector(adapter, q_vectors, v_idx,
1056 * This function frees the memory allocated to the q_vectors
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c1549 * @v_count: q_vectors allocated on interface, used for ring interleaving
1687 unsigned int q_vectors = interface->num_q_vectors; local
1693 if (q_vectors >= (rxr_remaining + txr_remaining)) {
1695 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx,
1706 for (; v_idx < q_vectors; v_idx++) {
1707 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx);
1708 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx);
1710 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx,
1741 * This function frees the memory allocated to the q_vectors. In addition if
1823 /* record the number of queues available for q_vectors */
[all...]
/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c727 int q_vectors, v_idx; local
729 q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS;
736 for (v_idx = 0; v_idx < q_vectors; v_idx++) {
938 int q_vectors; local
947 q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS;
953 if (q_vectors == adapter->num_rx_queues + adapter->num_tx_queues) {
968 for (i = v_start; i < q_vectors; i++) {
969 rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - i);
976 for (i = v_start; i < q_vectors; i++) {
977 tqpv = DIV_ROUND_UP(txr_remaining, q_vectors
999 int q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; local
1063 int i, q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; local
1096 int i, q_vectors; local
1518 int q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; local
1533 int q_vectors = adapter->num_msix_vectors - NON_Q_VECTORS; local
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c2748 q_vector = vsi->q_vectors[i];
2828 struct i40e_q_vector *q_vector = vsi->q_vectors[0];
2951 int q_vectors = vsi->num_q_vectors; local
2958 for (vector = 0; vector < q_vectors; vector++) {
2959 struct i40e_q_vector *q_vector = vsi->q_vectors[vector];
3000 &(vsi->q_vectors[vector]));
3112 napi_schedule(&pf->vsi[pf->lan_vsi]->q_vectors[0]->napi);
3304 struct i40e_q_vector *q_vector = vsi->q_vectors[v_idx];
3331 int q_vectors = vsi->num_q_vectors; local
3343 for (; v_start < q_vectors; v_star
[all...]
H A Di40e.h465 /* List of q_vectors allocated to this VSI */
466 struct i40e_q_vector **q_vectors; member in struct:i40e_vsi
H A Di40e_debugfs.c239 memcpy(p, vsi->q_vectors, len);
2182 napi_schedule(&vsi->q_vectors[i]->napi);
H A Di40e_ethtool.c1590 q_vector = vsi->q_vectors[i];
2134 * q_vectors since we support a lot more queue pairs than q_vectors.
/drivers/net/ethernet/intel/igb/
H A Digb_main.c1064 * This function frees the memory allocated to the q_vectors. In addition if
1182 * @v_count: q_vectors allocated on adapter, used for ring interleaving
1317 int q_vectors = adapter->num_q_vectors; local
1323 if (q_vectors >= (rxr_remaining + txr_remaining)) {
1325 err = igb_alloc_q_vector(adapter, q_vectors, v_idx,
1337 for (; v_idx < q_vectors; v_idx++) {
1338 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx);
1339 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx);
1341 err = igb_alloc_q_vector(adapter, q_vectors, v_idx,

Completed in 182 milliseconds