Re: [OpenWrt-Devel] [PATCH] generic ar8xxx: increase VLAN table for AR83x7

2019-11-25 Thread David Bauer
Hello Jo, On 11/25/19 1:01 PM, Jo-Philipp Wich wrote: > Hi, > > does it make sense to keep the vlan/vid indirection if we increase the > table size to 4096? A simple 1:1 mapping of the vid to the table index > would be simpler and more robust from the configuration pov. i would like to keep it (

Re: [OpenWrt-Devel] [PATCH] generic ar8xxx: increase VLAN table for AR83x7

2019-11-25 Thread Jo-Philipp Wich
Hi, does it make sense to keep the vlan/vid indirection if we increase the table size to 4096? A simple 1:1 mapping of the vid to the table index would be simpler and more robust from the configuration pov. ~ Jo ___ openwrt-devel mailing list openwrt-d

Re: [OpenWrt-Devel] [PATCH] generic ar8xxx: increase VLAN table for AR83x7

2019-11-24 Thread Martin Weinelt
Tested-by: Martin Weinelt On 11/24/19 11:21 PM, David Bauer wrote: The Atheros AR8327 and AR8337 have (according to their datasheet) a VLAN table with a maximum of 4096 entries. Currently, there's a hard limit of 128 VLANs, which is the same as for most other Atheros switches. Increase this li

[OpenWrt-Devel] [PATCH] generic ar8xxx: increase VLAN table for AR83x7

2019-11-24 Thread David Bauer
The Atheros AR8327 and AR8337 have (according to their datasheet) a VLAN table with a maximum of 4096 entries. Currently, there's a hard limit of 128 VLANs, which is the same as for most other Atheros switches. Increase this limit only for the AR83x7 series and modify some shared functions to allo