net/mlx5: make flow table cache thread safe
authorXueming Li <xuemingl@nvidia.com>
Wed, 28 Oct 2020 09:33:33 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commitafd7a62514adca11a2f26e4e320cc7d3aff72952
tree36313780c66cb6ecbec66442a6a1be713730c870
parenteeca57902713fd5b89290c645808faf8c4f74b5b
net/mlx5: make flow table cache thread safe

To support multi-thread flow insertion/removal, this patch uses thread
safe hash list API for flow table cache hash list.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c