]> git.proxmox.com Git - qemu.git/commit - include/hw/virtio/virtio-net.h
qemu:virtio-net: Add VLAN filtering (Alex Williamson)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:32 +0000 (22:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:32 +0000 (22:36 +0000)
commitf21c0ed97c9754683b168deb6112b3a280361ff2
tree332d49aa8ef6784c3bf3a1080b7967547f97bfe6
parentb6503ed9b8815ecfb82fe9faba28936365321248
qemu:virtio-net: Add VLAN filtering (Alex Williamson)

Use the control virtqueue to allow the guest to enable and manipulate
a VLAN filter table.  This allows us to drop more packets the guest
doesn't want to see.  We define a new VLAN class for the control
virtqueue with commands ADD and DEL with usage defined in virtio-net.h.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6540 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio-net.h