summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-06 20:45:40 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-07 01:16:12 +0300
commit751302c35ea0ae5aac9918e85199eb9f56a5afac (patch)
tree4f27ac2c9461c9992240042e3ab0aaf165f36559 /net/switchdev/switchdev.c
parent25ba8605147689462c750eb9f2e53f6b88bd953a (diff)
downloadlinux-751302c35ea0ae5aac9918e85199eb9f56a5afac.tar.xz
mscc: ocelot: Implement ndo_get_port_parent_id()
Ocelot only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID as a valid switchdev attribute getter, convert it to use ndo_get_port_parent_id() and get rid of the switchdev_ops::switchdev_port_attr_get altogether. 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