From: Laura Loghin <lauralg@amazon.com>
To: virtio-comment@lists.oasis-open.org
Cc: Laura Loghin <lauralg@amazon.com>
Subject: [virtio-comment] [PATCH v3] vsock: add documentation about len header field
Date: Thu, 7 Apr 2022 11:13:30 +0300 [thread overview]
Message-ID: <20220407081330.17553-1-lauralg@amazon.com> (raw)
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..1d6579b 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}, in which case only the first \field{len} bytes will be used for
+the actual data.
+
\subsubsection{Virtqueue Flow Control}\label{sec:Device Types / Socket Device / Device Operation / Virtqueue Flow Control}
The tx virtqueue carries packets initiated by applications and replies to
--
2.17.1
Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.
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/
next reply other threads:[~2022-04-07 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 8:13 Laura Loghin [this message]
2022-04-07 12:04 ` [virtio-comment] [PATCH v3] vsock: add documentation about len header field Stefano Garzarella
2022-04-11 13:53 ` Cornelia Huck
2022-04-11 13:58 ` Laura Loghin
2022-04-11 14:32 ` Cornelia Huck
2022-04-12 9:25 ` Laura Loghin
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=20220407081330.17553-1-lauralg@amazon.com \
--to=lauralg@amazon.com \
--cc=virtio-comment@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox