Re: [PATCH net-next v3 11/12] net: dsa: Implement ndo_get_port_parent_id()

2019-02-06 Thread Vivien Didelot
Hi Florian, On Tue, 5 Feb 2019 15:53:25 -0800, Florian Fainelli wrote: > DSA 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()

Re: [PATCH net-next v3 11/12] net: dsa: Implement ndo_get_port_parent_id()

2019-02-06 Thread Jiri Pirko
Wed, Feb 06, 2019 at 12:53:25AM CET, f.faine...@gmail.com wrote: >DSA 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 11/12] net: dsa: Implement ndo_get_port_parent_id()

2019-02-05 Thread Florian Fainelli
DSA 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 --- net/dsa/slave.c | 18