virtio-net: fix virtqueue numbering error
PATCH 1/1 virtio-net: fix virtqueue numbering error
receiveq(n) is at position 2(n-1)+1. Same error for transmitq(n) and controlq.
VIRTIO-161
--- content.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
content.tex +3 -3
@@ -3064,9 +3064,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[2(N-1)+2] controlq \end{description} N=1 if VIRTIO_NET_F_MQ is not negotiated, otherwise N is set by
Signature · 7 lines
2.13.0 --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
Quoted 15 lines · Cornelia Huck
receiveq(n) is at position 2(n-1)+1. Same error for transmitq(n) and controlq.
VIRTIO-161
Signed-off-by Cornelia Huck <[email protected]>--- content.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)content.tex +0
-0
content.tex features. · line 3069
Quoted 9 lines
content.tex +3
-3@@ -3064,9 +3064,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[2(N-1)+2] controlq
There is still only one controlq overall. Therefore I suggest:
\item[2N] controlq
This seems clearer to me since "\item[2(N-1)+2] controlq" makes it look like the controlq is repeated along with rx and tx queues.
Stefan
Quoted 28 lines · On Wed, 12 Jul 2017 10:35:20 +0100 Stefan Hajnoczi <[email protected]> wrote:
Quoted 15 lines · Cornelia Huck
receiveq(n) is at position 2(n-1)+1. Same error for transmitq(n) and controlq.
VIRTIO-161
Signed-off-by Cornelia Huck <[email protected]>--- content.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)content.tex +0
-0content.tex features. · line 3069
Quoted 9 lines
content.tex +3
-3@@ -3064,9 +3064,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[2(N-1)+2] controlqThere is still only one controlq overall. Therefore I suggest:
Quoted 4 lines
\item[2N] controlq
This seems clearer to me since "\item[2(N-1)+2] controlq" makes it look like the controlq is repeated along with rx and tx queues.
Indeed, that is easier to parse. Will update.
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php