projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e914fc
)
tuntap: introduce multiqueue flags
author
Jason Wang
<jasowang@redhat.com>
Wed, 31 Oct 2012 19:45:59 +0000
(19:45 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Nov 2012 15:14:08 +0000
(11:14 -0400)
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>
include/uapi/linux/if_tun.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/linux/if_tun.h
b/include/uapi/linux/if_tun.h
index 25a585ce23e68243e1f0a1610f240624aaef6bde..8ef3a87b58a0e317e260fba50236a7198ad77deb 100644
(file)
--- a/
include/uapi/linux/if_tun.h
+++ b/
include/uapi/linux/if_tun.h
@@
-34,6
+34,7
@@
#define TUN_ONE_QUEUE 0x0080
#define TUN_PERSIST 0x0100
#define TUN_VNET_HDR 0x0200
+#define TUN_TAP_MQ 0x0400
/* Ioctl defines */
#define TUNSETNOCSUM _IOW('T', 200, int)
@@
-61,6
+62,7
@@
#define IFF_ONE_QUEUE 0x2000
#define IFF_VNET_HDR 0x4000
#define IFF_TUN_EXCL 0x8000
+#define IFF_MULTI_QUEUE 0x0100
/* Features for GSO (TUNSETOFFLOAD). */
#define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */