On Fri, 8 Jan 2021 19:59:48 +0200 Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > Add devlink integration into the mscc_ocelot switchdev driver. Only the > probed interfaces are registered with devlink, because for convenience, > struct devlink_port was included into struct ocelot_port_private, which > is only initialized for the ports that are used.
This sounds like something that DSA should have a general policy on. I actually feel like it was discussed in the past.. Do you know what other drivers do?