net/mlx5: Remove SF table reference counting
authorJiri Pirko <jiri@nvidia.com>
Fri, 19 May 2023 06:21:56 +0000 (08:21 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 20 Sep 2023 06:33:07 +0000 (23:33 -0700)
commit2fe6545ef541bff33362bcce9214e9e390ca34b9
treeac9b671041ecf4d3d3a1eb35db0088f2c39b5211
parenta3cc822beacc7ccabc6966e75e721944818f37ff
net/mlx5: Remove SF table reference counting

Historically, the SF table reference counting was present in order to
protect parallel executions of devlink ops. However, since currently
this is protected with devlink instance lock, the SF table reference
counting is no longer needed. Remove it entirely.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c