[PULL 00/13] Net patches

Jason Wang posted 13 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250714053423.10415-1-jasowang@redhat.com
Maintainers: "Dr. David Alan Gilbert" <dave@treblig.org>, "Michael S. Tsirkin" <mst@redhat.com>, Stefano Garzarella <sgarzare@redhat.com>, Jason Wang <jasowang@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Ilya Maximets <i.maximets@ovn.org>, Stefan Weil <sw@weilnetz.de>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
docs/system/devices/net.rst   |  50 ++-
hmp-commands.hx               |   3 +
hw/net/vhost_net-stub.c       |   3 +-
hw/net/vhost_net.c            | 145 ++------
hw/net/virtio-net.c           |  47 +--
hw/virtio/virtio.c            |  14 +-
include/hw/virtio/vhost.h     |   5 +
include/hw/virtio/virtio.h    |  10 +-
include/net/net.h             |   3 +
include/net/tap.h             |   3 -
include/net/vhost-user.h      |  19 --
include/net/vhost-vdpa.h      |   4 -
include/net/vhost_net.h       |  10 +-
meson.build                   |   6 +
meson_options.txt             |   2 +
net/af-xdp.c                  |   2 +-
net/clients.h                 |   4 +
net/hub.c                     |   3 +
net/meson.build               |   6 +-
net/net.c                     |  36 +-
net/passt.c                   | 753 ++++++++++++++++++++++++++++++++++++++++++
net/stream.c                  | 282 ++++------------
net/stream_data.c             | 193 +++++++++++
net/stream_data.h             |  31 ++
net/tap-win32.c               |   5 -
net/tap.c                     |  43 ++-
net/vhost-user-stub.c         |   1 -
net/vhost-user.c              |  60 +++-
net/vhost-vdpa.c              |  11 +-
qapi/net.json                 | 118 +++++++
qemu-options.hx               | 153 ++++++++-
scripts/meson-buildoptions.sh |   3 +
32 files changed, 1584 insertions(+), 444 deletions(-)
delete mode 100644 include/net/vhost-user.h
create mode 100644 net/passt.c
create mode 100644 net/stream_data.c
create mode 100644 net/stream_data.h
[PULL 00/13] Net patches
Posted by Jason Wang 5 months ago
The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:

  Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -0400)

are available in the Git repository at:

  https://github.com/jasowang/qemu.git tags/net-pull-request

for you to fetch changes up to da703b06a52bfb5fe1a77b0eddbb8d68d3f70762:

  net/passt: Implement vhost-user backend support (2025-07-14 13:27:09 +0800)

----------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmh0lXsACgkQ7wSWWzmN
YhGvVwf+OxTtnr84VdsEckqNVuzVkMHk3PAuSlxpvfjHXnwwo5Efto9lA4h4BUSX
As9sYpF3qXZdh95QYB/49CvVdizsI/KW1wPEx4ryVqCi7kcdOrzNB/MMMXBrrJE+
86xtc2a53CHHcctUIvkBr/GVzhay/gm6VHjnPEB/B0Tv+rTKpIBr/nJzVlG+8uX9
O/XRI0aqnCPlsWDQFR2TbyE4TSSmTw5oXru0I12tPfxt2ed6b+izKubHmqgeLCyH
ne+qEy2ds40eBZ4YMDDIsxYKY8RlWIdUY0Dnz6wSjC00BNo5yLu7cirL0Ozd6AsI
pK5eqQGZGGQIGV/KD+M7WwKWVltBJg==
=rS9w
-----END PGP SIGNATURE-----

----------------------------------------------------------------
Akihiko Odaki (1):
      virtio-net: Add queues for RSS during migration

Anastasia Belova (1):
      net: fix buffer overflow in af_xdp_umem_create()

Laurent Vivier (11):
      net: Refactor stream logic for reuse in '-net passt'
      net: Define net_client_set_link()
      vhost_net: Rename vhost_set_vring_enable() for clarity
      net: Add get_vhost_net callback to NetClientInfo
      net: Consolidate vhost feature bits into vhost_net structure
      net: Add get_acked_features callback to VhostNetOptions
      net: Add save_acked_features callback to vhost_net
      net: Allow network backends to advertise max TX queue size
      net: Add is_vhost_user flag to vhost_net struct
      net: Add passt network backend
      net/passt: Implement vhost-user backend support

 docs/system/devices/net.rst   |  50 ++-
 hmp-commands.hx               |   3 +
 hw/net/vhost_net-stub.c       |   3 +-
 hw/net/vhost_net.c            | 145 ++------
 hw/net/virtio-net.c           |  47 +--
 hw/virtio/virtio.c            |  14 +-
 include/hw/virtio/vhost.h     |   5 +
 include/hw/virtio/virtio.h    |  10 +-
 include/net/net.h             |   3 +
 include/net/tap.h             |   3 -
 include/net/vhost-user.h      |  19 --
 include/net/vhost-vdpa.h      |   4 -
 include/net/vhost_net.h       |  10 +-
 meson.build                   |   6 +
 meson_options.txt             |   2 +
 net/af-xdp.c                  |   2 +-
 net/clients.h                 |   4 +
 net/hub.c                     |   3 +
 net/meson.build               |   6 +-
 net/net.c                     |  36 +-
 net/passt.c                   | 753 ++++++++++++++++++++++++++++++++++++++++++
 net/stream.c                  | 282 ++++------------
 net/stream_data.c             | 193 +++++++++++
 net/stream_data.h             |  31 ++
 net/tap-win32.c               |   5 -
 net/tap.c                     |  43 ++-
 net/vhost-user-stub.c         |   1 -
 net/vhost-user.c              |  60 +++-
 net/vhost-vdpa.c              |  11 +-
 qapi/net.json                 | 118 +++++++
 qemu-options.hx               | 153 ++++++++-
 scripts/meson-buildoptions.sh |   3 +
 32 files changed, 1584 insertions(+), 444 deletions(-)
 delete mode 100644 include/net/vhost-user.h
 create mode 100644 net/passt.c
 create mode 100644 net/stream_data.c
 create mode 100644 net/stream_data.h
Re: [PULL 00/13] Net patches
Posted by Jason Wang 5 months ago
On Mon, Jul 14, 2025 at 1:34 PM Jason Wang <jasowang@redhat.com> wrote:
>
> The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:
>
>   Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -0400)
>
> are available in the Git repository at:
>
>   https://github.com/jasowang/qemu.git tags/net-pull-request
>
> for you to fetch changes up to da703b06a52bfb5fe1a77b0eddbb8d68d3f70762:
>
>   net/passt: Implement vhost-user backend support (2025-07-14 13:27:09 +0800)

 I decided to include Daniel's AF_XDP enhancement, so I will post V2
of the PULL.

Thanks
Re: [PULL 00/13] Net patches
Posted by Stefan Hajnoczi 5 months ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
Re: [PULL 00/13] Net patches
Posted by Jason Wang 5 months ago
Hi Stefan:

On Wed, Jul 16, 2025 at 3:55 AM Stefan Hajnoczi <stefanha@redhat.com> wrote:
>
> Applied, thanks.
>
> Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.

I sent a V2 of the PULL:

https://mail.gnu.org/archive/html/qemu-devel/2025-07/msg03794.html

That includes some enhancement of AF_XDP. Considering you've merged
V1, I wonder how to proceed.

Are you ok to include those three patches in the next pull before hard freeze?

Thanks
Re: [PULL 00/13] Net patches
Posted by Stefan Hajnoczi 5 months ago
On Tue, Jul 15, 2025 at 10:23 PM Jason Wang <jasowang@redhat.com> wrote:
>
> Hi Stefan:
>
> On Wed, Jul 16, 2025 at 3:55 AM Stefan Hajnoczi <stefanha@redhat.com> wrote:
> >
> > Applied, thanks.
> >
> > Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
>
> I sent a V2 of the PULL:
>
> https://mail.gnu.org/archive/html/qemu-devel/2025-07/msg03794.html
>
> That includes some enhancement of AF_XDP. Considering you've merged
> V1, I wonder how to proceed.
>
> Are you ok to include those three patches in the next pull before hard freeze?

Hi Jason,
I'm doing a final merge today before tagging -rc0 because I see there
are more pull requests waiting. I will include your v2.

Stefan
Re: [PULL 00/13] Net patches
Posted by Stefan Hajnoczi 5 months ago
On Wed, Jul 16, 2025 at 6:26 AM Stefan Hajnoczi <stefanha@gmail.com> wrote:
>
> On Tue, Jul 15, 2025 at 10:23 PM Jason Wang <jasowang@redhat.com> wrote:
> >
> > Hi Stefan:
> >
> > On Wed, Jul 16, 2025 at 3:55 AM Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > >
> > > Applied, thanks.
> > >
> > > Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
> >
> > I sent a V2 of the PULL:
> >
> > https://mail.gnu.org/archive/html/qemu-devel/2025-07/msg03794.html
> >
> > That includes some enhancement of AF_XDP. Considering you've merged
> > V1, I wonder how to proceed.
> >
> > Are you ok to include those three patches in the next pull before hard freeze?
>
> Hi Jason,
> I'm doing a final merge today before tagging -rc0 because I see there
> are more pull requests waiting. I will include your v2.

I got ahead of myself: -rc0 will be on July 22nd (hard freeze).
Yesterday was soft freeze but I'm still merging the remaining pull
requests, so don't worry about your v2.

Stefan
Re: [PULL 00/13] Net patches
Posted by Philippe Mathieu-Daudé 5 months ago
On 16/7/25 04:21, Jason Wang wrote:
> Hi Stefan:
> 
> On Wed, Jul 16, 2025 at 3:55 AM Stefan Hajnoczi <stefanha@redhat.com> wrote:
>>
>> Applied, thanks.
>>
>> Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
> 
> I sent a V2 of the PULL:
> 
> https://mail.gnu.org/archive/html/qemu-devel/2025-07/msg03794.html
> 
> That includes some enhancement of AF_XDP. Considering you've merged
> V1, I wonder how to proceed.

Same happened to me last week, v2 got merged cleanly on top on v1
(at my surprise).

v1: 989dd906ed5 ("Merge tag 'accel-20250704' of https://github.com/
philmd/qemu into staging")
v2: 84d1639f286 ("Merge tag 'accel-20250704' of https://github.com/
philmd/qemu into staging")

> 
> Are you ok to include those three patches in the next pull before hard freeze?
> 
> Thanks
> 
>