From: Amos Kong <akong at redhat.com>
VIRTIO_NET_F_VTRL_VQ -> VIRTIO_NET_F_CTRL_VQ
VIRTIO_NET_CTRL_MQ is defined to 4 in kernel code
Signed-off-by: Amos Kong <akong at redhat.com>
---
virtio-spec.lyx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 78ec5d0..1ba9992 100644
--- a/virtio-spec.lyx
+++ b/virtio-spec.lyx
@@ -5156,7 +5156,7 @@ Control Virtqueue
\end_layout
\begin_layout Standard
-The driver uses the control virtqueue (if VIRTIO_NET_F_VTRL_VQ is negotiated)
+The driver uses the control virtqueue (if VIRTIO_NET_F_CTRL_VQ is negotiated)
to send commands to manipulate various features of the device which would
not easily map into the configuration space.
\end_layout
@@ -5501,7 +5501,7 @@ struct virtio_net_ctrl_mq {
\change_inserted 1986246365 1353594263
-#define VIRTIO_NET_CTRL_MQ 1
+#define VIRTIO_NET_CTRL_MQ 4
\end_layout
\begin_layout Plain Layout
--
1.7.11.7
On Wed, Jan 09, 2013 at 03:55:23PM +0800, akong at redhat.com wrote:> From: Amos Kong <akong at redhat.com> > > VIRTIO_NET_F_VTRL_VQ -> VIRTIO_NET_F_CTRL_VQ > VIRTIO_NET_CTRL_MQ is defined to 4 in kernel code > > Signed-off-by: Amos Kong <akong at redhat.com> > --- > virtio-spec.lyx | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>
Stefan Hajnoczi <stefanha at gmail.com> writes:> On Wed, Jan 09, 2013 at 03:55:23PM +0800, akong at redhat.com wrote: >> From: Amos Kong <akong at redhat.com> >> >> VIRTIO_NET_F_VTRL_VQ -> VIRTIO_NET_F_CTRL_VQ >> VIRTIO_NET_CTRL_MQ is defined to 4 in kernel code >> >> Signed-off-by: Amos Kong <akong at redhat.com> >> --- >> virtio-spec.lyx | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>Thanks, applied. Cheers, Rusty.