From: Jason Wang Date: Wed, 5 Jun 2013 23:54:39 +0000 (+0000) Subject: macvtap: add TUNSETQUEUE ioctl X-Git-Tag: v3.11-rc1~16^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815f236d622721b54f3963ba59dad98b02cdeabf;p=pandora-kernel.git macvtap: add TUNSETQUEUE ioctl This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or enable a queue of macvtap. This is used to be compatible at API layer of tuntap to simplify the userspace to manage the queues. This is done through introducing a linked list to track all taps while using vlan->taps array to only track active taps. Signed-off-by: Jason Wang Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed