Currently MLX5 PMD supports 3 flow engines: Verbs, Direct Verbs and TCF. The first two engines are for Nic steering while the TCF is for E-Switch steering.
This series add E-Switch steering support also for the DV engine. In order to support the new capability there should be support from both the RDMA and from the NIC. v3: * Small nit in patch 03 * Fix bug in patch 09 v2: * Address ML comments Ori Kam (9): net/mlx5: fix translate vport function name net/mlx5: fix meson build for Direct Rules net/mlx5: add Direct Rules E-Switch support net/mlx5: add validation for Direct Rule E-Switch net/mlx5: add port ID item to Direct Verbs net/mlx5: add transfer attribute to matcher net/mlx5: add E-Switch port ID action to Direct Verbs net/mlx5: add Forward Database table type net/mlx5: add drop action to Direct Verbs E-Switch drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/meson.build | 4 + drivers/net/mlx5/mlx5.c | 62 +++- drivers/net/mlx5/mlx5.h | 18 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 44 +++ drivers/net/mlx5/mlx5_ethdev.c | 41 +++ drivers/net/mlx5/mlx5_flow.c | 3 +- drivers/net/mlx5/mlx5_flow.h | 19 ++ drivers/net/mlx5/mlx5_flow_dv.c | 584 +++++++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_glue.c | 26 ++ drivers/net/mlx5/mlx5_glue.h | 2 + drivers/net/mlx5/mlx5_prm.h | 328 +++++++++++++++++++++ 12 files changed, 1064 insertions(+), 72 deletions(-) -- 1.8.3.1