net/sfc: support flow API filters
[dpdk.git] / drivers / net / sfc / sfc_tweak.h
index 8538d56..be39a5e 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_ */