diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-14 23:00:07 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-16 12:56:39 -0700 |
commit | 5e8930aa86a561998a37aa512d790ad2982122bc (patch) | |
tree | 4724e3d9c08a49b08eabc40ee8989f85a1407786 /include/net | |
parent | 162cca42920c2597298fcdf85538b40356c92151 (diff) | |
download | linux-5e8930aa86a561998a37aa512d790ad2982122bc.tar.gz linux-5e8930aa86a561998a37aa512d790ad2982122bc.tar.bz2 linux-5e8930aa86a561998a37aa512d790ad2982122bc.zip |
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 'include/net')
0 files changed, 0 insertions, 0 deletions