[dpdk-dev] [PATCH v4 1/7] mempool: fix flags data type

Olivier MATZ olivier.matz at 6wind.com
Mon Sep 4 16:11:54 CEST 2017


On Tue, Aug 15, 2017 at 11:37:37AM +0530, Santosh Shukla wrote:
> mp->flags is int and mempool API updates unsigned int
> value in 'flags', so fix the 'flags' data type.
> 
> Patch also does mp->flags cleanup like:
> * Remove redundant 'flags' API description from
>   - __rte_mempool_generic_put
>   - __rte_mempool_generic_get
> 
> * Remove unused 'flags' param from
>   - rte_mempool_generic_put
>   - rte_mempool_generic_get
> 
> * Fix mempool var data types int mempool.c
>   - mz_flags is int, Change it to unsigned int.

This bullet list makes me think that we should have at least 2 commits:
 mempool: remove unused flags argument
 mempool: change flags from int to unsigned int



More information about the dev mailing list