* [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature
@ 2019-11-20 8:29 Cornelia Huck
2019-11-20 11:10 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Cornelia Huck @ 2019-11-20 8:29 UTC (permalink / raw)
To: virtio-comment
Cc: Vitaly Mireyno, Michael S . Tsirkin, Jason Wang, Cornelia Huck
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
---
Note: I have not added definite articles to the feature description; _all_
features for virtio-net are described in that way, and we should add them
in one go should we decide to change that.
---
content.tex | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content.tex b/content.tex
index 5d3f865956aa..452763bbbbc4 100644
--- a/content.tex
+++ b/content.tex
@@ -3100,8 +3100,8 @@ \subsubsection{Packet Transmission}\label{sec:Device Types / Network Device / De
\begin{itemize}
\item If the VIRTIO_NET_F_GUEST_HDRLEN feature has been negotiated,
\field{hdr_len} indicates the header length that needs to be replicated
- for each packet. It's a number of bytes from beginning of the packet
- to beginning of the transport payload.
+ for each packet. It's a number of bytes from the beginning of the packet
+ to the beginning of the transport payload.
Otherwise, if the VIRTIO_NET_F_GUEST_HDRLEN feature has not been negotiated,
\field{hdr_len} is a hint to the device as to how much of the header
needs to be kept to copy into each packet, usually set to the
@@ -3217,7 +3217,7 @@ \subsubsection{Packet Transmission}\label{sec:Device Types / Network Device / De
\begin{note}
Caution should be taken by the implementation so as to prevent
- malicious driver from attacking the device by setting incorrect hdr_len.
+ a malicious driver from attacking the device by setting an incorrect hdr_len.
\end{note}
\item If the VIRTIO_NET_F_GUEST_HDRLEN feature has not been negotiated,
--
2.21.0
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 related [flat|nested] 4+ messages in thread* Re: [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature
2019-11-20 8:29 [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature Cornelia Huck
@ 2019-11-20 11:10 ` Stefan Hajnoczi
2019-11-20 11:16 ` Michael S. Tsirkin
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2019-11-20 11:10 UTC (permalink / raw)
To: Cornelia Huck
Cc: virtio-comment, Vitaly Mireyno, Michael S . Tsirkin, Jason Wang
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
On Wed, Nov 20, 2019 at 09:29:41AM +0100, Cornelia Huck wrote:
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> ---
>
> Note: I have not added definite articles to the feature description; _all_
> features for virtio-net are described in that way, and we should add them
> in one go should we decide to change that.
>
> ---
> content.tex | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/content.tex b/content.tex
> index 5d3f865956aa..452763bbbbc4 100644
> --- a/content.tex
> +++ b/content.tex
> @@ -3100,8 +3100,8 @@ \subsubsection{Packet Transmission}\label{sec:Device Types / Network Device / De
> \begin{itemize}
> \item If the VIRTIO_NET_F_GUEST_HDRLEN feature has been negotiated,
> \field{hdr_len} indicates the header length that needs to be replicated
> - for each packet. It's a number of bytes from beginning of the packet
> - to beginning of the transport payload.
> + for each packet. It's a number of bytes from the beginning of the packet
> + to the beginning of the transport payload.
Another opportunity to tweak the text:
s/a number of bytes/the number of bytes/ is slightly clearer
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature
2019-11-20 11:10 ` Stefan Hajnoczi
@ 2019-11-20 11:16 ` Michael S. Tsirkin
2019-11-20 13:19 ` Cornelia Huck
0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2019-11-20 11:16 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: Cornelia Huck, virtio-comment, Vitaly Mireyno, Jason Wang
On Wed, Nov 20, 2019 at 11:10:23AM +0000, Stefan Hajnoczi wrote:
> On Wed, Nov 20, 2019 at 09:29:41AM +0100, Cornelia Huck wrote:
> > Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> > ---
> >
> > Note: I have not added definite articles to the feature description; _all_
> > features for virtio-net are described in that way, and we should add them
> > in one go should we decide to change that.
> >
> > ---
> > content.tex | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/content.tex b/content.tex
> > index 5d3f865956aa..452763bbbbc4 100644
> > --- a/content.tex
> > +++ b/content.tex
> > @@ -3100,8 +3100,8 @@ \subsubsection{Packet Transmission}\label{sec:Device Types / Network Device / De
> > \begin{itemize}
> > \item If the VIRTIO_NET_F_GUEST_HDRLEN feature has been negotiated,
> > \field{hdr_len} indicates the header length that needs to be replicated
> > - for each packet. It's a number of bytes from beginning of the packet
> > - to beginning of the transport payload.
> > + for each packet. It's a number of bytes from the beginning of the packet
> > + to the beginning of the transport payload.
>
> Another opportunity to tweak the text:
> s/a number of bytes/the number of bytes/ is slightly clearer
>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Post a patch? Or are you asking Cornelia to integrate that into hers?
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] 4+ messages in thread* Re: [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature
2019-11-20 11:16 ` Michael S. Tsirkin
@ 2019-11-20 13:19 ` Cornelia Huck
0 siblings, 0 replies; 4+ messages in thread
From: Cornelia Huck @ 2019-11-20 13:19 UTC (permalink / raw)
To: Michael S. Tsirkin
Cc: Stefan Hajnoczi, virtio-comment, Vitaly Mireyno, Jason Wang
On Wed, 20 Nov 2019 06:16:21 -0500
"Michael S. Tsirkin" <mst@redhat.com> wrote:
> On Wed, Nov 20, 2019 at 11:10:23AM +0000, Stefan Hajnoczi wrote:
> > On Wed, Nov 20, 2019 at 09:29:41AM +0100, Cornelia Huck wrote:
> > > Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> > > ---
> > >
> > > Note: I have not added definite articles to the feature description; _all_
> > > features for virtio-net are described in that way, and we should add them
> > > in one go should we decide to change that.
> > >
> > > ---
> > > content.tex | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/content.tex b/content.tex
> > > index 5d3f865956aa..452763bbbbc4 100644
> > > --- a/content.tex
> > > +++ b/content.tex
> > > @@ -3100,8 +3100,8 @@ \subsubsection{Packet Transmission}\label{sec:Device Types / Network Device / De
> > > \begin{itemize}
> > > \item If the VIRTIO_NET_F_GUEST_HDRLEN feature has been negotiated,
> > > \field{hdr_len} indicates the header length that needs to be replicated
> > > - for each packet. It's a number of bytes from beginning of the packet
> > > - to beginning of the transport payload.
> > > + for each packet. It's a number of bytes from the beginning of the packet
> > > + to the beginning of the transport payload.
> >
> > Another opportunity to tweak the text:
> > s/a number of bytes/the number of bytes/ is slightly clearer
> >
> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
>
> Post a patch? Or are you asking Cornelia to integrate that into hers?
>
That tweak makes sense; I'll send a v2.
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] 4+ messages in thread
end of thread, other threads:[~2019-11-20 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 8:29 [virtio-comment] [PATCH] virtio-net: add missing articles for new hdr_len feature Cornelia Huck
2019-11-20 11:10 ` Stefan Hajnoczi
2019-11-20 11:16 ` Michael S. Tsirkin
2019-11-20 13:19 ` Cornelia Huck
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.