[v7,0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD

Message ID 1540969847-48919-1-git-send-email-dekelp@mellanox.com (mailing list archive)


Dekel Peled Oct. 31, 2018, 7:10 a.m. UTC
  This series adds support of encap and decap actions in DV format.
L2 tunnel support for VXLAN and NVGRE, and L2/L3 tunnel support using raw data buffer.
It is using the generic encapsulation framework from [1].

[1] "ethdev: add generic L2/L3 tunnel encapsulation actions"
* Apply code review comments.
* Add caching of encap decap actions.
* Adapt L2 tunnel to VXLAN and NVGRE.
* Add encap/decap using raw data.
* Move DV actions code under common DV flag.
* Update in glue functions.
* Apply additional code review comments.
* Rebase on tip.
* Apply code review comments.

Dekel Peled (7):
  net/mlx5: add flow action functions to glue
  net/mlx5: add VXLAN encap action to Direct Verbs
  net/mlx5: add VXLAN decap action to Direct Verbs
  net/mlx5: add NVGRE encap action to Direct Verbs
  net/mlx5: add NVGRE decap action to Direct Verbs
  net/mlx5: add raw data encap decap to Direct Verbs
  net/mlx5: add caching of encap decap actions

 drivers/net/mlx5/Makefile       |   2 +-
 drivers/net/mlx5/meson.build    |   2 +-
 drivers/net/mlx5/mlx5.h         |   1 +
 drivers/net/mlx5/mlx5_flow.h    |  30 ++
 drivers/net/mlx5/mlx5_flow_dv.c | 775 +++++++++++++++++++++++++++++++++++++++-
 drivers/net/mlx5/mlx5_glue.c    |  38 ++
 drivers/net/mlx5/mlx5_glue.h    |  10 +
 7 files changed, 850 insertions(+), 8 deletions(-)