History | View | Annotate | Download (1.7 kB)
tap: set IFF_ONE_QUEUE per default
historically the kernel queues packets two times. onceat the device and second in qdisc. this is believed to causeinterface stalls if one of these queues overruns.
setting IFF_ONE_QUEUE is the default in kernels >= 3.8. the...
tap: import linux multiqueue constants
Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flagIFF_MULTI_QUEUE were introduced to create a multiqueue backend by callingTUNSETIFF with the this flag and with the same interface name many times....
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 copiesthat existed. Leave include/net/tap.h as the interface for NICs, andnet/tap_int.h as the interface for OS-specific parts of the tap backend....
tap: add APIs for vnet header length
Add APIs to control host header length. First userwill be vhost-net.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tap: generalize code for different vnet header len
Make host vnet header length a structure field inpreparation for using this support in linux kernel.
Unbreak Linux build
commit 71f4effce79ec0485586963ea764f2c212c72f26 Author: Alexander Graf <agraf@suse.de> 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 <aliguori@us.ibm.com>
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....
net: move tap-linux.h under net/
Signed-off-by: Mark McLoughlin <markmc@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>