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
34#define TUN_ONE_QUEUE 0x008034#define TUN_ONE_QUEUE 0x0080
35#define TUN_PERSIST 0x0100 35#define TUN_PERSIST 0x0100
36#define TUN_VNET_HDR 0x020036#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 @@ · 21 unmodified lines
61#define IFF_ONE_QUEUE 0x200062#define IFF_ONE_QUEUE 0x2000
62#define IFF_VNET_HDR 0x400063#define IFF_VNET_HDR 0x4000
63#define IFF_TUN_EXCL 0x800064#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. */