Improve cache hit and increase packet rate on benchmarks.

Signed-off-by: Andrew Rybchenko <arybche...@solarflare.com>
---
 drivers/net/sfc/sfc_tweak.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/sfc/sfc_tweak.h b/drivers/net/sfc/sfc_tweak.h
index bd3de5313a..426e48f593 100644
--- a/drivers/net/sfc/sfc_tweak.h
+++ b/drivers/net/sfc/sfc_tweak.h
@@ -26,7 +26,7 @@
  * this improves cache locality because the same mbufs may be used to send
  * subsequent bursts in certain cases because of well-timed reap
  */
-#define SFC_TX_XMIT_PKTS_REAP_AT_LEAST_ONCE    0
+#define SFC_TX_XMIT_PKTS_REAP_AT_LEAST_ONCE    1
 
 /** Default free threshold follows recommendations from DPDK documentation */
 #define SFC_TX_DEFAULT_FREE_THRESH     32
-- 
2.17.1

Reply via email to