diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-14 23:00:06 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-16 12:56:37 -0700 |
commit | 162cca42920c2597298fcdf85538b40356c92151 (patch) | |
tree | 4b6de41a2b850fa7e27da1d3675cb7cedadda312 /drivers/net/ethernet/netronome/nfp/nfp_port.h | |
parent | 8a38f2cc968aebe40cfa287b53b1b52ef7acd4dc (diff) | |
download | linux-162cca42920c2597298fcdf85538b40356c92151.tar.bz2 |
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: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_port.h')
0 files changed, 0 insertions, 0 deletions