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 <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
This commit is contained in:
parent
04067844a3
commit
aade665a1e
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user