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

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

Message

Ori Kam April 14, 2019, 9:12 p.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.

Ori Kam (9):
  net/mlx5: fix translate vport function name
  net/mlx5: fix menson compilation with Direct Rules
  net/mlx5: add Direct Rules configuration 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 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           |  61 +++-
 drivers/net/mlx5/mlx5.h           |  17 ++
 drivers/net/mlx5/mlx5_devx_cmds.c |  42 +++
 drivers/net/mlx5/mlx5_ethdev.c    |  39 +++
 drivers/net/mlx5/mlx5_flow.c      |   3 +-
 drivers/net/mlx5/mlx5_flow.h      |  19 ++
 drivers/net/mlx5/mlx5_flow_dv.c   | 597 +++++++++++++++++++++++++++++++++-----
 drivers/net/mlx5/mlx5_glue.c      |  26 ++
 drivers/net/mlx5/mlx5_glue.h      |   2 +
 drivers/net/mlx5/mlx5_prm.h       | 328 +++++++++++++++++++++
 12 files changed, 1071 insertions(+), 72 deletions(-)