virtio_net: enable gso over UDP tunnel support.
authorPaolo Abeni <pabeni@redhat.com>
Tue, 8 Jul 2025 15:55:02 +0000 (17:55 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Jul 2025 16:05:59 +0000 (18:05 +0200)
commit56a06bd40fab64448aa6b84aa06b3dc470c1254a
tree0f2f6bbcbb16c451de85a9554df291942a7dd303
parenta2fb4bc4e2a6a031683910d85b278c1d25ae5420
virtio_net: enable gso over UDP tunnel support.

If the related virtio feature is set, enable transmission and reception
of gso over UDP tunnel packets.

Most of the work is done by the previously introduced helper, just need
to determine the UDP tunnel features inside the virtio_net_hdr and
update accordingly the virtio net hdr size.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/virtio_net.c