From: David Gibson <david@gibson.dropbear.id.au>
To: Laurent Vivier <lvivier@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH 1/4] vhost-user: Enable multiqueue
Date: Tue, 18 Nov 2025 11:16:45 +1100 [thread overview]
Message-ID: <aRu67RxRKmv-Bfg2@zatzit> (raw)
In-Reply-To: <f56ab512-4fea-4009-8b94-99c9e02f893d@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
On Mon, Nov 17, 2025 at 04:26:43PM +0100, Laurent Vivier wrote:
> On 11/10/25 05:48, David Gibson wrote:
> > > index aa7c869d9e56..c668159e29b4 100644
> > > --- a/vhost_user.c
> > > +++ b/vhost_user.c
> > > @@ -323,6 +323,7 @@ static bool vu_get_features_exec(struct vu_dev *vdev,
> > > uint64_t features =
> > > 1ULL << VIRTIO_F_VERSION_1 |
> > > 1ULL << VIRTIO_NET_F_MRG_RXBUF |
> > > + 1ULL << VIRTIO_NET_F_MQ |
> > Should this be conditional on max_virtqueues > 2?
>
> I don't think it's needed as 1 qpair (2 virtqueues) is a valid value with VIRTIO_NET_F_MQ:
>
> https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-2410001
>
> "The device MUST set max_virtqueue_pairs to between 1 and 0x8000 inclusive,
> if it offers VIRTIO_NET_F_MQ."
Ok, that makes sense. I think I forgot this was offered features, not
required features.
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-11-18 0:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 14:38 [PATCH 0/4] vhost-user: Add multiqueue support Laurent Vivier
2025-11-07 14:38 ` [PATCH 1/4] vhost-user: Enable multiqueue Laurent Vivier
2025-11-10 4:48 ` David Gibson
2025-11-17 15:26 ` Laurent Vivier
2025-11-18 0:16 ` David Gibson [this message]
2025-11-07 14:38 ` [PATCH 2/4] vhost-user: Add queue parameter throughout the network stack Laurent Vivier
2025-11-10 5:19 ` David Gibson
2025-11-07 14:39 ` [PATCH 3/4] multiqueue: Add queue-aware flow management for multiqueue support Laurent Vivier
2025-11-10 5:54 ` David Gibson
2025-11-07 14:39 ` [PATCH 4/4] test: Add multiqueue support to vhost-user test infrastructure Laurent Vivier
2025-11-10 5:57 ` David Gibson
2025-11-10 4:40 ` [PATCH 0/4] vhost-user: Add multiqueue support David Gibson
2025-11-10 6:00 ` David Gibson
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=aRu67RxRKmv-Bfg2@zatzit \
--to=david@gibson.dropbear.id.au \
--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).