From: Max Gurtovoy <mgurtovoy@nvidia.com>
To: virtio-comment@lists.oasis-open.org, mst@redhat.com,
cohuck@redhat.com, virtio-dev@lists.oasis-open.org,
jasowang@redhat.com
Cc: parav@nvidia.com, shahafs@nvidia.com, oren@nvidia.com,
stefanha@redhat.com, Max Gurtovoy <mgurtovoy@nvidia.com>
Subject: [virtio-comment] [PATCH v2 2/4] virtio-blk: add support for VIRTIO_F_ADMIN_VQ
Date: Mon, 24 Jan 2022 11:39:16 +0200 [thread overview]
Message-ID: <20220124093918.34371-3-mgurtovoy@nvidia.com> (raw)
In-Reply-To: <20220124093918.34371-1-mgurtovoy@nvidia.com>
Set the relevant index in case of VIRTIO_F_ADMIN_VQ negotiation.
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
---
content.tex | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/content.tex b/content.tex
index c524fab..f5f95fb 100644
--- a/content.tex
+++ b/content.tex
@@ -4517,10 +4517,19 @@ \subsection{Device ID}\label{sec:Device Types / Block Device / Device ID}
2
\subsection{Virtqueues}\label{sec:Device Types / Block Device / Virtqueues}
+ if VIRTIO_F_ADMIN_VQ is not negotiated, the request queues layout is as follows:
\begin{description}
\item[0] requestq1
\item[\ldots]
\item[N-1] requestqN
+\end{description}
+
+ If VIRTIO_F_ADMIN_VQ is negotiated, the queues layout is as follows:
+\begin{description}
+\item[0] requestq1
+\item[\ldots]
+\item[N-1] requestqN
+\item[N] adminq
\end{description}
N=1 if VIRTIO_BLK_F_MQ is not negotiated, otherwise N is set by
@@ -4589,7 +4598,7 @@ \subsection{Device configuration layout}\label{sec:Device Types / Block Device /
bits as indicated above.
The field \field{num_queues} only exists if VIRTIO_BLK_F_MQ is set. This field specifies
-the number of queues.
+the number of request queues. This field doesn't account admin virtqueue.
The parameters in the configuration space of the device \field{max_discard_sectors}
\field{discard_sector_alignment} are expressed in 512-byte units if the
--
2.21.0
This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.
Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
next prev parent reply other threads:[~2022-01-24 9:39 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-24 9:39 [PATCH v2 0/4] VIRTIO: Provision maximum MSI-X vectors for a VF Max Gurtovoy
2022-01-24 9:39 ` [PATCH v2 1/4] Add virtio Admin Virtqueue Max Gurtovoy
2022-01-26 14:40 ` Michael S. Tsirkin
2022-01-26 14:54 ` [virtio-comment] " Max Gurtovoy
2022-01-26 15:03 ` Michael S. Tsirkin
2022-01-26 15:16 ` [virtio-comment] " Max Gurtovoy
2022-01-27 3:56 ` Parav Pandit
2022-01-27 3:55 ` Parav Pandit
2022-01-27 3:56 ` Jason Wang
2022-01-28 12:14 ` [virtio-comment] " Cornelia Huck
2022-01-28 12:47 ` Michael S. Tsirkin
2022-01-28 15:49 ` [virtio-comment] " Cornelia Huck
2022-01-28 15:52 ` Michael S. Tsirkin
2022-01-28 16:14 ` [virtio-dev] " Cornelia Huck
2022-01-28 16:16 ` Michael S. Tsirkin
2022-01-28 16:23 ` [virtio-dev] " Cornelia Huck
2022-01-29 3:53 ` Jason Wang
2022-01-30 9:13 ` Max Gurtovoy
2022-01-30 9:40 ` Michael S. Tsirkin
2022-01-30 9:56 ` Max Gurtovoy
2022-01-30 14:41 ` Michael S. Tsirkin
2022-01-30 15:12 ` Max Gurtovoy
2022-01-30 15:30 ` Michael S. Tsirkin
2022-01-30 18:23 ` [virtio-comment] " Max Gurtovoy
2022-01-30 21:15 ` Michael S. Tsirkin
2022-01-31 9:16 ` [virtio-dev] " Cornelia Huck
2022-01-31 13:40 ` Michael S. Tsirkin
2022-01-31 14:26 ` [virtio-comment] " Cornelia Huck
2022-01-31 14:52 ` Michael S. Tsirkin
2022-01-31 15:48 ` [virtio-dev] " Cornelia Huck
2022-01-31 16:00 ` Michael S. Tsirkin
2022-01-31 16:12 ` Halil Pasic
2022-01-31 17:10 ` [virtio-dev] " Cornelia Huck
2022-01-31 17:22 ` Michael S. Tsirkin
2022-02-01 11:53 ` [virtio-dev] " Halil Pasic
2022-02-01 17:01 ` Cornelia Huck
2022-02-01 18:34 ` Michael S. Tsirkin
2022-01-31 15:47 ` Halil Pasic
2022-01-31 16:01 ` Michael S. Tsirkin
2022-01-31 16:12 ` Cornelia Huck
2022-02-09 2:27 ` Jason Wang
2022-02-09 7:46 ` Michael S. Tsirkin
2022-01-30 9:39 ` Michael S. Tsirkin
2022-01-30 11:21 ` [virtio-comment] " Max Gurtovoy
2022-01-30 14:37 ` Michael S. Tsirkin
2022-01-24 9:39 ` Max Gurtovoy [this message]
2022-01-24 9:39 ` [PATCH v2 3/4] virtio-net: add support for VIRTIO_F_ADMIN_VQ Max Gurtovoy
2022-01-24 9:39 ` [PATCH v2 4/4] Add support for MSI-X vectors configuration for PCI VFs Max Gurtovoy
2022-01-25 11:53 ` Michael S. Tsirkin
2022-01-26 13:03 ` Parav Pandit
2022-01-26 14:08 ` [virtio-comment] " Michael S. Tsirkin
2022-01-27 3:40 ` Parav Pandit
2022-01-27 12:39 ` Michael S. Tsirkin
2022-01-27 14:16 ` Parav Pandit
2022-01-27 17:28 ` Michael S. Tsirkin
2022-01-27 3:36 ` Jason Wang
2022-01-27 5:22 ` Parav Pandit
2022-01-28 3:23 ` [virtio-comment] " Jason Wang
2022-01-28 3:30 ` Parav Pandit
2022-01-28 3:35 ` Jason Wang
2022-01-28 3:45 ` Parav Pandit
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=20220124093918.34371-3-mgurtovoy@nvidia.com \
--to=mgurtovoy@nvidia.com \
--cc=cohuck@redhat.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=oren@nvidia.com \
--cc=parav@nvidia.com \
--cc=shahafs@nvidia.com \
--cc=stefanha@redhat.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
/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