]> 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)
commitc9b692c7e784771c3647d7ca0fc30460a5b9f074
tree118ea76714cff392cdc9a80e285c8bca05f94c01
parent3e2bc4a5a76a186d5868c2074fc754f526622eea
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