diff options
| author | 2019-02-06 09:45:40 -0800 | |
|---|---|---|
| committer | 2019-02-06 14:16:12 -0800 | |
| commit | 751302c35ea0ae5aac9918e85199eb9f56a5afac (patch) | |
| tree | 4f27ac2c9461c9992240042e3ab0aaf165f36559 /drivers/net/netdevsim/netdev.c | |
| parent | mlxsw: Implement ndo_get_port_parent_id() (diff) | |
| download | linux-dev-751302c35ea0ae5aac9918e85199eb9f56a5afac.tar.xz linux-dev-751302c35ea0ae5aac9918e85199eb9f56a5afac.zip | |
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 'drivers/net/netdevsim/netdev.c')
0 files changed, 0 insertions, 0 deletions
