From: Ajit Khaparde Date: Mon, 26 Oct 2020 03:56:13 +0000 (-0700) Subject: net/bnxt: increase size of Rx CQ X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=45c6e1c66a4b5d7374e864502dc2fdb1ee71ceae;p=dpdk.git net/bnxt: increase size of Rx CQ LRO aka TPA and jumbo frame support uses aggregation ring for placing Rx buffers. These features can generate multiple Rx completions for a single Rx packet. Increase size of Rx Completion Queue to handle TPA and aggregation ring events. Fixes: daef48efe5e5 ("net/bnxt: support set MTU") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde Reviewed-by: Qingmin Liu Reviewed-by: Randy Schacher --- diff --git a/drivers/net/bnxt/bnxt_ring.h b/drivers/net/bnxt/bnxt_ring.h index daf9804956..3d81f610c1 100644 --- a/drivers/net/bnxt/bnxt_ring.h +++ b/drivers/net/bnxt/bnxt_ring.h @@ -27,7 +27,7 @@ #define DEFAULT_RX_RING_SIZE 256 #define DEFAULT_TX_RING_SIZE 256 -#define AGG_RING_SIZE_FACTOR 2 +#define AGG_RING_SIZE_FACTOR 4 #define AGG_RING_MULTIPLIER 2 /* These assume 4k pages */