From: David Edmondson <david.edmondson@oracle.com>
To: Parav Pandit <parav@nvidia.com>,
mst@redhat.com, virtio-dev@lists.oasis-open.org,
pasic@linux.ibm.com, cohuck@redhat.com
Cc: sgarzare@redhat.com, virtio-comment@lists.oasis-open.org,
shahafs@nvidia.com, Parav Pandit <parav@nvidia.com>
Subject: [virtio-comment] Re: [virtio-dev] [PATCH v8 0/8] Rename queue index to queue number
Date: Tue, 28 Mar 2023 14:53:05 +0100 [thread overview]
Message-ID: <m2fs9pc79a.fsf@oracle.com> (raw)
In-Reply-To: <20230327235936.414196-1-parav@nvidia.com>
Parav Pandit <parav@nvidia.com> writes:
> 1. Currently, virtqueue is identified between driver and device
> interchangeably using either number of index terminology.
"number or index"
>
> 2. Between PCI and MMIO transport the queue size (depth) is
> defined as queue_size and QueueNum respectively.
>
> To avoid confusion and to have consistency, unify them to use as Number.
s/as//
>
> Solution:
> a. Use virtqueue number description, and rename MMIO register as QueueSize.
> b. Replace virtqueue index to virtqueue number
s/to/with/
> c. RSS area of virtio net has inherited some logic, describe it
> using abstract rq_handle.
>
> Patch summary:
> patch-1 introduce vq number as generic term
> patch-2 renames index to number for pci transport
> patch-3 renames mmio register from Num to Size
> patch-4 renames index to number for mmio transport
> patch-5 renames num field to size for ccw transport
> patch-6 renames index field to queue_select for ccw transport
> patch-7 for virtio-net removes duplicate example from requirements
> patch-8 for virtio-net updates rss description to use vq number
>
> This series only improves the documentation, it does not change any
> transport or device functionality.
>
> Please review.
> This series fixes the issue [1].
>
> [1] https://github.com/oasis-tcs/virtio-spec/issues/163
>
> ---
> changelog:
> v7->v8:
> - remove note about first virtqueue number
> - skipped Max's comment to put word 'structure' in same line as its
> crosses 65 chars limit per line
> - reworded queue_notification data set line, as '=' and vq number
> wording was odd
> v6->v7:
> - remove text around first vq as it is already covered in the basic
> virtqueues facility section
> v5->v6:
> - moved the vq number description from middle of vq operation
> to beginning of vq introduction
> v4->v5:
> - fixed accidental removal of "unclassifed packets".
> - simplfied text around indirection_table mask
> - removed rss_rq_id references as indirection table and
> unclassified_queue data type is self explanatory
> v3->v4:
> - moved note to comment for ccw
> - renamed rq_handle to rss_rq_id
> - moved rss_rq_id next to rss_config structure
> - define rss_config structure using rss_rq_id
> v2->v3:
> - addressed comments from Michael
> - added previous definitions for ccw fields
> - moved rq_handle definition before using it
> - added first patch to describe vq number
> - updated pci for available buffer notification section
> v1->v2:
> - added patches for virtio net for rss area
> - added patches for covering ccw transport
> - added missing entries to refer in mmio transport
>
>
> Parav Pandit (8):
> content: Add vq number text
> transport-pci: Refer to the vq by its number
> transport-mmio: Rename QueueNum register
> transport-mmio: Refer to the vq by its number
> transport-ccw: Rename queue depth/size to other transports
> transport-ccw: Refer to the vq by its number
> virtio-net: Avoid duplicate receive queue example
> virtio-net: Describe RSS using rss rq id
>
> content.tex | 3 ++
> device-types/net/description.tex | 28 ++++++++++----
> transport-ccw.tex | 27 ++++++++------
> transport-mmio.tex | 63 ++++++++++++++++++--------------
> transport-pci.tex | 14 ++++---
> 5 files changed, 82 insertions(+), 53 deletions(-)
>
> --
> 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
--
When the laugh track starts then the fun starts.
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/
WARNING: multiple messages have this Message-ID (diff)
From: David Edmondson <david.edmondson@oracle.com>
To: Parav Pandit <parav@nvidia.com>,
mst@redhat.com, virtio-dev@lists.oasis-open.org,
pasic@linux.ibm.com, cohuck@redhat.com
Cc: sgarzare@redhat.com, virtio-comment@lists.oasis-open.org,
shahafs@nvidia.com, Parav Pandit <parav@nvidia.com>
Subject: Re: [virtio-dev] [PATCH v8 0/8] Rename queue index to queue number
Date: Tue, 28 Mar 2023 14:53:05 +0100 [thread overview]
Message-ID: <m2fs9pc79a.fsf@oracle.com> (raw)
In-Reply-To: <20230327235936.414196-1-parav@nvidia.com>
Parav Pandit <parav@nvidia.com> writes:
> 1. Currently, virtqueue is identified between driver and device
> interchangeably using either number of index terminology.
"number or index"
>
> 2. Between PCI and MMIO transport the queue size (depth) is
> defined as queue_size and QueueNum respectively.
>
> To avoid confusion and to have consistency, unify them to use as Number.
s/as//
>
> Solution:
> a. Use virtqueue number description, and rename MMIO register as QueueSize.
> b. Replace virtqueue index to virtqueue number
s/to/with/
> c. RSS area of virtio net has inherited some logic, describe it
> using abstract rq_handle.
>
> Patch summary:
> patch-1 introduce vq number as generic term
> patch-2 renames index to number for pci transport
> patch-3 renames mmio register from Num to Size
> patch-4 renames index to number for mmio transport
> patch-5 renames num field to size for ccw transport
> patch-6 renames index field to queue_select for ccw transport
> patch-7 for virtio-net removes duplicate example from requirements
> patch-8 for virtio-net updates rss description to use vq number
>
> This series only improves the documentation, it does not change any
> transport or device functionality.
>
> Please review.
> This series fixes the issue [1].
>
> [1] https://github.com/oasis-tcs/virtio-spec/issues/163
>
> ---
> changelog:
> v7->v8:
> - remove note about first virtqueue number
> - skipped Max's comment to put word 'structure' in same line as its
> crosses 65 chars limit per line
> - reworded queue_notification data set line, as '=' and vq number
> wording was odd
> v6->v7:
> - remove text around first vq as it is already covered in the basic
> virtqueues facility section
> v5->v6:
> - moved the vq number description from middle of vq operation
> to beginning of vq introduction
> v4->v5:
> - fixed accidental removal of "unclassifed packets".
> - simplfied text around indirection_table mask
> - removed rss_rq_id references as indirection table and
> unclassified_queue data type is self explanatory
> v3->v4:
> - moved note to comment for ccw
> - renamed rq_handle to rss_rq_id
> - moved rss_rq_id next to rss_config structure
> - define rss_config structure using rss_rq_id
> v2->v3:
> - addressed comments from Michael
> - added previous definitions for ccw fields
> - moved rq_handle definition before using it
> - added first patch to describe vq number
> - updated pci for available buffer notification section
> v1->v2:
> - added patches for virtio net for rss area
> - added patches for covering ccw transport
> - added missing entries to refer in mmio transport
>
>
> Parav Pandit (8):
> content: Add vq number text
> transport-pci: Refer to the vq by its number
> transport-mmio: Rename QueueNum register
> transport-mmio: Refer to the vq by its number
> transport-ccw: Rename queue depth/size to other transports
> transport-ccw: Refer to the vq by its number
> virtio-net: Avoid duplicate receive queue example
> virtio-net: Describe RSS using rss rq id
>
> content.tex | 3 ++
> device-types/net/description.tex | 28 ++++++++++----
> transport-ccw.tex | 27 ++++++++------
> transport-mmio.tex | 63 ++++++++++++++++++--------------
> transport-pci.tex | 14 ++++---
> 5 files changed, 82 insertions(+), 53 deletions(-)
>
> --
> 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
--
When the laugh track starts then the fun starts.
---------------------------------------------------------------------
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-03-28 13:53 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-27 23:59 [virtio-comment] [PATCH v8 0/8] Rename queue index to queue number Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 1/8] content: Add vq number text Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 13:56 ` [virtio-comment] " David Edmondson
2023-03-28 13:56 ` David Edmondson
2023-03-28 14:00 ` [virtio-comment] " Parav Pandit
2023-03-28 14:00 ` [virtio-dev] " Parav Pandit
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 2/8] transport-pci: Refer to the vq by its number Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 13:58 ` [virtio-comment] " David Edmondson
2023-03-28 13:58 ` David Edmondson
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 3/8] transport-mmio: Rename QueueNum register Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 14:01 ` [virtio-comment] " David Edmondson
2023-03-28 14:01 ` [virtio-dev] " David Edmondson
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 4/8] transport-mmio: Refer to the vq by its number Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 14:05 ` [virtio-comment] " David Edmondson
2023-03-28 14:05 ` [virtio-dev] " David Edmondson
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 5/8] transport-ccw: Rename queue depth/size to other transports Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 14:07 ` [virtio-comment] " David Edmondson
2023-03-28 14:07 ` [virtio-dev] " David Edmondson
2023-03-28 15:04 ` Parav Pandit
2023-03-28 15:04 ` [virtio-dev] " Parav Pandit
2023-03-28 16:16 ` David Edmondson
2023-03-28 16:16 ` [virtio-dev] " David Edmondson
2023-03-28 16:18 ` Parav Pandit
2023-03-28 16:18 ` [virtio-dev] " Parav Pandit
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 6/8] transport-ccw: Refer to the vq by its number Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 7/8] virtio-net: Avoid duplicate receive queue example Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-27 23:59 ` [virtio-comment] [PATCH v8 8/8] virtio-net: Describe RSS using rss rq id Parav Pandit
2023-03-27 23:59 ` [virtio-dev] " Parav Pandit
2023-03-28 14:13 ` [virtio-comment] " David Edmondson
2023-03-28 14:13 ` David Edmondson
2023-03-28 13:53 ` David Edmondson [this message]
2023-03-28 13:53 ` [virtio-dev] [PATCH v8 0/8] Rename queue index to queue number David Edmondson
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=m2fs9pc79a.fsf@oracle.com \
--to=david.edmondson@oracle.com \
--cc=cohuck@redhat.com \
--cc=mst@redhat.com \
--cc=parav@nvidia.com \
--cc=pasic@linux.ibm.com \
--cc=sgarzare@redhat.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 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.