aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_debugfs.c
diff options
context:
space:
mode:
authorWojciech Drewek <[email protected]>2024-02-05 13:03:56 +0000
committerTony Nguyen <[email protected]>2024-02-12 18:11:53 +0000
commit41cc4e53934c30f1cf7745c257154e538c78a1f5 (patch)
tree365e931ebdde61de9a8357eec33095ba158d3f6f /drivers/net/ethernet/intel/ice/ice_debugfs.c
parentice: add support for 3k signing DDP sections for E825C (diff)
downloadkernel-41cc4e53934c30f1cf7745c257154e538c78a1f5.tar.gz
kernel-41cc4e53934c30f1cf7745c257154e538c78a1f5.zip
ice: Remove and readd netdev during devlink reload
Recent changes to the devlink reload (commit 9b2348e2d6c9 ("devlink: warn about existing entities during reload-reinit")) force the drivers to destroy devlink ports during reinit. Adjust ice driver to this requirement, unregister netdvice, destroy devlink port. ice_init_eth() was removed and all the common code between probe and reload was moved to ice_load(). During devlink reload we can't take devl_lock (it's already taken) and in ice_probe() we have to lock it. Use devl_* variant of the API which does not acquire and release devl_lock. Guard ice_load() with devl_lock only in case of probe. Suggested-by: Jiri Pirko <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Reviewed-by: Vadim Fedorenko <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Brett Creeley <[email protected]> Signed-off-by: Wojciech Drewek <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_debugfs.c')
0 files changed, 0 insertions, 0 deletions