summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2012-10-31 19:46:00 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-11-01 15:14:08 (GMT)
commitc8d68e6be1c3b242f1c598595830890b65cea64a (patch)
treec3e3de9051548b119743e5c3ae1ecf62bd32f40e /include/uapi
parentbbb009941efaece3898910a862f6d23aa55d6ba8 (diff)
downloadlinux-c8d68e6be1c3b242f1c598595830890b65cea64a.tar.xz
tuntap: multiqueue support
This patch converts tun/tap to a multiqueue devices and expose the multiqueue queues as multiple file descriptors to userspace. Internally, each tun_file were abstracted as a queue, and an array of pointers to tun_file structurs were stored in tun_structure device, so multiple tun_files were allowed to be attached to the device as multiple queues. When choosing txq, we first try to identify a flow through its rxhash, if it does not have such one, we could try recorded rxq and then use them to choose the transmit queue. This policy may be changed in the future. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions