From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: Cornelia Huck <cohuck@redhat.com>,
"virtio-dev@lists.oasis-open.org"
<virtio-dev@lists.oasis-open.org>,
"virtio-comment@lists.oasis-open.org"
<virtio-comment@lists.oasis-open.org>,
Shahaf Shuler <shahafs@nvidia.com>
Subject: Re: [PATCH v2] virtio-net: Improve introductory description
Date: Wed, 8 Feb 2023 04:46:15 -0500 [thread overview]
Message-ID: <20230208043417-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <PH0PR12MB548198D89BB5C0239237A7C2DCD89@PH0PR12MB5481.namprd12.prod.outlook.com>
On Wed, Feb 08, 2023 at 01:17:55AM +0000, Parav Pandit wrote:
>
>
> > From: Cornelia Huck <cohuck@redhat.com>
> > Sent: Tuesday, February 7, 2023 5:07 AM
> >
> > On Thu, Feb 02 2023, Parav Pandit <parav@nvidia.com> wrote:
> >
> > > The control VQ of the virtio network device is used beyond advance
> > > steering control. The control VQ dynamically changes multiple features
> > > of the initialized device.
> > >
> > > Hence, update this area of control VQ introductory description at few
> > > places and also place the link to its description.
> > >
> > > Also update the introduction section to better describe receive and
> > > transmit virtqueues.
> > >
> > > Fixes: https://github.com/oasis-tcs/virtio-spec/issues/156
> > > Signed-off-by: Parav Pandit <parav@nvidia.com>
> > > ---
> > > device-types/net/description.tex | 21 +++++++++++----------
> > > 1 file changed, 11 insertions(+), 10 deletions(-)
> > >
> > > diff --git a/device-types/net/description.tex
> > > b/device-types/net/description.tex
> > > index 88a5770..dedd6b1 100644
> > > --- a/device-types/net/description.tex
> > > +++ b/device-types/net/description.tex
> > > @@ -2,13 +2,13 @@ \section{Network Device}\label{sec:Device Types /
> > > Network Device}
> > >
> > > The virtio network device is a virtual network interface controller.
> > > It consists of a virtual Ethernet link which connects the device -to
> > > the Ethernet network. It is the most complex of the devices -supported
> > > so far by virtio. It has enhanced rapidly and demonstrates -clearly
> > > how support for new features are added to an existing -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.
> > > +to the Ethernet network. The driver posts empty buffers in the
> > > +receive virtqueue. The device receives the incoming packets from the
> > > +link; the device places these incoming packets in the receive virtqueue
> > buffers.
> > > +The driver enqueues outgoing packets to the transmit virtqueue. The
> > > +device dequeues these packets from the transmit virtqueue and sends
> > > +them to the link. A control virtqueue is used to dynamically
> > > +manipulate various features of the initialized device.
What happened here? Parav it looks like your client mangled Cornelia's
response. Pls take a look at your client config.
> > General question: Is it better to talk about "the receive virtqueue" (to keep it
> > simple), or "a receive virtqueue" (as there may be several)?
>
> For sure Michael can better answer this than me. :)
> The receive virtqueue aligns to me with "the device", the driver etc.
> It also aligns with existing sections in device and driver requirements that refers to "the receiveq".
> Since there are many queues, better to refer as "the".
> A receive queue may imply that there is only one.
My take is that it should be "a queue" the first time
we talk about it. Then if it's the same queue we say "the queue".
I also feel an intro sentence saying something along the lines
of "the device has receive and transmit queues". Then
rest of uses can be "the".
--
MST
next prev parent reply other threads:[~2023-02-08 9:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 4:00 [PATCH v2] virtio-net: Improve introductory description Parav Pandit
2023-02-07 10:07 ` [virtio-comment] " Cornelia Huck
2023-02-08 1:17 ` Parav Pandit
2023-02-08 9:46 ` Michael S. Tsirkin [this message]
2023-02-09 1:25 ` Parav Pandit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230208043417-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=cohuck@redhat.com \
--cc=parav@nvidia.com \
--cc=shahafs@nvidia.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.