[dpdk-dev] [PATCH v2 2/2] bitmap: modify bitmap not empty API for 128B cacheline

Thomas Monjalon thomas at monjalon.net
Sun Jan 17 22:48:52 CET 2021


05/01/2021 09:57, Nithin Dabilpuram:
> Currently bitmap line not empty check API assumes cache line
> of 64B and only checks 8 slabs. Since in 128B cacheline, we
> have 16 slabs per cacheline, rte_bitmap_clear() will mark
> complete line as empty as soon as 8 slabs are empty thereby
> breaking bitmap scan functionality. Fix it by defining new
> __rte_bitmap_line_not_empty() for 128B cacheline platform.
> 
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> ---
> 
> v2:
> - Fix issue with commit message and add acked-by from Cristian.

It seems you don't want to consider this patch as a fix,
so no backport request.

Applied with title "bitmap: support 128-byte cacheline in empty check", thanks.






More information about the dev mailing list