path: root/doc/guides/nics/mlx5.rst
diff options
authorNelio Laranjeiro <>2017-08-02 17:32:56 +0200
committerThomas Monjalon <>2017-08-03 23:34:40 +0200
commit5644d5b94e2fe78d33981816af125c7a7da9244c (patch)
tree85dab5a241e7473ac0a0b99d0c87abb34f7ce4e8 /doc/guides/nics/mlx5.rst
parent9807f113354419a799a8f20fb8e187959feb5f05 (diff)
net/mlx5: add parameters to enable/disable vector datapath
Vector code is very young and can present some issues for users, to avoid them to modify the selections function by commenting the code and recompile the PMD, new devices parameters are added to deactivate the Tx and/or Rx vector code. By using such device parameters, the user will be able to fall back to regular burst functions. Signed-off-by: Nelio Laranjeiro <> Acked-by: Yongseok Koh <>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index db15118..f4cb18b 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -254,6 +254,20 @@ Run-time configuration
When hardware TSO is enabled, packets marked with TCP segmentation
offload will be divided into segments by the hardware. Disabled by default.
+- ``tx_vec_en`` parameter [int]
+ A nonzero value enables Tx vector on ConnectX-5 only NIC if the number of
+ global Tx queues on the port is lesser than MLX5_VPMD_MIN_TXQS.
+ Enabled by default on ConnectX-5.
+- ``rx_vec_en`` parameter [int]
+ A nonzero value enables Rx vector if the port is not configured in
+ multi-segment otherwise this parameter is ignored.
+ Enabled by default.