On Tue, 26 Mar 2019 13:02:57 +0100, Jiri Pirko wrote: > From: Jiri Pirko <[email protected]> > > Introduce devlink_compat_phys_port_name_get() helper that > gets the physical port name for specified netdevice > according to devlink port attributes. > Call this helper from dev_get_phys_port_name() > in case ndo_get_phys_port_name is not defined. > > Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
