virtio_net: Add a set_rx_mode interface
authorAlex Williamson <alex.williamson@hp.com>
Wed, 4 Feb 2009 09:02:40 +0000 (09:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2009 00:35:12 +0000 (16:35 -0800)
Make use of the RX_MODE control virtqueue class to enable the
set_rx_mode netdev interface.  This allows us to selectively
enable/disable promiscuous and allmulti mode so we don't see
packets we don't want.  For now, we automatically enable these
as needed if additional unicast or multicast addresses are
requested.

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>

No differences found