net/mlx5: support jump action
authorOri Kam <orika@mellanox.com>
Thu, 4 Apr 2019 09:54:08 +0000 (09:54 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit684b9a1b1f5cb2d4de6659627dd65183d4acb881
tree22af9401f0bd3f2e257a61e16e22bcfb4a794254
parent4f84a19779ca2505456a90ed6fa50efc2e3832c2
net/mlx5: support jump action

When using Direct Rules we can add actions to jump between tables.
This is extra useful since rule insertion rate is much higher on other
tables compared to table zero.

If no group is selected the rule is added to group 0.

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_glue.c
drivers/net/mlx5/mlx5_glue.h