]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_defs.h
net/mlx5: add enhanced multi-packet send for ConnectX-5
[dpdk.git] / drivers / net / mlx5 / mlx5_defs.h
index eecb908ec0e45b8f744b42bd658dd88d40008a47..201bb33627e0470a93b33df26ae9b388d37aabc8 100644 (file)
  */
 #define MLX5_TX_COMP_THRESH 32
 
+/*
+ * Request TX completion every time the total number of WQEBBs used for inlining
+ * packets exceeds the size of WQ divided by this divisor. Better to be power of
+ * two for performance.
+ */
+#define MLX5_TX_COMP_THRESH_INLINE_DIV (1 << 3)
+
 /*
  * Maximum number of cached Memory Pools (MPs) per TX queue. Each RTE MP
  * from which buffers are to be transmitted will have to be mapped by this