[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACGkMEtMKL4U8LBzQqDcmD4ujoyMsTLztXHABz8zc8PgV-YOqA@mail.gmail.com>
Date: Wed, 18 Jun 2025 12:15:47 +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 7/8] tun: enable gso over UDP tunnel support.
On Wed, Jun 18, 2025 at 12:13 AM Paolo Abeni <pabeni@...hat.com> wrote:
>
> Add new tun features to represent the newly introduced virtio
> GSO over UDP tunnel offload. Allows detection and selection of
> such features via the existing TUNSETOFFLOAD ioctl and compute
> the expected virtio header size and tunnel header offset using
> the current netdev features, so that we can plug almost seamless
> the newly introduced virtio helpers to serialize the extended
> virtio header.
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
> v3 -> v4:
> - virtio tnl-related fields are at fixed offset, cleanup
> the code accordingly.
> - use netdev features instead of flags bit to check for
> the configured offload
> - drop packet in case of enabled features/configured hdr
> size mismatch
>
> v2 -> v3:
> - cleaned-up uAPI comments
> - use explicit struct layout instead of raw buf.
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks
Powered by blists - more mailing lists