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

2021-01-04 Thread Dumitrescu, Cristian
> -Original Message- > From: Nithin Dabilpuram > Sent: Monday, December 14, 2020 10:29 AM > To: Dumitrescu, Cristian > Cc: jer...@marvell.com; dev@dpdk.org; Nithin Dabilpuram > > Subject: [PATCH 2/2] bitmap: fix bitmap not empty API for 128B cacheline > > Currently bitmap line not em

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

2020-12-14 Thread 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, plt_bitmap_clear() will mark complete line as empty as soon as 8 slabs are full thereby breaking bitmap scan functionality. Fix it by defining new __