← Prev in month ← Prev in thread

[PATCH 1/1] virtio-blk: fix virtqueues accounting

From
Max Gurtovoy <>
Date
2021-07-21T12:45:36+00:00
ID
Thread
[PATCH 1/1] virtio-blk: fix virtqueues accounting
Virtqueue index is zero based, thus virtqueue (N-1) refers to requestqN.

Signed-off-by: Max Gurtovoy <>
---
 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
← Prev in month ← Prev in thread