diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-15 09:00:07 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-16 22:56:39 +0300 |
commit | 5e8930aa86a561998a37aa512d790ad2982122bc (patch) | |
tree | 4724e3d9c08a49b08eabc40ee8989f85a1407786 /net | |
parent | 162cca42920c2597298fcdf85538b40356c92151 (diff) | |
download | linux-5e8930aa86a561998a37aa512d790ad2982122bc.tar.xz |
eth: mlxsw: switch to explicit locking for port registration
Explicitly lock the devlink instance and use devl_ API.
This will be used by the subsequent patch to invoke
.port_split / .port_unsplit callbacks with devlink
instance lock held.
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