git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441476b
)
net/sfc: reap Tx descriptors at least once
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Fri, 19 Jun 2020 10:25:23 +0000
(11:25 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:29 +0000
(14:52 +0200)
Improve cache hit and increase packet rate on benchmarks.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_tweak.h
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/sfc_tweak.h
b/drivers/net/sfc/sfc_tweak.h
index
bd3de53
..
426e48f
100644
(file)
--- 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