Re: [PATCH net-next v2] net: dsa: b53: Report VLAN table occupancy via devlink

2020-09-09 Thread David Miller
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.

Re: [PATCH net-next v2] net: dsa: b53: Report VLAN table occupancy via devlink

2020-09-09 Thread Andrew Lunn
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

[PATCH net-next v2] net: dsa: b53: Report VLAN table occupancy via devlink

2020-09-09 Thread Florian Fainelli
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