• Jakub Kicinski's avatar
    eth: nfp: replace driver's "pf" lock with devlink instance lock · 162cca42
    Jakub Kicinski authored
    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>
    162cca42
nfp_main.h 5.78 KB