On Fri, 1 Mar 2019 08:25:57 +0100, Jiri Pirko wrote: > >> I think it would be beneficial to have the switchid shown for devlink > >> ports too. Then it is clean that the devlink ports with the same > >> switchid belong to the same switch, and other ports under the same > >> devlink instance (like PF itself) is separate, but still under the same > >> ASIC. > > > >Sure, you mean in terms of UI - user space can do a link dump or get > >that from sysfs, right? > > I thinking about moving it to devlink. I'll work on it more today.
At the kernel level? Are we sure this is appropriate? I'd think switchid is in essence a forwarding attribute, so it belongs with netdevs, no?