diff options
author | Cornelia Huck <cohuck@redhat.com> | 2017-07-11 13:34:08 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-09-08 11:13:31 +0200 |
commit | 81e0eeca43d4c61927e16e52fbc8556a71714e64 (patch) | |
tree | ed28d21df2b74a43716e42d72947dd5602c51736 | |
parent | 849b35c5cf678dcddf1bdf1dba74c4a20ef88fb6 (diff) |
virtio-net: fix virtqueue numbering error
receiveq(n) is at position 2(n-1), not 2n. Same error for transmitq(n)
and controlq.
VIRTIO-161
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
-rw-r--r-- | content.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content.tex b/content.tex index e57ebc5..51a00b2 100644 --- a/content.tex +++ b/content.tex @@ -3052,9 +3052,9 @@ features. \item[0] receiveq1 \item[1] transmitq1 \item[\ldots] -\item[2N] receiveqN -\item[2N+1] transmitqN -\item[2N+2] controlq +\item[2(N-1)] receiveqN +\item[2(N-1)+1] transmitqN +\item[2N] controlq \end{description} N=1 if VIRTIO_NET_F_MQ is not negotiated, otherwise N is set by |