net/bnxt: increase max burst size for vector path
authorLance Richardson <lance.richardson@broadcom.com>
Wed, 9 Sep 2020 15:53:00 +0000 (11:53 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
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 <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_rxq.h
drivers/net/bnxt/bnxt_txq.h

index be945c5..e17f923 100644 (file)
@@ -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;
index 3759852..9f849fc 100644 (file)
@@ -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;