]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_tweak.h
net/sfc: support flow API filters
[dpdk.git] / drivers / net / sfc / sfc_tweak.h
index 8538d565c4292200275f8d4c9651a2789d9416ce..be39a5e0862e8ed71a5575b61d0016eb01354753 100644 (file)
  */
 #define SFC_RX_REFILL_BULK     (RTE_CACHE_LINE_SIZE / sizeof(efx_qword_t))
 
+/**
+ * Make the transmit path reap at least one time per a burst;
+ * 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
+
+/** Default free threshold follows recommendations from DPDK documentation */
+#define SFC_TX_DEFAULT_FREE_THRESH     32
+
 #endif /* _SFC_TWEAK_H_ */