Re: [PATCH net-next 1/7] net: dsa: Add helper to convert from devlink to ds
On 8/16/20 12:43 PM, Andrew Lunn wrote: > Given a devlink instance, return the dsa switch it is associated to. > > Signed-off-by: Andrew Lunn Reviewed-by: Florian Fainelli -- Florian
[PATCH net-next 1/7] net: dsa: Add helper to convert from devlink to ds
Given a devlink instance, return the dsa switch it is associated to. Signed-off-by: Andrew Lunn --- include/net/dsa.h | 2 ++ net/dsa/dsa.c | 20 ++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 75c8fac82017..6