> From: Mattias Rönnblom [mailto:[email protected]]
> Sent: Friday, 9 August 2024 22.15
>
> Introduce a set of functions and macros that operate on sets of bits,
> kept in arrays of 64-bit words.
This could be 32-bit words on 32 bit architectures. Just an idea.
>
> 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.
RTE bitset uses size_t to index the bits.
This means that it supports very large bitsets.
If it is not supposed to support more than 2^32 bits, it could use uint32_t for
indexing.
I don't know if it make any practical difference.
>
> Depends-on: series-32740 ("Improve EAL bit operations API")
>
> Signed-off-by: Mattias Rönnblom <[email protected]>
>
> --
With or without considering the above ideas, this library is a good addition to
DPDK.
For the series,
Acked-by: Morten Brørup <[email protected]>