net/mlx5: create global jump action
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:28 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit145b04d8dcc1bc3a17ce908b5c7f6915476d8bc6
treec4c6d25b72f417a72104588023a804933e5a5fb8
parentc6ca05823c98346422b110730760ca3c070ff0b7
net/mlx5: create global jump action

This commit changes the jump action in table to be created with table
creation in advanced. In this case, the jump action is safe to be used
in multiple thread. The jump action will be destroyed when table is not
used anymore and released.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c