On Tue, Dec 12, 2023 at 8:11 PM Tyler Retzlaff
<roret...@linux.microsoft.com> wrote:
> On Tue, Dec 12, 2023 at 04:00:35PM +0100, David Marchand wrote:
> > On Fri, Dec 8, 2023 at 10:27 PM Tyler Retzlaff
> > <roret...@linux.microsoft.com> wrote:
> > >
> > > On Fri, Dec 08, 2023 at 03:59:43PM +0100, David Marchand wrote:
> > > > Signed-off-by: David Marchand <david.march...@redhat.com>
> > > > ---
> > >
> > > Reviewed-by: Tyler Retzlaff <roret...@linux.microsoft.com>
> > >
> > > >  lib/rcu/rte_rcu_qsbr.c | 62 ++++++++++++++++--------------------------
> > > >  lib/rcu/rte_rcu_qsbr.h |  1 +
> > > >  2 files changed, 24 insertions(+), 39 deletions(-)
> > > >
> > > > diff --git a/lib/rcu/rte_rcu_qsbr.c b/lib/rcu/rte_rcu_qsbr.c
> > > > index 41a44be4b9..5b6530788a 100644
> > > > --- a/lib/rcu/rte_rcu_qsbr.c
> > > > +++ b/lib/rcu/rte_rcu_qsbr.c
> > > > @@ -19,6 +19,9 @@
> > > >  #include "rte_rcu_qsbr.h"
> > > >  #include "rcu_qsbr_pvt.h"
> > > >
> > > > +#define RCU_LOG(level, fmt, args...) \
> > > > +     RTE_LOG(level, RCU, "%s(): " fmt "\n", __func__, ## args)
> > > > +
> > >
> > > Since you are looking in the area for all the versions of gcc/clang we
> > > use able to support the non-standard __VA_ARGS__ that discard the comma?
> >
> > I suspect there is some typo (maybe s/for all/are all/ ?).
> > Can you please clarify?
> >
> >
> > >
> > > I know that some versions of gcc do and if it does I would like to move
> > > to using __VA_ARGS__ instead of args so we can use the same thing with
> > > msvc.
> >
> > If the request is to translate the ## args stuff to __VA_ARGS__, I
> > would prefer this is done in a separate series and not to mix with
> > this already huge series.
>
> Yes.
>
> I was asking if translation was possible from ## args to __VA_ARGS__.
>
> I was also asking if you could help do the translation. I didn't mean to
> suggest it should be done in this series.

Ok, I'll see if I can spend some cycles on this, but in January.


-- 
David Marchand

Reply via email to