Re: [patch net-next v4 09/12] dsa: implement ndo_get_devlink_port

2019-03-28 Thread Florian Fainelli
On 3/28/19 5:56 AM, Jiri Pirko wrote: > From: Jiri Pirko > > In order for devlink compat functions to work, implement > ndo_get_devlink_port. Legacy slaves does not have devlink port instances > created for themselves. > > Signed-off-by: Jiri Pirko Reviewed-by: Florian Fainelli Thanks for ma

[patch net-next v4 09/12] dsa: implement ndo_get_devlink_port

2019-03-28 Thread Jiri Pirko
From: Jiri Pirko In order for devlink compat functions to work, implement ndo_get_devlink_port. Legacy slaves does not have devlink port instances created for themselves. Signed-off-by: Jiri Pirko --- v3->v4: - return null for legacy instead of separate set of ndos v1->v2: - new patch --- net/