ice: reorder PF/representor devlink port register/unregister flows
authorJiri Pirko <jiri@nvidia.com>
Mon, 26 Sep 2022 11:09:37 +0000 (13:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 14:54:45 +0000 (07:54 -0700)
commita286ba73871411b8615eb52e9de1dd8c5078ed3d
tree07999eb4241c091ceba4c5c8e524084ef76ce189
parentdfe60949147627f22ec67084af09b3c460339dd0
ice: reorder PF/representor devlink port register/unregister flows

Make sure that netdevice is registered/unregistered while devlink port
is registered.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_repr.c