linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: davem@davemloft.net, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, mst@redhat.com
To: davem@davemloft.net, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, mst@redhat.com
Cc: maxk@qualcomm.com, haixiao@juniper.net,
	ernesto.martin@viasat.com, krkumar2@in.ibm.com,
	edumazet@google.com, Jason Wang <jasowang@redhat.com>
Subject: [net-next v4 4/7] tuntap: introduce multiqueue flags
Date: Mon, 29 Oct 2012 13:36:01 +0800	[thread overview]
Message-ID: <1351488964-11109-6-git-send-email-jasowang@redhat.com> (raw)
In-Reply-To: <1351488964-11109-1-git-send-email-jasowang@redhat.com>

Add flags to be used by creating multiqueue tuntap device.

Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 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 25a585c..8ef3a87 100644
--- 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. */
-- 
1.7.1


  parent reply	other threads:[~2012-10-29  5:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29  5:35 [net-next v4 0/7] Multiqueue support in tuntap Jason Wang
2012-10-29  5:35 ` [PATCH] tuntap: choose the txq based on rxq Jason Wang
2012-10-29  6:03   ` Jason Wang
2012-10-29  5:35 ` [net-next v4 1/7] tuntap: log the unsigned informaiton with %u Jason Wang
2012-10-29  5:35 ` [net-next v4 2/7] tuntap: move socket to tun_file Jason Wang
2012-10-29  5:36 ` [net-next v4 3/7] tuntap: RCUify dereferencing between tun_struct and tun_file Jason Wang
2012-10-29  5:36 ` Jason Wang [this message]
2012-10-29  5:36 ` [net-next v4 5/7] tuntap: multiqueue support Jason Wang
2012-10-29  5:36 ` [net-next v4 6/7] tuntap: add ioctl to attach or detach a file form tuntap device Jason Wang
2012-10-29  5:36 ` [net-next v4 7/7] tuntap: choose the txq based on rxq Jason Wang
2012-10-29  6:07 ` [net-next v4 0/7] Multiqueue support in tuntap David Miller
2012-10-29  6:16   ` Jason Wang
2012-10-30 23:52 ` Stephen Hemminger
2012-11-01  5:07   ` Jason Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351488964-11109-6-git-send-email-jasowang@redhat.com \
    --to=jasowang@redhat.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=ernesto.martin@viasat.com \
    --cc=haixiao@juniper.net \
    --cc=krkumar2@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxk@qualcomm.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).