[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACGkMEvZO-vZJ+Wpp_BRFvFhGf5SeCAZXHkzqJQ0KCQHxm+Y+Q@mail.gmail.com>
Date: Wed, 18 Jun 2025 12:15:31 +0800
From: Jason Wang <jasowang@...hat.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
"Michael S. Tsirkin" <mst@...hat.com>, Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Eugenio Pérez <eperezma@...hat.com>,
Yuri Benditovich <yuri.benditovich@...nix.com>, Akihiko Odaki <akihiko.odaki@...nix.com>
Subject: Re: [PATCH v4 net-next 6/8] virtio_net: enable gso over UDP tunnel support.
On Wed, Jun 18, 2025 at 12:13 AM Paolo Abeni <pabeni@...hat.com> wrote:
>
> 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.
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
> v3 -> v4:
> - tnl header fields at constant offset, update the parsing accordingly
> - keep separate status for tnl offload tx and tnl offload rx
> - drop redundant comment
>
> v2 -> v3:
> - drop the VIRTIO_HAS_EXTENDED_FEATURES conditionals
>
> v1 -> v2:
> - test for UDP_TUNNEL_GSO* only on builds with extended features support
> - comment indentation cleanup
> - rebased on top of virtio helpers changes
> - dump more information in case of bad offloads
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks
Powered by blists - more mailing lists