This series patchs are based on RFC [1], which enable the matching on GRE's key field. And enabled MLX5 device supports on this.
Patch 4 is based on patch [2], which needs to be merged before this one. [1] https://patches.dpdk.org/patch/53432/ [2] https://patches.dpdk.org/patch/55773/ --- v2: * remove struct rte_flow_item_gre_key in order to comply new convention v3: * updated release note * fixed one bug v4: * resend patchs in thread mode --- 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 | 32 ++++++++ doc/guides/prog_guide/rte_flow.rst | 8 ++ doc/guides/rel_notes/release_19_08.rst | 5 ++ 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 ++ 10 files changed, 199 insertions(+), 2 deletions(-) -- 2.21.0