[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [RFC PATCH v3 3/4] virtio-blk: add support for VIRTIO_F_ADMIN_VQ
Set the relevant index in case of VIRTIO_F_ADMIN_VQ negotiation. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> --- content.tex | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content.tex b/content.tex index bc4c01d..6c029d5 100644 --- a/content.tex +++ b/content.tex @@ -4398,10 +4398,21 @@ \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, queue0 is an admin virtqueue and the + request queues are shifted as follows: +\begin{description} +\item[0] adminq +\item[1] requestq1 +\item[\ldots] +\item[N] requestqN \end{description} N=1 if VIRTIO_BLK_F_MQ is not negotiated, otherwise N is set by -- 2.21.0
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]