net/mlx5: support Direct Rules E-Switch
authorOri Kam <orika@mellanox.com>
Thu, 18 Apr 2019 13:16:01 +0000 (13:16 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:55 +0000 (14:51 +0200)
commite2b4925ef7c11c4271b2c8fb46154d347cba26e2
treed0388d30faf3e8b4a48b3fbe3f92c27d19c8f506
parent0eff907118619544e3eaaffb93a824135861eae4
net/mlx5: support Direct Rules E-Switch

This commit checks the for DR E-Switch support.
The support is based on both Device and Kernel.
This commit also enables the user to manually disable this this feature.

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/Makefile
drivers/net/mlx5/meson.build
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_devx_cmds.c
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_prm.h