linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "Willem de Bruijn" <willemdebruijn.kernel@gmail.com>,
	"Jason Wang" <jasowang@redhat.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
	"Eugenio Pérez" <eperezma@redhat.com>,
	"Yuri Benditovich" <yuri.benditovich@daynix.com>,
	"Akihiko Odaki" <akihiko.odaki@daynix.com>,
	"Jonathan Corbet" <corbet@lwn.net>,
	kvm@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v6 net-next 0/9] virtio: introduce GSO over UDP tunnel
Date: Tue, 8 Jul 2025 09:12:04 +0200	[thread overview]
Message-ID: <41eb8d72-bfa3-4063-88af-1ec23593b0f8@redhat.com> (raw)
In-Reply-To: <cover.1750753211.git.pabeni@redhat.com>

On 6/24/25 4:09 PM, Paolo Abeni wrote:
> Some virtualized deployments use UDP tunnel pervasively and are impacted
> negatively by the lack of GSO support for such kind of traffic in the
> virtual NIC driver.
> 
> The virtio_net specification recently introduced support for GS over
> UDP tunnel, this series updates the virtio implementation to support
> such a feature.
> 
> Currently the kernel virtio support limits the feature space to 64,
> while the virtio specification allows for a larger number of features.
> Specifically the GSO-over-UDP-tunnel-related virtio features use bits
> 65-69.
> 
> The first four patches in this series rework the virtio and vhost
> feature support to cope with up to 128 bits. The limit is set by
> a define and could be easily raised in future, as needed.
> 
> This implementation choice is aimed at keeping the code churn as
> limited as possible. For the same reason, only the virtio_net driver is
> reworked to leverage the extended feature space; all other
> virtio/vhost drivers are unaffected, but could be upgraded to support
> the extended features space in a later time.
> 
> The last four patches bring in the actual GSO over UDP tunnel support.
> As per specification, some additional fields are introduced into the
> virtio net header to support the new offload. The presence of such
> fields depends on the negotiated features.
> 
> New helpers are introduced to convert the UDP-tunneled skb metadata to
> an extended virtio net header and vice versa. Such helpers are used by
> the tun and virtio_net driver to cope with the newly supported offloads.
> 
> Tested with basic stream transfer with all the possible permutations of
> host kernel/qemu/guest kernel with/without GSO over UDP tunnel support.
> 
> This is also are available in the Git repository at:
> 
> git@github.com:pabeni/linux-devel.git virtio_udp_tunnel_24_06_2025
> 
> Ideally both the net-next tree and the vhost tree could pull from the
> above.

As Michael prefers to hide the warning in patch 4/9 and this series in
the current form has now conflicts with the current net-next tree, I
just shared a v7, with a more detailed merge plan in the cover letter.

Thanks,

Paolo


      parent reply	other threads:[~2025-07-08  7:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 14:09 [PATCH v6 net-next 0/9] virtio: introduce GSO over UDP tunnel Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 1/9] scripts/kernel_doc.py: properly handle VIRTIO_DECLARE_FEATURES Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 2/9] virtio: introduce extended features Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 3/9] virtio_pci_modern: allow configuring " Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 4/9] vhost-net: " Paolo Abeni
2025-06-27  6:41   ` kernel test robot
2025-06-27 10:28     ` Paolo Abeni
2025-06-27 12:18       ` Michael S. Tsirkin
2025-06-27 12:44         ` Paolo Abeni
2025-06-27 12:47           ` Michael S. Tsirkin
2025-07-04 14:09             ` Paolo Abeni
2025-06-27 13:11     ` Paolo Abeni
2025-06-27 14:36       ` Paolo Abeni
2025-07-06  7:33         ` Michael S. Tsirkin
2025-06-24 14:09 ` [PATCH v6 net-next 5/9] virtio_net: add supports for extended offloads Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 6/9] net: implement virtio helpers to handle UDP GSO tunneling Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 7/9] virtio_net: enable gso over UDP tunnel support Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 8/9] tun: " Paolo Abeni
2025-06-24 14:09 ` [PATCH v6 net-next 9/9] vhost/net: " Paolo Abeni
2025-07-08  7:12 ` Paolo Abeni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41eb8d72-bfa3-4063-88af-1ec23593b0f8@redhat.com \
    --to=pabeni@redhat.com \
    --cc=akihiko.odaki@daynix.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=eperezma@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kuba@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=willemdebruijn.kernel@gmail.com \
    --cc=xuanzhuo@linux.alibaba.com \
    --cc=yuri.benditovich@daynix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).