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 v3: * updated release note * fixed one bug v4: * resend patchs in thread mode v5: * report error when K is off but gre_key item present * removed ITEM_CRKSV, added c_bit, k_bit, s_bit in testpmd * document updated v6: * one fix in pmd v7: * addressed comments in TestPMD --- 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 | 64 ++++++++++++++++ doc/guides/prog_guide/rte_flow.rst | 9 +++ doc/guides/rel_notes/release_19_08.rst | 5 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 + drivers/net/mlx5/mlx5_flow.c | 63 +++++++++++++++- drivers/net/mlx5/mlx5_flow.h | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c | 84 +++++++++++++++++++++ drivers/net/mlx5/mlx5_prm.h | 6 +- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 13 ++++ 10 files changed, 253 insertions(+), 2 deletions(-) -- 2.21.0