From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: virtio-dev@lists.oasis-open.org, pasic@linux.ibm.com,
cohuck@redhat.com, virtio-comment@lists.oasis-open.org,
shahafs@nvidia.com, Max Gurtovoy <mgurtovoy@nvidia.com>
Subject: [virtio-dev] Re: [PATCH 3/3] transport-pci: Improve queue msix vector register desc
Date: Tue, 4 Apr 2023 03:20:56 -0400 [thread overview]
Message-ID: <20230404031723-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20230324013534.280820-4-parav@nvidia.com>
On Fri, Mar 24, 2023 at 04:35:34AM +0300, Parav Pandit wrote:
> queue_msix_vector register is for receiving interrupts from the device
> for the virtqueue.
>
> "for MSI-X" is confusing term.
>
> Also it is the register that driver "writes" to, similar to
> many other registers such as queue_desc, queue_driver etc.
>
> Hence, replace the verb from use to write.
>
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
> ---
> transport-pci.tex | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/transport-pci.tex b/transport-pci.tex
> index 1bc89b4..9d492d5 100644
> --- a/transport-pci.tex
> +++ b/transport-pci.tex
> @@ -367,7 +367,8 @@ \subsubsection{Common configuration structure layout}\label{sec:Virtio Transport
> A 0 means the queue is unavailable.
>
> \item[\field{queue_msix_vector}]
> - The driver uses this to specify the queue vector for MSI-X.
> + The driver writes an MSI-X vector number for receiving
> + virtqueue interrupts.
Ok but "receiving" is confusing here. And the verb writes seems
to ask for direction, look at queue_desc as an example.
Following that example:
The driver writes the MSI-X vector number used for virtqueue interrupts here.
would you agree?
> \item[\field{queue_enable}]
> The driver uses this to selectively prevent the device from executing requests from this virtqueue.
> --
> 2.26.2
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next prev parent reply other threads:[~2023-04-04 7:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 1:35 [virtio-dev] [PATCH 0/3] transport-pci: msix summary update Parav Pandit
2023-03-24 1:35 ` [virtio-dev] [PATCH 1/3] transport-pci: Remove empty line at end of file Parav Pandit
2023-03-27 14:57 ` [virtio-dev] Re: [virtio-comment] " David Edmondson
2023-04-04 7:22 ` [virtio-dev] " Michael S. Tsirkin
2023-03-24 1:35 ` [virtio-dev] [PATCH 2/3] transport-pci: Improve config msix vector description Parav Pandit
2023-03-24 1:35 ` [virtio-dev] [PATCH 3/3] transport-pci: Improve queue msix vector register desc Parav Pandit
2023-04-04 7:20 ` Michael S. Tsirkin [this message]
2023-04-04 18:14 ` [virtio-dev] " Parav Pandit
2023-04-04 19:08 ` [virtio-dev] " Michael S. Tsirkin
2023-03-27 6:09 ` [virtio-dev] Re: [virtio-comment] [PATCH 0/3] transport-pci: msix summary update Xuan Zhuo
2023-04-03 22:39 ` [virtio-dev] " Parav Pandit
2023-04-04 8:28 ` Cornelia Huck
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=20230404031723-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=cohuck@redhat.com \
--cc=mgurtovoy@nvidia.com \
--cc=parav@nvidia.com \
--cc=pasic@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox