mbox

[v2,0/4] ethdev: add GRE key field to flow API

Message ID 20190701131159.89164-1-jackmin@mellanox.com (mailing list archive)
Headers

Message

Xiaoyu Min July 1, 2019, 1:11 p.m. UTC
  This series patchs are based on RFC [1], which enable the matching on
GRE's key field.
And enabled MLX5 device supports on this.

[1] https://patches.dpdk.org/patch/53432/

---
v2:
  * remove struct rte_flow_item_gre_key in order to comply new convention

---
Xiaoyu Min (4):
  ethdev: add GRE key field to flow API
  net/mlx5: support match GRE protocol on DR engine
  net/mlx5: match GRE's key and present bits
  app/testpmd: match GRE's key and present bits

 app/test-pmd/cmdline_flow.c                 | 40 ++++++++++
 doc/guides/prog_guide/rte_flow.rst          |  8 ++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  4 +
 drivers/net/mlx5/mlx5_flow.c                | 52 ++++++++++++-
 drivers/net/mlx5/mlx5_flow.h                |  5 ++
 drivers/net/mlx5/mlx5_flow_dv.c             | 81 +++++++++++++++++++++
 drivers/net/mlx5/mlx5_prm.h                 |  6 +-
 lib/librte_ethdev/rte_flow.c                |  1 +
 lib/librte_ethdev/rte_flow.h                |  7 ++
 9 files changed, 202 insertions(+), 2 deletions(-)