[v2,0/9] net/mlx5: add Direct Verbs E-Switch support

Message ID 1555586930-109097-1-git-send-email-orika@mellanox.com
Headers show
Series
  • net/mlx5: add Direct Verbs E-Switch support
Related show

Message

Ori Kam April 18, 2019, 11:28 a.m.
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.

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           |  17 ++
 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   | 585 +++++++++++++++++++++++++++++++++-----
 drivers/net/mlx5/mlx5_glue.c      |  26 ++
 drivers/net/mlx5/mlx5_glue.h      |   2 +
 drivers/net/mlx5/mlx5_prm.h       | 328 +++++++++++++++++++++
 12 files changed, 1065 insertions(+), 71 deletions(-)