aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2019-02-06 17:45:45 +0000
committerDavid S. Miller <[email protected]>2019-02-06 22:17:03 +0000
commit929d6c145ec4cf11482519cfd0ebf17c2fce92db (patch)
tree9063d8a97848fec3a487fdd050df3d1c39b9fcb9 /net/switchdev/switchdev.c
parentstaging: fsl-dpaa2: ethsw: Implement ndo_get_port_parent_id() (diff)
downloadkernel-929d6c145ec4cf11482519cfd0ebf17c2fce92db.tar.gz
kernel-929d6c145ec4cf11482519cfd0ebf17c2fce92db.zip
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 <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions