Currently, in the case to use bitmap as resource allocator, after
bitmap creation, all the bitmap bits should be set to indicate the
bit available. Every time when allocate one bit, search for the set
bits and clear it to make it in use.
Add a new rte_bitmap_init_with_all_set() function to have a
Hi Sunaming,
> -Original Message-
> From: Suanming Mou
> Sent: Wednesday, April 8, 2020 4:06 AM
> To: Dumitrescu, Cristian
> Cc: dev@dpdk.org; a...@semihalf.com
> Subject: [PATCH v2 1/2] bitmap: add create bitmap with all bits set
>
> Currently, in the case to use bitmap as resource all
> -Original Message-
> From: Dumitrescu, Cristian
> Sent: Thursday, April 9, 2020 10:16 PM
> To: Suanming Mou
> Cc: dev@dpdk.org; a...@semihalf.com
> Subject: RE: [PATCH v2 1/2] bitmap: add create bitmap with all bits set
>
> Hi Sunaming,
>
> > -Original Message-
> > From: Su
> -Original Message-
> From: Suanming Mou
> Sent: Friday, April 10, 2020 11:34 AM
> To: Dumitrescu, Cristian
> Cc: dev@dpdk.org; a...@semihalf.com
> Subject: RE: [PATCH v2 1/2] bitmap: add create bitmap with all bits set
>
>
>
> > -Original Message-
> > From: Dumitrescu, Cri
Hi Cristian
Thanks for the suggestion. Will update the v3 patch.
BR
SuanmingMou
> -Original Message-
> From: Dumitrescu, Cristian
> Sent: Friday, April 10, 2020 7:21 PM
> To: Suanming Mou
> Cc: dev@dpdk.org; a...@semihalf.com
> Subject: RE: [PATCH v2 1/2] bitmap: add create bitmap with
5 matches
Mail list logo