From: Stefano Brivio <sbrivio@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 0/3] This series contains fixes and improvements to the vhost-user implementation
Date: Tue, 9 Sep 2025 22:24:25 +0200 [thread overview]
Message-ID: <20250909222425.46d4f792@elisabeth> (raw)
In-Reply-To: <20250905154935.389634-1-lvivier@redhat.com>
On Fri, 5 Sep 2025 17:49:32 +0200
Laurent Vivier <lvivier@redhat.com> wrote:
> The first patch fixes a protocol compliance issue where VHOST_USER_GET_QUEUE_NUM
> was incorrectly returning the number of virtqueues instead of queue pairs. The
> vhost-user specification clearly states this should return the maximum number
> of queues supported by the backend. Since each queue consists of an RX/TX pair,
> the correct value is VHOST_USER_MAX_VQS / 2. This patch also renames the
> constant to better reflect its meaning.
>
> The second and third patches address virtqueue handling in the UDP and TCP
> receive paths. These changes pass the virtqueue pointer explicitly to the
> receive functions, enabling proper queue selection for future multiqueue
> support. This ensures packets are processed on the same virtqueue as the
> caller.
>
> These changes lay the groundwork for full multiqueue support while fixing
> existing protocol compliance issues.
>
> Laurent Vivier (3):
> vhost-user: Fix VHOST_USER_GET_QUEUE_NUM to return number of queues
> udp_vu: Pass virtqueue pointer to udp_vu_sock_recv()
> tcp_vu: Pass virtqueue pointer to tcp_vu_sock_recv()
Applied.
--
Stefano
prev parent reply other threads:[~2025-09-09 20:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 15:49 Laurent Vivier
2025-09-05 15:49 ` [PATCH 1/3] vhost-user: Fix VHOST_USER_GET_QUEUE_NUM to return number of queues Laurent Vivier
2025-09-08 1:58 ` David Gibson
2025-09-05 15:49 ` [PATCH 2/3] udp_vu: Pass virtqueue pointer to udp_vu_sock_recv() Laurent Vivier
2025-09-08 1:59 ` David Gibson
2025-09-05 15:49 ` [PATCH 3/3] tcp_vu: Pass virtqueue pointer to tcp_vu_sock_recv() Laurent Vivier
2025-09-08 2:00 ` David Gibson
2025-09-09 20:24 ` Stefano Brivio [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=20250909222425.46d4f792@elisabeth \
--to=sbrivio@redhat.com \
--cc=lvivier@redhat.com \
--cc=passt-dev@passt.top \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
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 IMAP folder(s).