From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: Jason Wang <jasowang@redhat.com>, virtio-comment@lists.linux.dev
Cc: devel@daynix.com, Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH] virtio-net: Update the max_tx_vq description
Date: Fri, 21 Mar 2025 16:01:23 +0900 [thread overview]
Message-ID: <20250321-tx-v1-1-dd21fbdedf7a@daynix.com> (raw)
The previous description said:
> A driver sets \field{max_tx_vq} to inform a device how many transmit
> virtqueues it may use (transmitq1\ldots transmitq \field{max_tx_vq}).
However, it also controls how many receive virtqueues a device MAY use.
Copy the description of the virtqueue_pairs field of struct
virtio_net_ctrl_mq_pairs_set, which also has the identical semantics, to
clarify that.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
device-types/net/description.tex | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/device-types/net/description.tex b/device-types/net/description.tex
index 76585b0..5178191 100644
--- a/device-types/net/description.tex
+++ b/device-types/net/description.tex
@@ -1578,7 +1578,9 @@ \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Devi
Field \field{indirection_table} is an array of receive virtqueues ids.
-A driver sets \field{max_tx_vq} to inform a device how many transmit virtqueues it may use (transmitq1\ldots transmitq \field{max_tx_vq}).
+Field \field{max_tx_vq} specifies the number of the transmit and receive queues
+to be used up to \field{max_virtqueue_pairs}; subsequently, transmitq1\ldots
+transmitqn and receiveq1\ldots receiveqn where n=\field{max_tx_vq} MAY be used.
Fields \field{hash_key_length} and \field{hash_key_data} define the key to be used in hash calculation.
---
base-commit: b495841a8e80d12c1130f8868f4128866291142d
change-id: 20250321-tx-78e44c50a035
Best regards,
--
Akihiko Odaki <akihiko.odaki@daynix.com>
next reply other threads:[~2025-03-21 7:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-21 7:01 Akihiko Odaki [this message]
2025-03-21 8:01 ` [PATCH] virtio-net: Update the max_tx_vq description Yuri Benditovich
2025-03-21 9:37 ` Akihiko Odaki
2025-03-24 4:02 ` Jason Wang
2025-03-29 8:32 ` Akihiko Odaki
2025-04-07 2:41 ` Jason Wang
2025-04-07 3:43 ` Akihiko Odaki
2025-04-08 6:33 ` Jason Wang
2025-04-11 7:40 ` Akihiko Odaki
2025-04-16 7:38 ` Jason Wang
2025-04-19 6:22 ` Akihiko Odaki
2025-04-21 2:56 ` Jason Wang
2025-04-21 5:42 ` Akihiko Odaki
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=20250321-tx-v1-1-dd21fbdedf7a@daynix.com \
--to=akihiko.odaki@daynix.com \
--cc=devel@daynix.com \
--cc=jasowang@redhat.com \
--cc=virtio-comment@lists.linux.dev \
/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