virtio_net: Add a MAC filter table
authorAlex Williamson <alex.williamson@hp.com>
Wed, 4 Feb 2009 09:02:45 +0000 (09:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 00:35:13 +0000 (16:35 -0800)
commitf565a7c259d71cc186753653d978c646d2354b36
tree67eac82cc9043d80e77c2627b3de862da1cca439
parent2af7698e2dd698d452ab9d63a9ca5956bbe8fc3b
virtio_net: Add a MAC filter table

Make use of the MAC control virtqueue class to support a MAC
filter table.  The filter table is managed by the hypervisor.
We consider the table to be available if the CTRL_RX feature
bit is set.  We leave it to the hypervisor to manage the table
and enable promiscuous or all-multi mode as necessary depending
on the resources available to it.

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