Make global flag names consistent
PATCH 1/1 Make global flag names consistent
The global flags VIRTIO_F_EVENT_IDX and VIRTIO_F_INDIRECT_DESC have inconsistent naming throughout the document. This change removes the _RING designation from the flag names to make the usage consistent.
--- content.tex | 4 ++-- packed-ring.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
content.tex +2 -2
@@ -6574,14 +6574,14 @@ \chapter{Reserved Feature Bits}\label{sec:Reserved Feature Bits} Currently these device-independent feature bits defined: \begin{description} - \item[VIRTIO_F_RING_INDIRECT_DESC (28)] Negotiating this feature indicates + \item[VIRTIO_F_INDIRECT_DESC (28)] Negotiating this feature indicates that the driver can use descriptors with the VIRTQ_DESC_F_INDIRECT flag set, as described in \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Descriptor Table / Indirect Descriptors}~\nameref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Descriptor Table / Indirect Descriptors} and \ref{sec:Packed Virtqueues / Indirect Flag: Scatter-Gather Support}~\nameref{sec:Packed Virtqueues / Indirect Flag: Scatter-Gather Support}. - \item[VIRTIO_F_RING_EVENT_IDX(29)] This feature enables the \field{used_event} + \item[VIRTIO_F_EVENT_IDX(29)] This feature enables the \field{used_event} and the \field{avail_event} fields as described in \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / Used Buffer Notification Suppression}, \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Used Ring} and \ref{sec:Packed Virtqueues / Driver and Device Event Suppression}.
packed-ring.tex +2 -2
@@ -336,7 +336,7 @@ \subsection{Driver and Device Event Suppression} /* * Enable events for a specific descriptor * (as specified by Descriptor Ring Change Event Offset/Wrap Counter). - * Only valid if VIRTIO_F_RING_EVENT_IDX has been negotiated. + * Only valid if VIRTIO_F_EVENT_IDX has been negotiated. */ #define RING_EVENT_FLAGS_DESC 0x2 /* The value 0x3 is reserved */
@@ -597,7 +597,7 @@ \subsubsection{Implementation Example}\label{sec:Basic Facilities of a Virtio De Below is a driver code example. It does not attempt to reduce the number of available buffer notifications, neither does it support -the VIRTIO_F_RING_EVENT_IDX feature. +the VIRTIO_F_EVENT_IDX feature. \begin{lstlisting} /* Note: vq->avail_wrap_count is initialized to 1 */
Signature · 18 lines
2.25.1 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: [email protected] Unsubscribe: [email protected] List help: [email protected] 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/
Hi Cornelia,
Could you please comment on this patch - is this what you were expecting?
Thanks,
Joel
Quoted 46 lines · Joel Nider
The global flags
VIRTIO_F_EVENT_IDXandVIRTIO_F_INDIRECT_DESChave inconsistent naming throughout the document. This change removes the_RINGdesignation from the flag names to make the usage consistent.Signed-off-by Joel Nider <[email protected]>--- content.tex | 4 ++-- packed-ring.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)content.tex +2
-2@@ -6574,14 +6574,14 @@ \chapter{Reserved Feature Bits}\label{sec:Reserved Feature Bits} Currently these device-independent feature bits defined: \begin{description} - \item[VIRTIO_F_RING_INDIRECT_DESC (28)] Negotiating this feature indicates + \item[VIRTIO_F_INDIRECT_DESC (28)] Negotiating this feature indicates that the driver can use descriptors with the VIRTQ_DESC_F_INDIRECT flag set, as described in \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Descriptor Table / Indirect Descriptors}~\nameref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Descriptor Table / Indirect Descriptors} and \ref{sec:Packed Virtqueues / Indirect Flag: Scatter-Gather Support}~\nameref{sec:Packed Virtqueues / Indirect Flag: Scatter-Gather Support}. - \item[VIRTIO_F_RING_EVENT_IDX(29)] This feature enables the \field{used_event} + \item[VIRTIO_F_EVENT_IDX(29)] This feature enables the \field{used_event} and the \field{avail_event} fields as described in \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / Used Buffer Notification Suppression}, \ref{sec:Basic Facilities of a Virtio Device / Virtqueues / The Virtqueue Used Ring} and \ref{sec:Packed Virtqueues / Driver and Device Event Suppression}.packed-ring.tex +1
-1@@ -336,7 +336,7 @@ \subsection{Driver and Device Event Suppression} /* * Enable events for a specific descriptor * (as specified by Descriptor Ring Change Event Offset/Wrap Counter). - * Only valid if VIRTIO_F_RING_EVENT_IDX has been negotiated. + * Only valid if VIRTIO_F_EVENT_IDX has been negotiated. */ #define RING_EVENT_FLAGS_DESC 0x2 /* The value 0x3 is reserved */
packed-ring.tex \subsubsection{Implementation Example}\label{sec:Basic Facilities of a Virtio De · line 603
Quoted 8 lines
packed-ring.tex +1
-1@@ -597,7 +597,7 @@ \subsubsection{Implementation Example}\label{sec:Basic Facilities of a Virtio De Below is a driver code example. It does not attempt to reduce the number of available buffer notifications, neither does it support -the VIRTIO_F_RING_EVENT_IDX feature. +the VIRTIO_F_EVENT_IDX feature. \begin{lstlisting} /* Note: vq->avail_wrap_count is initialized to 1 */
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: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
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/
Quoted 3 lines · On Thu, 13 May 2021 18:22:23 -0700 Joel Nider <[email protected]> wrote:
Hi Cornelia,
Could you please comment on this patch - is this what you were expecting?
Sorry for being late; being cc:ed usually brings stuff like this to my attention sooner.
Quoted 16 lines
Thanks,
Joel
Quoted 10 lines · Joel Nider
The global flags
VIRTIO_F_EVENT_IDXandVIRTIO_F_INDIRECT_DESChave inconsistent naming throughout the document. This change removes the_RINGdesignation from the flag names to make the usage consistent.Signed-off-by Joel Nider <[email protected]>--- content.tex | 4 ++-- packed-ring.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Change looks good to me.
In order to request a vote, please follow
https://github.com/oasis-tcs/virtio-spec#use-of-github-issues
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: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
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/
Quoted 27 lines · On Mon, 17 May 2021 12:17:12 +0200 Cornelia Huck <[email protected]> wrote:
Quoted 3 lines · On Thu, 13 May 2021 18:22:23 -0700 Joel Nider <[email protected]> wrote:
Hi Cornelia,
Could you please comment on this patch - is this what you were expecting?
Sorry for being late; being cc:ed usually brings stuff like this to my attention sooner.
Quoted 16 lines
Thanks,
Joel
Quoted 10 lines · Joel Nider
The global flags
VIRTIO_F_EVENT_IDXandVIRTIO_F_INDIRECT_DESChave inconsistent naming throughout the document. This change removes the_RINGdesignation from the flag names to make the usage consistent.Signed-off-by Joel Nider <[email protected]>--- content.tex | 4 ++-- packed-ring.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Quoted 4 lines
Change looks good to me.
In order to request a vote, please follow
https://github.com/oasis-tcs/virtio-spec#use-of-github-issues
I now see that there's already
https://github.com/oasis-tcs/virtio-spec/issues/36 dealing with the same problem.
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: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
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/