From: Amos Kong <akong@redhat.com>
To: qemu-devel@nongnu.org
Cc: alex.williamson@redhat.com, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH] virtio-net: fix wrong size of vlan filter table
Date: Wed, 5 Jun 2013 16:56:35 +0800 [thread overview]
Message-ID: <20130605085635.GA32295@t430s.nay.redhat.com> (raw)
In-Reply-To: <20130605072130.GB4705@t430s.nay.redhat.com>
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.
next prev parent reply other threads:[~2013-06-05 8:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 6:13 [Qemu-devel] [PATCH] virtio-net: fix wrong size of vlan filter table Amos Kong
2013-06-05 7:21 ` Amos Kong
2013-06-05 8:56 ` Amos Kong [this message]
2013-06-05 11:38 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130605085635.GA32295@t430s.nay.redhat.com \
--to=akong@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).