aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 12:45:42 -0500
committerDavid S. Miller <davem@davemloft.net>2019-02-06 17:16:50 -0500
commit7026b8a6fbe1061863a25495d4dc1fa115c8708e (patch)
treea1805dd3c5740c2b775ceeb984e0ce5c46d65e64 /net/switchdev/switchdev.c
parenta5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3 (diff)
rocker: Implement ndo_get_port_parent_id()
mlxsw 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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions