aboutsummaryrefslogtreecommitdiff
path: root/net/tap-linux.h
diff options
context:
space:
mode:
authorAndrew Melnychenko <andrew@daynix.com>2023-08-01 01:31:45 +0300
committerJason Wang <jasowang@redhat.com>2023-09-18 14:36:13 +0800
commit2ab0ec31215e68f7af6b21b62e49141eb7c083e2 (patch)
treec5cbe776a688d0325c5945e1728b96d8c51bb7b3 /net/tap-linux.h
parent005ad32358f12fe9313a4a01918a55e60d4f39e5 (diff)
tap: Add USO support to tap device.
Passing additional parameters (USOv4 and USOv6 offloads) when setting TAP offloads Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com> Signed-off-by: Andrew Melnychenko <andrew@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap-linux.h')
-rw-r--r--net/tap-linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tap-linux.h b/net/tap-linux.h
index bbbb62c2a7..9a58cecb7f 100644
--- a/net/tap-linux.h
+++ b/net/tap-linux.h
@@ -50,5 +50,7 @@
#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 */
+#define TUN_F_USO4 0x20 /* I can handle USO for IPv4 packets */
+#define TUN_F_USO6 0x40 /* I can handle USO for IPv6 packets */
#endif /* QEMU_TAP_LINUX_H */