[dpdk-dev] [PATCHv2] mempool: fix pages computation to determine number of objects

2015-05-27 Thread Adrien Mazarguil
On Wed, May 27, 2015 at 01:41:09AM +0100, Konstantin Ananyev wrote: > v2: > - As suggested in comments use slightly different approach for the fix. > > In rte_mempool_obj_iter(), when element boundary coincides with page boundary, > even if a single page is required per object, a loop checks that

[dpdk-dev] [PATCHv2] mempool: fix pages computation to determine number of objects

2015-05-27 Thread Konstantin Ananyev
v2: - As suggested in comments use slightly different approach for the fix. In rte_mempool_obj_iter(), when element boundary coincides with page boundary, even if a single page is required per object, a loop checks that the next page is contiguous and drops the first oneo therwise. This commit che