summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-10-04 18:12:52 +0200
committerDavid S. Miller <davem@davemloft.net>2020-10-04 14:38:52 -0700
commitf15ec13a9630f0c2297ff94f9fd588d2525fc020 (patch)
treed5005457cc3c4d7b116e7a02ed0afc4551e2c633 /drivers/net/dsa/dsa_loop.c
parentcf1166349c68816f4259d32559f54972b0d5c1a4 (diff)
net: dsa: Make use of devlink port flavour unused
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. Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Tested-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions