From: Lance Richardson Date: Wed, 9 Sep 2020 15:53:00 +0000 (-0400) Subject: net/bnxt: increase max burst size for vector path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=aade665a1e25005c996cb5083d9143ec986246ac;p=dpdk.git net/bnxt: increase max burst size for vector path Increase the maximum supported burst size for the bnxt vector mode PMD from 32 to 64. With larger burst sizes, per-burst overhead is amortized over more packets, improving overall performance. For small packets this has been measured to provide a 4-10% increase in single-core throughput with testpmd iofwd. Reviewed-by: Kalesh AP Reviewed-by: Ajit Khaparde Signed-off-by: Lance Richardson --- diff --git a/drivers/net/bnxt/bnxt_rxq.h b/drivers/net/bnxt/bnxt_rxq.h index be945c535b..e17f923fd0 100644 --- a/drivers/net/bnxt/bnxt_rxq.h +++ b/drivers/net/bnxt/bnxt_rxq.h @@ -7,7 +7,7 @@ #define _BNXT_RQX_H_ /* Maximum receive burst supported in vector mode. */ -#define RTE_BNXT_MAX_RX_BURST 32U +#define RTE_BNXT_MAX_RX_BURST 64U struct bnxt; struct bnxt_rx_ring_info; diff --git a/drivers/net/bnxt/bnxt_txq.h b/drivers/net/bnxt/bnxt_txq.h index 37598525a6..9f849fc710 100644 --- a/drivers/net/bnxt/bnxt_txq.h +++ b/drivers/net/bnxt/bnxt_txq.h @@ -7,7 +7,7 @@ #define _BNXT_TXQ_H_ /* Maximum transmit burst for vector mode. */ -#define RTE_BNXT_MAX_TX_BURST 32U +#define RTE_BNXT_MAX_TX_BURST 64U struct bnxt_tx_ring_info; struct bnxt_cp_ring_info;