[PATCH v5] bitmap: add scan from offset function

Stephen Hemminger stephen at networkplumber.org
Fri Oct 4 05:04:07 CEST 2024


On Mon, 3 Jul 2023 14:39:08 +0200
Volodymyr Fialko <vfialko at marvell.com> wrote:

> +/**
> + * Bitmap initialize internal scan pointers at the given position for the scan function.
> + *
> + * Note: for private/internal use, for public:
> + * @see rte_bitmap_scan_from_offset()
> + *
> + * @param bmp
> + *   Handle to bitmap instance
> + * @param pos
> + *   Bit position to start scan
> + */
> +static inline void
> +__rte_bitmap_scan_init_at(struct rte_bitmap *bmp, uint32_t pos)
> +{
> +	uint64_t *slab1;

Since this exposed in a header file, needs to be internal or experimental.


More information about the dev mailing list