From: Vladimir Oltean
Date: Wed, 9 Sep 2020 19:03:37 +0300
> On Tue, Sep 08, 2020 at 09:32:34PM -0700, Florian Fainelli wrote:
>> @@ -977,6 +977,53 @@ int b53_get_sset_count(struct dsa_switch *ds, int port,
>> int sset)
>> }
>> EXPORT_SYMBOL(b53_get_sset_count);
>>
>> +enum b53_devlink_resou
On Tue, Sep 08, 2020 at 09:32:34PM -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
> ---
> drivers/net/dsa/b53/b53_common.c | 59 +
On Tue, 8 Sep 2020 21:32:34 -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: Jakub Kicinski
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
---
drivers/net/dsa/b53/b53_common.c | 59 ++--
drivers/net/dsa/b53/b53_priv.h | 1 +
drivers/net/dsa/bcm_