net/mlx5: fix zero metadata action
authorWisam Jaddo <wisamm@mellanox.com>
Thu, 12 Mar 2020 09:24:40 +0000 (11:24 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 18 Mar 2020 14:29:39 +0000 (15:29 +0100)
commit85e26044cb8da437428dcf3a0755ceb1cdd38426
tree5781b420aecdaba75ff57478c240e43669066f76
parenta6131c7a9589fb452f00c4a7c8f1197108691f6f
net/mlx5: fix zero metadata action

There is no reason to prevent the user from using zero metadata,
it indeed means no metadata, but sometimes the user may need to
report to datapath that there is no metadata anymore, which is
valid case.

Fixes: fcc8d2f716fd ("net/mlx5: extend flow metadata support")
Cc: stable@dpdk.org
Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c