qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-net: fix wrong size of vlan filter table


From: Amos Kong
Subject: Re: [Qemu-devel] [PATCH] virtio-net: fix wrong size of vlan filter table
Date: Wed, 5 Jun 2013 16:56:35 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]