From: Florian Fainelli
Date: Wed, 9 Sep 2020 10:49:31 -0700
> 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
Applied.
On Wed, Sep 09, 2020 at 10:49:31AM -0700, Florian Fainelli wrote:
> 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
Reviewed-by: Andrew Lunn
Andrew
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
---
Changes in v2:
- make count u64
- correct typo: s/PARMA/PARAM/
drivers/net/dsa/b53/b53_common.c | 60 ++