The multi-queue support of tuntap has been added to upstream.

Signed-off-by: Wanlong Gao <[email protected]>
---
 testcases/kernel/syscalls/ioctl/ioctl03.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/ioctl/ioctl03.c 
b/testcases/kernel/syscalls/ioctl/ioctl03.c
index e7d1f02..6bc3e2a 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl03.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl03.c
@@ -58,6 +58,10 @@
 #define IFF_VNET_HDR   0x4000
 #endif
 
+#ifndef IFF_MULTI_QUEUE
+#define IFF_MULTI_QUEUE        0x0100
+#endif
+
 char *TCID = "ioctl03";
 int TST_TOTAL = 1;
 
@@ -82,7 +86,8 @@ static struct {
        IFF_TAP, "TAP"}, {
        IFF_NO_PI, "NO_PI"}, {
        IFF_ONE_QUEUE, "ONE_QUEUE"}, {
-       IFF_VNET_HDR, "VNET_HDR"}
+       IFF_VNET_HDR, "VNET_HDR"}, {
+       IFF_MULTI_QUEUE, "MULTI_QUEUE"}
 };
 
 int main()
-- 
1.8.0


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to