OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-comment] [PATCH] vsock: add documentation about len header field


Hi Laura,

On Tue, Mar 22, 2022 at 10:50 AM Laura Loghin <lauralg@amazon.com> wrote:
>
> Signed-off-by: Laura Loghin <lauralg@amazon.com>
> ---
>  virtio-vsock.tex | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/virtio-vsock.tex b/virtio-vsock.tex
> index d79984d..e32cad8 100644
> --- a/virtio-vsock.tex
> +++ b/virtio-vsock.tex
> @@ -107,6 +107,11 @@ \subsection{Device Operation}\label{sec:Device Types / Socket Device / Device Op
>  #define VIRTIO_VSOCK_OP_CREDIT_REQUEST 7
>  \end{lstlisting}
>
> +\field{len} is the size of the payload, in bytes. However, the driver may
> +provide buffer(s) for the payload that have a total size longer than
> +\field{len}. If that is the case, only the first \field{len} bytes MUST be
> +used for the actual data.
> +

IIUC MUST and friends are for normative sections, so I would remove
the last sentence.


Thanks,
Stefano



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]