path: root/doc/guides
diff options
authorYongseok Koh <>2018-11-01 17:20:32 +0000
committerFerruh Yigit <>2018-11-05 15:01:25 +0100
commit09d8b41699bb0d90f736015a977fd3613769b4e0 (patch)
treefb2e53b90a1c719116fe0533d6ef3f5f014e2eba /doc/guides
parentf87bfa8eaedf59643f2cae405e691f0e04685f2a (diff)
net/mlx5: make vectorized Tx threshold configurable
Add txqs_max_vec parameter to configure the maximum number of Tx queues to enable vectorized Tx. And its default value is set according to the architecture and device type. Signed-off-by: Yongseok Koh <> Acked-by: Shahaf Shuler <>
Diffstat (limited to 'doc/guides')
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 1dc3282..7379cf3 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -338,6 +338,20 @@ Run-time configuration
- Set to 8 by default.
+- ``txqs_max_vec`` parameter [int]
+ Enable vectorized Tx only when the number of TX queues is less than or
+ equal to this value. Effective only when ``tx_vec_en`` is enabled.
+ On ConnectX-5:
+ - Set to 8 by default on ARMv8.
+ - Set to 4 by default otherwise.
+ On Bluefield
+ - Set to 16 by default.
- ``txq_mpw_en`` parameter [int]
A nonzero value enables multi-packet send (MPS) for ConnectX-4 Lx and
@@ -383,7 +397,7 @@ Run-time configuration
- ``tx_vec_en`` parameter [int]
A nonzero value enables Tx vector on ConnectX-5 and Bluefield NICs if the number of
- global Tx queues on the port is lesser than MLX5_VPMD_MIN_TXQS.
+ global Tx queues on the port is less than ``txqs_max_vec``.
This option cannot be used with certain offloads such as ``DEV_TX_OFFLOAD_TCP_TSO,