Re: [dpdk-dev] [PATCH 0/2] bitmap: add create bitmap with all bits set

2020-04-02 Thread Suanming Mou
Ping > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, March 25, 2020 9:26 PM > To: cristian.dumitre...@intel.com > Cc: dev@dpdk.org; Suanming Mou > Subject: Re: [dpdk-dev] [PATCH 0/2] bitmap: add create bitmap with all bits > set > > Call for

Re: [dpdk-dev] [PATCH 0/2] bitmap: add create bitmap with all bits set

2020-03-25 Thread Thomas Monjalon
Call for review, please. 10/03/2020 09:21, Suanming Mou: > 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

[dpdk-dev] [PATCH 0/2] bitmap: add create bitmap with all bits set

2020-03-10 Thread Suanming Mou
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