Skip to content
Commit 162cca42 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

eth: nfp: replace driver's "pf" lock with devlink instance lock



The whole reason for existence of the pf mutex is that we could
not lock the devlink instance around port splitting. There are
more types of reconfig which can make ports appear or disappear.
Now that the devlink instance lock is exposed to drivers and
"locked" helpers exist we can switch to using the devlink lock
directly.

Next patches will move the locking inside .port_(un)split to
the core.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8a38f2cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment