Re: [PATCH v2] public: add RING_NR_UNCONSUMED_*() macros to ring.h

2021-12-09 Thread Jan Beulich
On 09.12.2021 10:47, Juergen Gross wrote: > On 09.12.21 09:48, Jan Beulich wrote: >> On 09.12.2021 08:09, Juergen Gross wrote: >>> Today RING_HAS_UNCONSUMED_*() macros are returning the number of >>> unconsumed requests or responses instead of a boolean as the name of >>> the macros would imply.

Re: [PATCH v2] public: add RING_NR_UNCONSUMED_*() macros to ring.h

2021-12-09 Thread Juergen Gross
On 09.12.21 09:48, Jan Beulich wrote: On 09.12.2021 08:09, Juergen Gross wrote: Today RING_HAS_UNCONSUMED_*() macros are returning the number of unconsumed requests or responses instead of a boolean as the name of the macros would imply. As this "feature" is already being used, rename the

Re: [PATCH v2] public: add RING_NR_UNCONSUMED_*() macros to ring.h

2021-12-09 Thread Jan Beulich
On 09.12.2021 08:09, Juergen Gross wrote: > Today RING_HAS_UNCONSUMED_*() macros are returning the number of > unconsumed requests or responses instead of a boolean as the name of > the macros would imply. > > As this "feature" is already being used, rename the macros to > RING_NR_UNCONSUMED_*()

Re: [PATCH v2] public: add RING_NR_UNCONSUMED_*() macros to ring.h

2021-12-08 Thread Durrant, Paul
On 08/12/2021 23:09, Juergen Gross wrote: Today RING_HAS_UNCONSUMED_*() macros are returning the number of unconsumed requests or responses instead of a boolean as the name of the macros would imply. As this "feature" is already being used, rename the macros to RING_NR_UNCONSUMED_*() and define

[PATCH v2] public: add RING_NR_UNCONSUMED_*() macros to ring.h

2021-12-08 Thread Juergen Gross
Today RING_HAS_UNCONSUMED_*() macros are returning the number of unconsumed requests or responses instead of a boolean as the name of the macros would imply. As this "feature" is already being used, rename the macros to RING_NR_UNCONSUMED_*() and define the RING_HAS_UNCONSUMED_*() macros by using