On Tue, 26 Mar 2019 13:02:57 +0100, Jiri Pirko wrote:
> From: Jiri Pirko <j...@mellanox.com>
> 
> 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 <j...@mellanox.com>

Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com>

Reply via email to