Re: [PATCH RFC net-next 12/23] net: dsa: lantiq_gswip: support 4k VLANs on API 2.2 or later
From: Andrew Lunn
Date: Thu Aug 21 2025 - 13:04:31 EST
> > @@ -269,7 +270,8 @@ struct gswip_priv {
> > struct dsa_switch *ds;
> > struct device *dev;
> > struct regmap *rcu_regmap;
> > - struct gswip_vlan vlans[64];
> > + struct gswip_vlan (*vlans)[];
>
> ... if this would be just "struct gswip_vlan *vlans;"?
Could it be moved to the end of the structure and made into an
flexible array?
Andrew