commit | da7b9e9b00d4859d0fa563d7fe9a2b2dff59e852 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Jan 15 14:43:04 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 16 21:12:21 2019 -0800 |
tree | 780c33a93ca4a8a13ca6dc3e5012e345fe5e5fe2 | |
parent | 44543f1dd2a39d56c9afdc3778aa050b5a4725b4 [diff] |
net: dsa: Add ndo_get_phys_port_name() for CPU port 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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>