net/mlx5: allow jump to group lower than current
authorDekel Peled <dekelp@mellanox.com>
Thu, 7 Nov 2019 11:33:35 +0000 (13:33 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commitf78f747f41d04a35ceca630b68ff204b0a58534e
tree189babc94bc3f158fe79a462c46729d8940881bc
parentdd3c774f6ffb446ede55037b69fd6862fd0fd40f
net/mlx5: allow jump to group lower than current

In current implementation, jump action is allowed only if target
group is higher than the current flow group,

This patch updates function flow_dv_validate_action_jump() to allow
jump action if target group is higher or lower than the current flow
group.
Target group equal to current flow group is still rejected.

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c