]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Lock mlx5 devlink health recovery callback
authorMoshe Shemesh <moshe@nvidia.com>
Thu, 28 Jul 2022 15:53:49 +0000 (18:53 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jul 2022 04:58:47 +0000 (21:58 -0700)
commiteb0ed74e3b5c75176bba43439e45e7c7b600e4a0
tree118ea76714cff392cdc9a80e285c8bca05f94c01
parent3edaf9f582d454ef1509a7def6c49e4e008c33c6
net/mlx5: Lock mlx5 devlink health recovery callback

Change devlink instance locks in mlx5 driver to have devlink health
recovery callback locked, while keeping all driver paths which lead to
devl_ API functions called by the driver locked.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/net/ethernet/mellanox/mlx5/core/main.c