From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/5][RFC] virtio-net: MAC filtering Date: Wed, 07 Jan 2009 10:37:32 -0700 Message-ID: <1231349852.7109.79.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Mark McLoughlin To: kvm , qemu-devel Return-path: Received: from g1t0029.austin.hp.com ([15.216.28.36]:9226 "EHLO g1t0029.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751337AbZAGRhG (ORCPT ); Wed, 7 Jan 2009 12:37:06 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This series is based on some of the work Mark McLoughlin has been doing, so isn't going to apply until that makes it into the tree. The goal is to enable MAC filtering at the qemu/kvm level for virtio-net packets. I start by adding the capability to set the MAC address, naming the bits in the status field, enabling filtering, and finally adding a MAC table for additional MAC addresses. If this looks reasonable, I'll follow up with VLAN filtering support. A concern here is the growing size of the virtio-net I/O port space config. This series brings it up to 256 bytes with PCI resource rounding. The VLAN filter bitmap would increase that by another 512 bytes, making it 1kB and limiting us to something less than 64 such devices per guest. Is anyone worried? Should filter tables live in MMIO space for virtio devices? I'll send out the guest side patches for virtio-net in a separate thread. Thanks, Alex -- Alex Williamson HP Open Source & Linux Org.