Re: [PATCH net-next v2 2/7] net: dsa: Make use of devlink port flavour unused

2020-09-26 Thread Vladimir Oltean
On Sat, Sep 26, 2020 at 11:06:27PM +0200, Andrew Lunn wrote: > If a port is unused, still create a devlink port for it, but set the > flavour to unused. This allows us to attach devlink regions to the > port, etc. > > Signed-off-by: Andrew Lunn > --- Reviewed-by: Vladimir Oltean Tested-by: Vladi

[PATCH net-next v2 2/7] net: dsa: Make use of devlink port flavour unused

2020-09-26 Thread Andrew Lunn
If a port is unused, still create a devlink port for it, but set the flavour to unused. This allows us to attach devlink regions to the port, etc. Signed-off-by: Andrew Lunn --- net/dsa/dsa2.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index 3