diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-09-09 10:49:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-09 14:29:02 -0700 |
commit | 4f6a5caf187ff5807cd5b4ea5678982c249bd964 (patch) | |
tree | 4eac976aabf0fb5d9e44510a300a74224d85d45d /include/uapi/misc | |
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>
Diffstat (limited to 'include/uapi/misc')
0 files changed, 0 insertions, 0 deletions