[PATCH 03/10] net/bnxt: increase queue size for async handling
Ajit Khaparde
ajit.khaparde at broadcom.com
Wed Feb 21 22:20:38 CET 2024
Increase the default NQ/CQ depth for async handling.
In some cases the hardware can generate a high number of
async notifications. Increase the notification/completion queue
size to accommodate them.
Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
Reviewed-by: Damodharam Ammepalli <damodharam.ammepalli at broadcom.com>
---
drivers/net/bnxt/bnxt_ring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_ring.h b/drivers/net/bnxt/bnxt_ring.h
index baa60b2627..1bae4b33d9 100644
--- a/drivers/net/bnxt/bnxt_ring.h
+++ b/drivers/net/bnxt/bnxt_ring.h
@@ -24,7 +24,7 @@
#define DB_KEY_TX_PUSH (0x4 << 28)
#define DB_LONG_TX_PUSH (0x2 << 24)
-#define DEFAULT_CP_RING_SIZE 256
+#define DEFAULT_CP_RING_SIZE 4096
#define DEFAULT_RX_RING_SIZE 256
#define DEFAULT_TX_RING_SIZE 256
--
2.39.2 (Apple Git-143)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4218 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mails.dpdk.org/archives/dev/attachments/20240221/a03d04e5/attachment-0001.bin>
More information about the dev
mailing list