[PATCH 0/5][RFC] virtio-net: MAC filtering

Alex Williamson
2009-01-07T17:37:06Z

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.