Hi Cristian,
>
> My understanding is your proposed procedure for scanning starting at an
> offset is:
> 1. Call the new function: __rte_bitmap_scan_init_at() 2. Call the regular
> function: rte_bitmap_scan()
>
> I think this procedure is not ideal, therefore I suggest we create a new API
> f
itrescu, Cristian ; Volodymyr Fialko
> >
> > Cc: dev@dpdk.org; jer...@marvell.com; ano...@marvell.com
> > Subject: Re: [PATCH] bitmap: add scan init at given position
> >
> > Cristian, please could you review this patch?
> >
> > 14/04/2023 10:39, Volod
; Subject: Re: [PATCH] bitmap: add scan init at given position
>
> Cristian, please could you review this patch?
>
> 14/04/2023 10:39, Volodymyr Fialko:
> > Currently, in the case when we search for a bit set after a particular
> > value, the bitmap has to be scanned from the
Cristian, please could you review this patch?
14/04/2023 10:39, Volodymyr Fialko:
> 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.
>
> A
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_init_at() function to initialize scan state at
the given position,
5 matches
Mail list logo