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.
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 +
ne