tap: import linux multiqueue constants
commit4e4f9ae7da90b55fe77307e58c867aa6b02a7384
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:29 +0000 (30 19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:01 +0000 (1 11:03 -0600)
treee5c1ce1edd9b31fe5dbf44f7c6ae0cca2bac0033
parent1ceef9f27359cbe92ef124bf74de6f792e71f6fb
tap: import linux multiqueue constants

Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flag
IFF_MULTI_QUEUE were introduced to create a multiqueue backend by calling
TUNSETIFF with the this flag and with the same interface name many times.

A new ioctl TUNSETQUEUE were introduced. When doing this ioctl with
IFF_DETACH_QUEUE, the queue were disabled in the linux kernel. When doing this
ioctl with IFF_ATTACH_QUEUE, the queue were enabled in the linux kernel.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net/tap-linux.h