virtio_net: Add support for VLAN filtering in the hypervisor
authorAlex Williamson <alex.williamson@hp.com>
Wed, 4 Feb 2009 09:02:50 +0000 (09:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 00:35:13 +0000 (16:35 -0800)
commit0bde95690d65653e420d04856c5d5783155c747c
tree480f2e23d6d5cf39af1bc86e209dd2cc68695301
parentf565a7c259d71cc186753653d978c646d2354b36
virtio_net: Add support for VLAN filtering in the hypervisor

VLAN filtering allows the hypervisor to drop packets from VLANs
that we're not a part of, further reducing the number of extraneous
packets recieved.  This makes use of the VLAN virtqueue command class.
The CTRL_VLAN feature bit tells us whether the backend supports VLAN
filtering.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c
include/linux/virtio_net.h