summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 20:45:42 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-07 01:16:50 +0300
commit7026b8a6fbe1061863a25495d4dc1fa115c8708e (patch)
treea1805dd3c5740c2b775ceeb984e0ce5c46d65e64 /drivers/net/netdevsim
parenta5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3 (diff)
downloadlinux-7026b8a6fbe1061863a25495d4dc1fa115c8708e.tar.xz
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 'drivers/net/netdevsim')
0 files changed, 0 insertions, 0 deletions