On Wed, Jun 05, 2013 at 03:21:30PM +0800, Amos Kong wrote: > On Wed, Jun 05, 2013 at 02:13:48PM +0800, Amos Kong wrote: > > The MAX_VLAN is 4096, currently the vlan filter table has 512 > > (4096 >> 3) entries, it's wrong. > > > > One entry in vlan filter table can indicate 32(1 << 5) vlans, > > so the table should have 128 (4096 >> 5) entries.
The patch is wrong, one entry takes 4 bytes. Sorry for the noise. -- Amos.