> -----Original Message-----
> From: Volodymyr Fialko <vfia...@marvell.com>
> Sent: Wednesday, June 21, 2023 11:01 AM
> To: dev@dpdk.org; Dumitrescu, Cristian <cristian.dumitre...@intel.com>
> Cc: jer...@marvell.com; ano...@marvell.com; tho...@monjalon.net;
> Volodymyr Fialko <vfia...@marvell.com>
> Subject: [PATCH v3] bitmap: add scan from offset function
>
> Currently, in the case when we search for a bit set after a particular
> value, the bitmap has to be scanned from the beginning and
> rte_bitmap_scan() has to be called multiple times until we hit the value.
>
> Add a new rte_bitmap_scan_from_offset() function to initialize scan
> state at the given offset and perform scan, this will allow getting
> the next set bit after certain offset within one scan call.
>
> Signed-off-by: Volodymyr Fialko <vfia...@marvell.com>
> ---
Acked-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>