Re: [PATCH net-next v3 08/12] rocker: Implement ndo_get_port_parent_id()

2019-02-06 Thread Jiri Pirko
Wed, Feb 06, 2019 at 12:53:22AM CET, f.faine...@gmail.com wrote: >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. >

[PATCH net-next v3 08/12] rocker: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
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. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/rocker/roc