summaryrefslogtreecommitdiff
path: root/doc/guides/nics/mlx5.rst
diff options
context:
space:
mode:
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>2017-08-02 17:32:56 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-08-03 23:34:40 +0200
commit5644d5b94e2fe78d33981816af125c7a7da9244c (patch)
tree85dab5a241e7473ac0a0b99d0c87abb34f7ce4e8 /doc/guides/nics/mlx5.rst
parent9807f113354419a799a8f20fb8e187959feb5f05 (diff)
downloaddpdk-5644d5b94e2fe78d33981816af125c7a7da9244c.zip
dpdk-5644d5b94e2fe78d33981816af125c7a7da9244c.tar.gz
dpdk-5644d5b94e2fe78d33981816af125c7a7da9244c.tar.xz
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 <nelio.laranjeiro@6wind.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
-rw-r--r--doc/guides/nics/mlx5.rst14
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.
+
Prerequisites
-------------