RE: [PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, 15 October 2024 21.58 > > 15/10/2024 16:44, Morten Brørup: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > Sent: Tuesday, 15 October 2024 16.13 > > > > > > 15/10/2024 14:53, Morten Brørup: > > > > > From: David Ma

Re: [PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread Thomas Monjalon
15/10/2024 16:44, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Tuesday, 15 October 2024 16.13 > > > > 15/10/2024 14:53, Morten Brørup: > > > > From: David Marchand [mailto:david.march...@redhat.com] > > > > @@ -255,7 +255,13 @@ __rte_experimental > > > > static

RE: [PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, 15 October 2024 16.13 > > 15/10/2024 14:53, Morten Brørup: > > > From: David Marchand [mailto:david.march...@redhat.com] > > > @@ -255,7 +255,13 @@ __rte_experimental > > > static inline bool > > > rte_bitset_test(const uint64

Re: [PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread Thomas Monjalon
15/10/2024 14:53, Morten Brørup: > > From: David Marchand [mailto:david.march...@redhat.com] > > @@ -255,7 +255,13 @@ __rte_experimental > > static inline bool > > rte_bitset_test(const uint64_t *bitset, size_t bit_num) > > { > > +#ifdef ALLOW_EXPERIMENTAL_API > > return __RTE_BITSET_DELEGAT

RE: [PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Tuesday, 15 October 2024 14.11 > > For a reason similar to the change on bitops header, hide bitset > implementation relying on experimental API. > > Fixes: 99a1197647d8 ("eal: add bitset type") > > Signed-off-by: David Marchand

[PATCH 2/3] bitset: fix build for GCC without experimental API

2024-10-15 Thread David Marchand
For a reason similar to the change on bitops header, hide bitset implementation relying on experimental API. Fixes: 99a1197647d8 ("eal: add bitset type") Signed-off-by: David Marchand --- lib/eal/include/rte_bitset.h | 123 +++ 1 file changed, 123 insertions(+)