diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2025-09-22 16:18:27 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-04 10:51:02 -0400 |
| commit | fffac046282c99801b62fa7fa1032cdc261bca6d (patch) | |
| tree | c412e39fdc180150f3e891d98b34d8d98fa4098b /net/tap-solaris.c | |
| parent | 3a7741c3bdc3537de4159418d712debbd22e4df6 (diff) | |
| download | focaccia-qemu-fffac046282c99801b62fa7fa1032cdc261bca6d.tar.gz focaccia-qemu-fffac046282c99801b62fa7fa1032cdc261bca6d.zip | |
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>
Diffstat (limited to 'net/tap-solaris.c')
| -rw-r--r-- | net/tap-solaris.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c index ef8e0feeb0..75397e6c54 100644 --- a/net/tap-solaris.c +++ b/net/tap-solaris.c @@ -227,6 +227,11 @@ int tap_probe_has_uso(int fd) return 0; } +bool tap_probe_has_tunnel(int fd) +{ + return false; +} + void tap_fd_set_vnet_hdr_len(int fd, int len) { } |