summaryrefslogtreecommitdiff
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 20:45:45 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-07 01:17:03 +0300
commit929d6c145ec4cf11482519cfd0ebf17c2fce92db (patch)
tree9063d8a97848fec3a487fdd050df3d1c39b9fcb9 /net/core/net-sysfs.c
parent7870a7bd570bc1bd43622c7c6828931d3ea98b8c (diff)
downloadlinux-929d6c145ec4cf11482519cfd0ebf17c2fce92db.tar.xz
net: dsa: Implement ndo_get_port_parent_id()
DSA implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions