Re: [dpdk-dev] [PATCH v6 0/6] implement common rte bit operation APIs in PMDs

2020-01-17 Thread David Marchand
On Wed, Dec 18, 2019 at 7:00 AM Joyce Kong wrote: > > There are a lot functions of bit operations scattered in PMDs, consolidate > them into a common API family and applied in different PMDs to reduce code > duplication. > > v6: > Trim 'unsigned long' in PMDs down to 'uint32_t', as on mainstream

Re: [dpdk-dev] [PATCH v6 0/6] implement common rte bit operation APIs in PMDs

2019-12-17 Thread Gavin Hu
Hi Maintainers, This series of patches is to consolidate the rte bitops APIs(to reduce duplication) and aim for use by all PMDs. In this stage, a few of PMDs you maintained were piloted to stabilize the APIs. Before expansion to all PMDs, could you please shout out your opinions? The APIs hav

[dpdk-dev] [PATCH v6 0/6] implement common rte bit operation APIs in PMDs

2019-12-17 Thread Joyce Kong
There are a lot functions of bit operations scattered in PMDs, consolidate them into a common API family and applied in different PMDs to reduce code duplication. v6: Trim 'unsigned long' in PMDs down to 'uint32_t', as on mainstream 64-bit OS, 'unsigned long' is 64-bit in size, but the 32-bit OS