Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [PATCH] virtio-net: Improve control vq introductory description
@ 2023-01-23  1:16 Parav Pandit
  2023-01-23 11:49 ` [virtio-comment] " Cornelia Huck
  0 siblings, 1 reply; 3+ messages in thread
From: Parav Pandit @ 2023-01-23  1:16 UTC (permalink / raw)
  To: mst, virtio-dev, cohuck; +Cc: virtio-comment, shahafs, Parav Pandit

The control VQ of the virtio network device is used for controlling
multiple features, not just advanced steering control. The control VQ
dynamically changes multiple features of the initialized device.

Hence, update this area of control VQ introductory description.

This patch is on top of [1].

[1] https://lists.oasis-open.org/archives/virtio-dev/202301/msg00272.html

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/156
Signed-off-by: Parav Pandit <parav@nvidia.com>
---
 device-types/net/description.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/device-types/net/description.tex b/device-types/net/description.tex
index 41ae7f5..56bd672 100644
--- a/device-types/net/description.tex
+++ b/device-types/net/description.tex
@@ -8,7 +8,7 @@ \section{Network Device}\label{sec:Device Types / Network Device}
 device. Empty buffers are placed in one virtqueue for receiving
 packets, and outgoing packets are enqueued into another for
 transmission in that order. A third command queue is used to
-control advanced filtering features.
+dynamically manipulate various features of the initialized device.
 
 \subsection{Device ID}\label{sec:Device Types / Network Device / Device ID}
 
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [virtio-comment] Re: [PATCH] virtio-net: Improve control vq introductory description
  2023-01-23  1:16 [PATCH] virtio-net: Improve control vq introductory description Parav Pandit
@ 2023-01-23 11:49 ` Cornelia Huck
  2023-01-23 12:21   ` Parav Pandit
  0 siblings, 1 reply; 3+ messages in thread
From: Cornelia Huck @ 2023-01-23 11:49 UTC (permalink / raw)
  To: Parav Pandit, mst, virtio-dev; +Cc: virtio-comment, shahafs, Parav Pandit

On Mon, Jan 23 2023, Parav Pandit <parav@nvidia.com> wrote:

> The control VQ of the virtio network device is used for controlling
> multiple features, not just advanced steering control. The control VQ
> dynamically changes multiple features of the initialized device.
>
> Hence, update this area of control VQ introductory description.
>
> This patch is on top of [1].
>
> [1] https://lists.oasis-open.org/archives/virtio-dev/202301/msg00272.html

[Side note: better put notes like that beneath the "---" delimiter, so
that they don't end up in the changelog, where they won't be of much
interest anymore.]

>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/156
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
>  device-types/net/description.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/device-types/net/description.tex b/device-types/net/description.tex
> index 41ae7f5..56bd672 100644
> --- a/device-types/net/description.tex
> +++ b/device-types/net/description.tex
> @@ -8,7 +8,7 @@ \section{Network Device}\label{sec:Device Types / Network Device}
>  device. Empty buffers are placed in one virtqueue for receiving
>  packets, and outgoing packets are enqueued into another for
>  transmission in that order. A third command queue is used to
> -control advanced filtering features.
> +dynamically manipulate various features of the initialized device.

I think that whole paragraph needs some editing; apart from your
card/device terminology change, it hasn't seem updates in ages.

- the "most complex device supported so far" half sentence, while not
  untrue, doesn't really add much to the understanding of what the net
  device does
- same for the "It has enhanced rapidly..." statement
- more importantly, it still talks about single receive/transmit queues,
  while multiqueue has been specified for ages; this also makes the "A
  third command queue" statement a bit confusing

What about generalizing this change to a "virtio-net: Improve
introductory description" update to something like the following,
copying the purpose of the control queue from the description further
below:

"The virtio network device is a virtual ethernet device with a complex
and configurable set of features. One or more pairs of virtqueues are
used for receiving and transmitting packets: Empty buffers are placed
in the first virtqueue of the pair for receiving packets, and outgoing
packets are enqueued into the other for transmission. An optional
command queue is used to dynamically manipulate various features of the
initialized device which would not easily map into the configuration
space."


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] virtio-net: Improve control vq introductory description
  2023-01-23 11:49 ` [virtio-comment] " Cornelia Huck
@ 2023-01-23 12:21   ` Parav Pandit
  0 siblings, 0 replies; 3+ messages in thread
From: Parav Pandit @ 2023-01-23 12:21 UTC (permalink / raw)
  To: Cornelia Huck, mst@redhat.com, virtio-dev@lists.oasis-open.org
  Cc: virtio-comment@lists.oasis-open.org, Shahaf Shuler



> From: Cornelia Huck <cohuck@redhat.com>
> Sent: Monday, January 23, 2023 6:49 AM
> 
> On Mon, Jan 23 2023, Parav Pandit <parav@nvidia.com> wrote:
> 
> > The control VQ of the virtio network device is used for controlling
> > multiple features, not just advanced steering control. The control VQ
> > dynamically changes multiple features of the initialized device.
> >
> > Hence, update this area of control VQ introductory description.
> >
> > This patch is on top of [1].
> >
> > [1]
> > https://lists.oasis-open.org/archives/virtio-dev/202301/msg00272.html
> 
> [Side note: better put notes like that beneath the "---" delimiter, so that they
> don't end up in the changelog, where they won't be of much interest anymore.]
>
Yes. will do in v1.
 
[..]
> I think that whole paragraph needs some editing; apart from your card/device
> terminology change, it hasn't seem updates in ages.
> 
> - the "most complex device supported so far" half sentence, while not
>   untrue, doesn't really add much to the understanding of what the net
>   device does
> - same for the "It has enhanced rapidly..." statement
> - more importantly, it still talks about single receive/transmit queues,
>   while multiqueue has been specified for ages; this also makes the "A
>   third command queue" statement a bit confusing
> 
> What about generalizing this change to a "virtio-net: Improve introductory
> description" update to something like the following, copying the purpose of the
> control queue from the description further
> below:
> 
> "The virtio network device is a virtual ethernet device with a complex and
> configurable set of features. One or more pairs of virtqueues are used for
> receiving and transmitting packets: Empty buffers are placed in the first
> virtqueue of the pair for receiving packets, and outgoing packets are enqueued
> into the other for transmission. An optional command queue is used to
> dynamically manipulate various features of the initialized device which would
> not easily map into the configuration space."

Yes, even better.
Will send v1 with proposed changes and on top of previous patch.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-23 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-23  1:16 [PATCH] virtio-net: Improve control vq introductory description Parav Pandit
2023-01-23 11:49 ` [virtio-comment] " Cornelia Huck
2023-01-23 12:21   ` Parav Pandit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox