net/mlx5: fix jump action validation
authorDekel Peled <dekelp@mellanox.com>
Thu, 15 Aug 2019 09:26:51 +0000 (12:26 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Sep 2019 15:15:14 +0000 (17:15 +0200)
commitb41c48b7ad6b81825001f70a7ee9b7e5bab01e76
tree4ef88866c78dc9d0deb6b79389168be239d15a00
parente6ed9dfdf848a3c7995dc6fa8f56f8c7fbb85161
net/mlx5: fix jump action validation

This patch updates the validation function of jump action.
It adds check of conflicting fate actions in flow rule.
It also removes check of action->type which is not needed.

Fixes: 684b9a1b1f5c ("net/mlx5: support jump action")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c