diff options
author | Jason Wang <jasowang@redhat.com> | 2012-10-31 15:45:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 11:14:08 -0400 |
commit | bbb009941efaece3898910a862f6d23aa55d6ba8 (patch) | |
tree | c7006844fcac3a77c6e1057b09b3a6fed047058c | |
parent | 6e914fc70793f540015bd99744cd456b8d7fdfbd (diff) |
tuntap: introduce multiqueue flags
Add flags to be used by creating multiqueue tuntap device.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/uapi/linux/if_tun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tun.h b/include/uapi/linux/if_tun.h index 25a585ce23e6..8ef3a87b58a0 100644 --- a/include/uapi/linux/if_tun.h +++ b/include/uapi/linux/if_tun.h | |||
@@ -34,6 +34,7 @@ | |||
34 | #define TUN_ONE_QUEUE 0x0080 | 34 | #define TUN_ONE_QUEUE 0x0080 |
35 | #define TUN_PERSIST 0x0100 | 35 | #define TUN_PERSIST 0x0100 |
36 | #define TUN_VNET_HDR 0x0200 | 36 | #define TUN_VNET_HDR 0x0200 |
37 | #define TUN_TAP_MQ 0x0400 | ||
37 | 38 | ||
38 | /* Ioctl defines */ | 39 | /* Ioctl defines */ |
39 | #define TUNSETNOCSUM _IOW('T', 200, int) | 40 | #define TUNSETNOCSUM _IOW('T', 200, int) |
@@ -61,6 +62,7 @@ | |||
61 | #define IFF_ONE_QUEUE 0x2000 | 62 | #define IFF_ONE_QUEUE 0x2000 |
62 | #define IFF_VNET_HDR 0x4000 | 63 | #define IFF_VNET_HDR 0x4000 |
63 | #define IFF_TUN_EXCL 0x8000 | 64 | #define IFF_TUN_EXCL 0x8000 |
65 | #define IFF_MULTI_QUEUE 0x0100 | ||
64 | 66 | ||
65 | /* Features for GSO (TUNSETOFFLOAD). */ | 67 | /* Features for GSO (TUNSETOFFLOAD). */ |
66 | #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ | 68 | #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ |