[PATCH net-next v3 06/12] mscc: ocelot: Implement ndo_get_port_parent_id()

Jiri Pirko jiri at resnulli.us
Wed Feb 6 13:16:19 UTC 2019


Wed, Feb 06, 2019 at 12:53:20AM CET, f.fainelli at gmail.com wrote:
>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.
>
>Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>

Acked-by: Jiri Pirko <jiri at mellanox.com>


More information about the devel mailing list