commit | f15ec13a9630f0c2297ff94f9fd588d2525fc020 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sun Oct 04 18:12:52 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 04 14:38:52 2020 -0700 |
tree | d5005457cc3c4d7b116e7a02ed0afc4551e2c633 | |
parent | cf1166349c68816f4259d32559f54972b0d5c1a4 [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>