common/mlx5: add per-lcore sharing flag in object list
authorSuanming Mou <suanmingm@nvidia.com>
Tue, 13 Jul 2021 08:44:48 +0000 (11:44 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 15 Jul 2021 13:50:31 +0000 (15:50 +0200)
commitd03b786005775804cfc04a0281ad2b4615bda30f
tree29dadf2b9ad052378f48e65d529a6496e1cca952
parent9c373c524bae775e39b1258a9e037f717202a840
common/mlx5: add per-lcore sharing flag in object list

Without lcores_share flag, mlx5 PMD was sharing the rdma-core objects
between all lcores.

Having lcores_share flag disabled, means each lcore will have its own
objects, which will eventually lead to increased insertion/deletion
rates.

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