net/mlx5: add parameters to enable/disable vector datapath
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 2 Aug 2017 15:32:56 +0000 (17:32 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 3 Aug 2017 21:34:40 +0000 (23:34 +0200)
commit5644d5b94e2fe78d33981816af125c7a7da9244c
tree85dab5a241e7473ac0a0b99d0c87abb34f7ce4e8
parent9807f113354419a799a8f20fb8e187959feb5f05
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>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_rxtx_vec_sse.c