numam-dpdk/lib/librte_mempool
Konstantin Ananyev 41ba94ca98 mempool: fix pages computation to determine number of objects
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 one otherwise.
This commit checks subsequent pages only when several are required per object.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2015-05-29 20:27:23 +02:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_dom0_mempool.c tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
rte_mempool_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_mempool.c mempool: fix pages computation to determine number of objects 2015-05-29 20:27:23 +02:00
rte_mempool.h mempool: limit cache size 2015-05-20 10:46:08 +02:00