diff options
author | Hariprasad Kelam <hkelam@marvell.com> | 2023-05-13 11:51:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-15 11:31:07 +0300 |
commit | 508c58f76ca510956625c945f9b8eb104f2c8208 (patch) | |
tree | f16f086c400c97da45d61c93b88304e9d90f5103 /drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | |
parent | 12e7789ad5b476e945aba8edb1161c633cb7db31 (diff) | |
download | linux-508c58f76ca510956625c945f9b8eb104f2c8208.tar.xz |
octeontx2-pf: Rename tot_tx_queues to non_qos_queues
current implementation is such that tot_tx_queues contains both
xdp queues and normal tx queues. which will be allocated in interface
open calls and deallocated on interface down calls respectively.
With addition of QOS, where send quees are allocated/deallacated upon
user request Qos send queues won't be part of tot_tx_queues. So this
patch renames tot_tx_queues to non_qos_queues.
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h index d17274aab374..76c50dd8e5ef 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h @@ -190,7 +190,7 @@ struct otx2_hw { u16 rx_queues; u16 tx_queues; u16 xdp_queues; - u16 tot_tx_queues; + u16 non_qos_queues; /* tx queues plus xdp queues */ u16 max_queues; u16 pool_cnt; u16 rqpool_cnt; |