diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-07-16 13:02:38 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-18 20:10:47 -0700 |
commit | 72a4c8c94efa5ce2b46c3f921b8830d7704121fc (patch) | |
tree | 995cebfa416308b88b4b0815ed778836ada9dce9 /net | |
parent | 70a2ff89369d17c55efacb789171c3bd05c21817 (diff) |
mlxsw: convert driver to use unlocked devlink API during init/fini
Prepare for devlink reload being called with devlink->lock held and
convert the mlxsw driver to use unlocked devlink API during init and
fini flows. Take devl_lock() in reload_down() and reload_up() ops in the
meantime before reload cmd is converted to take the lock itself.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions