Fri, Mar 01, 2019 at 05:45:15PM CET, [email protected] wrote: >On Fri, 1 Mar 2019 17:05:37 +0100, Jiri Pirko wrote: >> From: Jiri Pirko <[email protected]> >> >> Introduce devlink_compat_switch_id_get() helper which fills up switch_id >> according to passed netdev pointer. Call it directly from >> dev_get_port_parent_id() as a fallback when ndo_get_port_parent_id >> is not defined for given netdev. >> >> Signed-off-by: Jiri Pirko <[email protected]> > >Here my locking concerns are even stronger :S Do you want to introduce >some extra ordering rules regarding lifetime of devlink ports and their >netdevs?
Working on it.
