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

2015-05-29 Thread Thomas Monjalon
2015-05-27 09:40, Konstantin Ananyev: > v3: > - Fixed typo in the commit message. > > 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

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

2015-05-27 Thread Konstantin Ananyev
v3: - Fixed typo in the commit message. 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