diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-09-09 20:49:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-10 00:29:02 +0300 |
commit | 4f6a5caf187ff5807cd5b4ea5678982c249bd964 (patch) | |
tree | 4eac976aabf0fb5d9e44510a300a74224d85d45d /net/ipv4/ipmr.c | |
parent | 4a056990e16e20f20f305daa53250bd01aaf9ad6 (diff) | |
download | linux-4f6a5caf187ff5807cd5b4ea5678982c249bd964.tar.xz |
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 'net/ipv4/ipmr.c')
0 files changed, 0 insertions, 0 deletions