]> git.ipfire.org Git - thirdparty/qemu.git/commit
net: implement tunnel probing
authorPaolo Abeni <pabeni@redhat.com>
Mon, 22 Sep 2025 14:18:27 +0000 (16:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Oct 2025 14:51:02 +0000 (10:51 -0400)
commitfffac046282c99801b62fa7fa1032cdc261bca6d
treec412e39fdc180150f3e891d98b34d8d98fa4098b
parent3a7741c3bdc3537de4159418d712debbd22e4df6
net: implement tunnel probing

Tap devices support GSO over UDP tunnel offload. Probe for such
feature in a similar manner to other offloads.

GSO over UDP tunnel needs to be enabled in addition to a "plain"
offload (TSO or USO).

No need to check separately for the outer header checksum offload:
the kernel is going to support both of them or none.

The new features are disabled by default to avoid compat issues,
and could be enabled, after that hw_compat_10_1 will be added,
together with the related compat entries.

Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <a987a8a7613cbf33bb2209c7c7f5889b512638a7.1758549625.git.pabeni@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c
include/net/net.h
net/net.c
net/tap-bsd.c
net/tap-linux.c
net/tap-linux.h
net/tap-solaris.c
net/tap-stub.c
net/tap.c
net/tap_int.h