From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCgOo-0001AA-30 for qemu-devel@nongnu.org; Fri, 05 Jun 2009 16:52:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCgOj-00016e-GS for qemu-devel@nongnu.org; Fri, 05 Jun 2009 16:52:25 -0400 Received: from [199.232.76.173] (port=38238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCgOj-00016b-Ca for qemu-devel@nongnu.org; Fri, 05 Jun 2009 16:52:21 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:31734) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCgOj-0005qi-10 for qemu-devel@nongnu.org; Fri, 05 Jun 2009 16:52:21 -0400 Received: from g1t0039.austin.hp.com (g1t0039.austin.hp.com [16.236.32.45]) by g4t0017.houston.hp.com (Postfix) with ESMTP id 5B646381B5 for ; Fri, 5 Jun 2009 20:52:18 +0000 (UTC) From: Alex Williamson Date: Fri, 05 Jun 2009 14:46:47 -0600 Message-ID: <20090605204647.3355.81929.stgit@kvm.aw> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/7] virtio-net: Filter cleanup/improvements List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alex.williamson@hp.com This series cleans up a few things around packet filtering. I've probably gone a little overboard on breaking up patches, if we want to avoid bumping the save version_id so much, these could be mostly lumped together. The main features here are more efficient handling of the filtering between unicast and multicast, better overflow tracking, adding more RX modes, and increasing the size of the filter table and control queue depth. I took the reserved version_id 7 for vnet header support into consideration on the first patch. I think we should be able to safely add the guts later with the placeholder. If there are other RX mode controls we should add, let me know, now would be a good time to round out any other flags we can think of. Thanks, Alex --- Alex Williamson (7): virtio-net: Increase filter and control limits virtio-net: Add new RX filter controls virtio-net: MAC filter optimization virtio-net: Fix MAC filter overflow handling virtio-net: reorganize receive_filter() virtio-net: Use a byte to store RX mode flags virtio-net: Add version_id 7 placeholder for vnet header support hw/virtio-net.c | 133 +++++++++++++++++++++++++++++++++++++++++++++---------- hw/virtio-net.h | 14 ++++-- 2 files changed, 118 insertions(+), 29 deletions(-) --