You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/net
Paolo Abeni a5289563ad net: implement UDP tunnel features offloading
When any host or guest GSO over UDP tunnel offload is enabled the
virtio net header includes the additional tunnel-related fields,
update the size accordingly.

Push the GSO over UDP tunnel offloads all the way down to the tap
device extending the newly introduced NetFeatures struct, and
eventually enable the associated features.

As per virtio specification, to convert features bit to offload bit,
map the extended features into the reserved range.

Finally, make the vhost backend aware of the exact header layout, to
copy it correctly. The tunnel-related field are present if either
the guest or the host negotiated any UDP tunnel related feature:
add them to the kernel supported features list, to allow qemu
transfer to the backend the needed information.

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: <093b4bc68368046bffbcab2202227632d6e4e83b.1758549625.git.pabeni@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
3 weeks ago
..
announce.h net: remove AnnounceTimer from typedefs.h 1 year ago
can_emu.h net/can: Add can_dlc2len and can_len2dlc for CAN FD. 5 years ago
can_host.h qom: fix objects with improper parent type 5 years ago
checksum.h net: checksum: Convert data to void * 11 months ago
eth.h net: mark struct ip_header as QEMU_PACKED 11 months ago
filter.h qapi: Move @String out of common.json to discourage reuse 2 years ago
net.h net: implement UDP tunnel features offloading 3 weeks ago
queue.h net: Remove deadcode 1 year ago
slirp.h net: Remove the deprecated -tftp, -bootp, -redir and -smb options 7 years ago
tap.h net: Add get_vhost_net callback to NetClientInfo 3 months ago
vhost-vdpa.h net: Consolidate vhost feature bits into vhost_net structure 3 months ago
vhost_net.h vhost-net: implement extended features support 3 weeks ago