#
a3e126fd |
| 15-Oct-2024 |
David Marchand <david.marchand@redhat.com> |
bitset: fix build for GCC without experimental API
For a reason similar to the change on bitops header, hide bitset implementation relying on experimental API.
Fixes: 99a1197647d8 ("eal: add bitset
bitset: fix build for GCC without experimental API
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 <david.marchand@redhat.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Reviewed-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
show more ...
|
#
5f3cd043 |
| 16-Oct-2024 |
Mattias Rönnblom <mattias.ronnblom@ericsson.com> |
bitset: fix build with MSVC
Replace the use of __builtin_ffsll() with rte_bsf64() to be MSVC compatible.
Fixes: 99a1197647d8 ("eal: add bitset type")
Suggested-by: David Marchand <david.marchand@r
bitset: fix build with MSVC
Replace the use of __builtin_ffsll() with rte_bsf64() to be MSVC compatible.
Fixes: 99a1197647d8 ("eal: add bitset type")
Suggested-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
c889c037 |
| 09-Aug-2024 |
Mattias Rönnblom <mattias.ronnblom@ericsson.com> |
bitset: add atomic functions
Extend the bitset API with atomic versions of the most basic bitset operations.
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com> Acked-by: Tyler Retzlaff
bitset: add atomic functions
Extend the bitset API with atomic versions of the most basic bitset operations.
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|
#
99a11976 |
| 09-Aug-2024 |
Mattias Rönnblom <mattias.ronnblom@ericsson.com> |
eal: add bitset type
Introduce a set of functions and macros that operate on sets of bits, kept in arrays of 64-bit words.
RTE bitset is designed for bitsets which are larger than what fits in a si
eal: add bitset type
Introduce a set of functions and macros that operate on sets of bits, kept in arrays of 64-bit words.
RTE bitset is designed for bitsets which are larger than what fits in a single machine word (i.e., 64 bits). For very large bitsets, the <rte_bitmap.h> API may be a more appropriate choice.
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|