net: dsa: Implement ndo_get_phys_port_name()
Return the physical port number of a DSA created network device using ndo_get_phys_port_name(). Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com> Tested-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: NJiri Pirko <jiri@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录