History

tuntap: introduce multiqueue flags

Add flags to be used by creating multiqueue tuntap device.

Jason Wang committed 14 years ago

Commit bbb00991 parent 6e914fc1 file · +2 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/if_tun.h+2−0
@@ -34,6 +34,7 @@ · 33 unmodified lines
3434 #define TUN_ONE_QUEUE 0x0080
3535 #define TUN_PERSIST 0x0100
3636 #define TUN_VNET_HDR 0x0200
37+#define TUN_TAP_MQ 0x0400
3738
3839 /* Ioctl defines */
3940 #define TUNSETNOCSUM _IOW('T', 200, int)
@@ -61,6 +62,7 @@ · 21 unmodified lines
6162 #define IFF_ONE_QUEUE 0x2000
6263 #define IFF_VNET_HDR 0x4000
6364 #define IFF_TUN_EXCL 0x8000
65+#define IFF_MULTI_QUEUE 0x0100
6466
6567 /* Features for GSO (TUNSETOFFLOAD). */
6668 #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */