summary refs log tree commit diff stats
path: root/tap-linux.h
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2009-10-22 17:43:49 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:29:04 -0500
commit6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e (patch)
tree02fb37853acae12f80ea22239d9d12e94d1c04f8 /tap-linux.h
parent1d41b0c1ec66d38355a1e76c29dd2200433335f6 (diff)
downloadfocaccia-qemu-6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e.tar.gz
focaccia-qemu-6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e.zip
Enable UFO on virtio-net and tap devices
Enable UFO on the host tap device if supported and allow setting UFO
on virtio-net in the guest.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tap-linux.h')
-rw-r--r--tap-linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-linux.h b/tap-linux.h
index 241cf836a4..d81c65081f 100644
--- a/tap-linux.h
+++ b/tap-linux.h
@@ -36,6 +36,7 @@
 #define TUN_F_TSO4	0x02	/* I can handle TSO for IPv4 packets */
 #define TUN_F_TSO6	0x04	/* I can handle TSO for IPv6 packets */
 #define TUN_F_TSO_ECN	0x08	/* I can handle TSO with ECN bits. */
+#define TUN_F_UFO	0x10	/* I can handle UFO packets */
 
 struct virtio_net_hdr
 {