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 v8: * rebased PMD patchs on v19.08-rc1 v9: * fix release note --- Xiaoyu Min (2): net/mlx5: support match GRE protocol on DR engine net/mlx5: match GRE's key and present bits doc/guides/rel_notes/release_19_08.rst | 1 + drivers/net/mlx5/mlx5_flow.c | 63 ++++++++++++++++++- drivers/net/mlx5/mlx5_flow.h | 5 ++ drivers/net/mlx5/mlx5_flow_dv.c | 84 ++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_prm.h | 6 +- 5 files changed, 157 insertions(+), 2 deletions(-) -- 2.21.0