commit | 4f6a5caf187ff5807cd5b4ea5678982c249bd964 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Sep 09 10:49:31 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 09 14:29:02 2020 -0700 |
tree | 4eac976aabf0fb5d9e44510a300a74224d85d45d | |
parent | 4a056990e16e20f20f305daa53250bd01aaf9ad6 [diff] |
net: dsa: b53: Report VLAN table occupancy via devlink We already maintain an array of VLANs used by the switch so we can simply iterate over it to report the occupancy via devlink. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>