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

2019-01-16 Thread David Miller
From: Florian Fainelli 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.

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

2019-01-15 Thread Florian Fainelli
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 --- include/net/dsa.h | 5 +