[PATCH v0 1/1] dma/cnxk: increase vchan count

Vamsi Krishna vattunuru at marvell.com
Tue Jan 21 15:37:31 CET 2025


From: Vamsi Attunuru <vattunuru at marvell.com>

Increase vchan count to 128 to enable the DPDK applications
to leverage the max number the vchan instances.

Signed-off-by: Vamsi Attunuru <vattunuru at marvell.com>
---
 drivers/dma/cnxk/cnxk_dmadev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/cnxk/cnxk_dmadev.h b/drivers/dma/cnxk/cnxk_dmadev.h
index 39fd6afbe9..a95ce13f62 100644
--- a/drivers/dma/cnxk/cnxk_dmadev.h
+++ b/drivers/dma/cnxk/cnxk_dmadev.h
@@ -29,7 +29,7 @@
 #define CNXK_DPI_MAX_DESC		    32768
 #define CNXK_DPI_MIN_DESC		    2
 #define CN10K_DPI_MAX_PRI		    2
-#define CNXK_DPI_MAX_VCHANS_PER_QUEUE	    4
+#define CNXK_DPI_MAX_VCHANS_PER_QUEUE	    128
 #define CNXK_DPI_QUEUE_BUF_SIZE		    16256
 #define CNXK_DPI_QUEUE_BUF_SIZE_V2	    130944
 #define CNXK_DPI_POOL_MAX_CACHE_SZ	    (16)
-- 
2.34.1



More information about the dev mailing list