net/mlx5: use thread safe index pool for flow objects
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:20 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit2f3dc1f4e70ff091edbf555f6f4894d634e03add
treec0747c34d33487ba7171ae4e93b38f2dc5d6c4f2
parent6db1fde3891c493b9d352487fc8b6384cc6d06f3
net/mlx5: use thread safe index pool for flow objects

As mlx5 PMD is changed to be thread safe, all the flow-related
sub-objects inside the PMD should be thread safe. This commit
changes the index memory pools' lock configuration to be enabled.
That makes the index pool be thread safe.

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