Statistics
| Branch: | Revision:

root / net / tap-linux.h @ feature-archipelago

History | View | Annotate | Download (1.7 kB)

# Date Author Comment
d26e445c 02/27/2013 05:10 pm Peter Lieven

tap: set IFF_ONE_QUEUE per default

historically the kernel queues packets two times. once
at the device and second in qdisc. this is believed to cause
interface stalls if one of these queues overruns.

setting IFF_ONE_QUEUE is the default in kernels >= 3.8. the...

4e4f9ae7 02/01/2013 07:03 pm Jason Wang

tap: import linux multiqueue constants

Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flag
IFF_MULTI_QUEUE were introduced to create a multiqueue backend by calling
TUNSETIFF with the this flag and with the same interface name many times....

1422e32d 12/19/2012 09:31 am Paolo Bonzini

net: reorganize headers

Move public headers to include/net, and leave private headers in net/.
Put the virtio headers in include/net/tap.h, removing the multiple copies
that existed. Leave include/net/tap.h as the interface for NICs, and
net/tap_int.h as the interface for OS-specific parts of the tap backend....

445d892f 09/07/2010 08:27 pm Michael S. Tsirkin

tap: add APIs for vnet header length

Add APIs to control host header length. First user
will be vhost-net.

Signed-off-by: Michael S. Tsirkin <>

ef4252b1 09/07/2010 08:27 pm Michael S. Tsirkin

tap: generalize code for different vnet header len

Make host vnet header length a structure field in
preparation for using this support in linux kernel.

Signed-off-by: Michael S. Tsirkin <>

ed7193ec 10/30/2009 11:45 pm Anthony Liguori

Unbreak Linux build

commit 71f4effce79ec0485586963ea764f2c212c72f26
Author: Alexander Graf &lt;&gt;
Date: Fri Oct 30 22:27:00 2009 +0100
Unbreak tap compilation on OS X

Broke the build on Linux due to a bad #if guard

Signed-off-by: Anthony Liguori <>

71f4effc 10/30/2009 11:38 pm Alexander Graf

Unbreak tap compilation on OS X

Currently compiling the tap sources breaks on Mac OS X. This is because of:

1) tap-linux.h requiring Linux includes
2) typos
3) missing #includes

This patch adds what's necessary to compile tap happily on Mac OS X....

f54c7bdc 10/30/2009 03:39 pm Mark McLoughlin

net: move tap-linux.h under net/

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>