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.khapa...@broadcom.com>
Reviewed-by: Damodharam Ammepalli <damodharam.ammepa...@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)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to