From: Alex Williamson Date: Wed, 4 Feb 2009 09:02:40 +0000 (+0000) Subject: virtio_net: Add a set_rx_mode interface X-Git-Tag: v2.6.30-rc1~662^2~829 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2af7698e2dd698d452ab9d63a9ca5956bbe8fc3b;p=pandora-kernel.git virtio_net: Add a set_rx_mode interface 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 Acked-by: Rusty Russell Signed-off-by: David S. Miller --- Reading git-diff-tree failed