[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220926110938.2800005-1-jiri@resnulli.us>
Date: Mon, 26 Sep 2022 13:09:35 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, dmichail@...gible.com,
jesse.brandeburg@...el.com, anthony.l.nguyen@...el.com,
snelson@...sando.io, drivers@...sando.io, f.fainelli@...il.com,
yangyingliang@...wei.com
Subject: [patch net-next 0/3] devlink: fix order of port and netdev register in drivers
From: Jiri Pirko <jiri@...dia.com>
Some of the drivers use wrong order in registering devlink port and
netdev, registering netdev first. That was not intended as the devlink
port is some sort of parent for the netdev. Fix the ordering.
Note that the follow-up patchset is going to make this ordering
mandatory.
Jiri Pirko (3):
funeth: unregister devlink port after netdevice unregister
ice: reorder PF/representor devlink port register/unregister flows
ionic: change order of devlink port register and netdev register
.../net/ethernet/fungible/funeth/funeth_main.c | 2 +-
drivers/net/ethernet/intel/ice/ice_lib.c | 6 +++---
drivers/net/ethernet/intel/ice/ice_main.c | 12 ++++++------
drivers/net/ethernet/intel/ice/ice_repr.c | 2 +-
.../net/ethernet/pensando/ionic/ionic_bus_pci.c | 16 ++++++++--------
5 files changed, 19 insertions(+), 19 deletions(-)
--
2.37.1
Powered by blists - more mailing lists