git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: fix multicast address list copy memory leak
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_tweak.h
diff --git
a/drivers/net/sfc/sfc_tweak.h
b/drivers/net/sfc/sfc_tweak.h
index
8a60f35
..
fd2f75c
100644
(file)
--- a/
drivers/net/sfc/sfc_tweak.h
+++ b/
drivers/net/sfc/sfc_tweak.h
@@
-1,5
+1,7
@@
/*-
/*-
- * Copyright (c) 2016 Solarflare Communications Inc.
+ * BSD LICENSE
+ *
+ * Copyright (c) 2016-2017 Solarflare Communications Inc.
* All rights reserved.
*
* This software was jointly developed between OKTET Labs (under contract
* All rights reserved.
*
* This software was jointly developed between OKTET Labs (under contract
@@
-48,4
+50,10
@@
*/
#define SFC_TX_XMIT_PKTS_REAP_AT_LEAST_ONCE 0
*/
#define SFC_TX_XMIT_PKTS_REAP_AT_LEAST_ONCE 0
+/** Default free threshold follows recommendations from DPDK documentation */
+#define SFC_TX_DEFAULT_FREE_THRESH 32
+
+/** Number of mbufs to be freed in bulk in a single call */
+#define SFC_TX_REAP_BULK_SIZE 32
+
#endif /* _SFC_TWEAK_H_ */
#endif /* _SFC_TWEAK_H_ */