All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] virtio-blk: fix virtqueues accounting
@ 2021-07-21 12:45 Max Gurtovoy
  2021-07-22 10:20 ` [virtio-comment] " Cornelia Huck
  0 siblings, 1 reply; 3+ messages in thread
From: Max Gurtovoy @ 2021-07-21 12:45 UTC (permalink / raw)
  To: mst, virtio-comment, virtio-dev; +Cc: cohuck, oren, Max Gurtovoy

Virtqueue index is zero based, thus virtqueue (N-1) refers to requestqN.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
---
 content.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content.tex b/content.tex
index 5c70a3c..c266fd5 100644
--- a/content.tex
+++ b/content.tex
@@ -4398,7 +4398,7 @@ \subsection{Virtqueues}\label{sec:Device Types / Block Device / Virtqueues}
 \begin{description}
 \item[0] requestq1
 \item[\ldots]
-\item[N] requestqN
+\item[N-1] requestqN
 \end{description}
 
  N=1 if VIRTIO_BLK_F_MQ is not negotiated, otherwise N is set by
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-10  6:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-21 12:45 [PATCH 1/1] virtio-blk: fix virtqueues accounting Max Gurtovoy
2021-07-22 10:20 ` [virtio-comment] " Cornelia Huck
2021-08-10  6:39   ` Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.