net/mlx5: match GRE key and present bits
authorXiaoyu Min <jackmin@mellanox.com>
Tue, 9 Jul 2019 10:59:13 +0000 (18:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:34 +0000 (14:31 +0200)
commita7a0365565a41db2272e2742afb74d4c18160e3e
tree2555566ca6a95192cb8de37306bc3b041b6f0c27
parent9f8dee4bcb46d324613174745adca2bb2416adfb
net/mlx5: match GRE key and present bits

Support matching on the present bits (C,K,S)
as well as the optional key field.

If the rte_flow_item_gre_key is specified in pattern,
it will set K present match automatically.

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
doc/guides/rel_notes/release_19_08.rst
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_prm.h