[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [PATCH V2 5/5] Add transport vq number for virtio blk and net
On Mon, Aug 01, 2022 at 05:32:16PM +0800, Zhu Lingshan wrote: > This commit add the queue number of the transport virtqueue > for virtio_blk and virtio_net > > Signed-off-by: Jason Wang <jasowang@redhat.com> > Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> I think I prefer a transport register for this. Otherwise, you most document that other devices must not offer the feature bit. > --- > content.tex | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/content.tex b/content.tex > index 2d4816d..2536d2a 100644 > --- a/content.tex > +++ b/content.tex > @@ -3801,6 +3801,7 @@ \subsection{Virtqueues}\label{sec:Device Types / Network Device / Virtqueues} > \item[2(N-1)] receiveqN > \item[2(N-1)+1] transmitqN > \item[2N] controlq > +\item[2N+1] transportq > \end{description} > > N=1 if neither VIRTIO_NET_F_MQ nor VIRTIO_NET_F_RSS are negotiated, otherwise N is set by > @@ -3808,6 +3809,8 @@ \subsection{Virtqueues}\label{sec:Device Types / Network Device / Virtqueues} > > controlq only exists if VIRTIO_NET_F_CTRL_VQ set. > > + transportq only exists if VIRTIO_F_TRANSPT_VQ set > + > \subsection{Feature bits}\label{sec:Device Types / Network Device / Feature bits} > > \begin{description} > @@ -5387,11 +5390,14 @@ \subsection{Virtqueues}\label{sec:Device Types / Block Device / Virtqueues} > \item[0] requestq1 > \item[\ldots] > \item[N-1] requestqN > +\item[N] transportq > \end{description} > > N=1 if VIRTIO_BLK_F_MQ is not negotiated, otherwise N is set by > \field{num_queues}. > > + transportq only exists if VIRTIO_F_TRANSPT_VQ set. > + > \subsection{Feature bits}\label{sec:Device Types / Block Device / Feature bits} > > \begin{description} > -- > 2.35.3
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]