445d892f43
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 <mst@redhat.com >
2010-09-07 20:27:33 +03:00
9c282718aa
net: move UFO support detection to tap-linux.c
...
Only supported on Linux
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2009-10-30 08:39:29 -05:00
1faac1f7d4
net: move tap_set_offload() code into tap-linux.c
...
TUNSETOFFLOAD is only available on Linux
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2009-10-30 08:39:28 -05:00
dc69004c7d
net: move tap_probe_vnet_hdr() to tap-linux.c
...
Only Linux has support for IFF_VNET_HDR
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2009-10-30 08:39:28 -05:00
15ac913bfe
net: move tap_set_sndbuf() to tap-linux.c
...
TUNSETSNDBUF is only available on linux
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2009-10-30 08:39:28 -05:00
88b3ec02b2
net: move AIX code into net/tap-aix.c
...
Okay, this makes the tap options available on AIX even though there's
no support, but if we want to do it right we should have not compile
the tap code at all on AIX using e.g. CONFIG_TAP.
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2009-10-30 08:39:28 -05:00