[RFC,v2,04/26] config: add separate defines for max Rx and Tx queues
Checks
Commit Message
Rather than having a single define for maximum queues per ethernet port,
we can set the max values for Rx queues and Tx queue independently. This
allows future memory saving for apps which only need large numbers of Rx
queues or only large numbers of Tx queues.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
config/rte_config.h | 2 ++
doc/guides/rel_notes/release_24_11.rst | 6 ++++++
2 files changed, 8 insertions(+)
@@ -65,6 +65,8 @@
/* ether defines */
#define RTE_MAX_QUEUES_PER_PORT 1024
+#define RTE_MAX_ETHPORT_RX_QUEUES 1024
+#define RTE_MAX_ETHPORT_TX_QUEUES 1024
#define RTE_ETHDEV_QUEUE_STAT_CNTRS 16 /* max 256 */
#define RTE_ETHDEV_RXTX_CALLBACKS 1
#define RTE_MAX_MULTI_HOST_CTRLS 4
@@ -55,6 +55,12 @@ New Features
Also, make sure to start the actual text at the margin.
=======================================================
+* **New configuration settings for Rx and Tx Ethernet Queues.**
+
+ New defines have been added to DPDK to allow independent tracking of the maximum number of Rx and Tx queues.
+ These defines as ``RTE_MAX_ETHPORT_RX_QUEUES`` and ``RTE_MAX_ETHPORT_TX_QUEUES``,
+ and should be used in place of the older macro ``RTE_MAX_QUEUES_PER_PORT``.
+
Removed Items
-------------