Re: [PATCH net-next] net: dsa: Add ndo_get_phys_port_name() for CPU port

From: David Miller
Date: Thu Jan 17 2019 - 00:12:34 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Tue, 15 Jan 2019 14:43:04 -0800

> There is not currently way to infer the port number through sysfs that
> is being used as the CPU port number. Overlay a ndo_get_phys_port_name()
> operation onto the DSA master network device in order to retrieve that
> information.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied.