When packet pool memory page size is >= FIRST_HP_SIZE, leave those memory buffers unused which cross page boundary. This is required by zero-copy dpdk pktio (NIC drivers don't support buffers which cross page boundaries). V2:
Rebase (Bill) Clarified terminology (Bill) Minimized the number of allocated extra packet buffers (Bill) V3: Abort in case of odp_shm_info() failure (Maxim) Signed-off-by: Matias Elo [email protected] ----------------github------------------------ /** Email created from pull request 223 (matiaselo:fix/pool_create) ** https://github.com/Linaro/odp/pull/223 ** Patch: https://github.com/Linaro/odp/pull/223.patch ** Base sha: 37b430cb9e8f6834a3c76ab108489cec719b9e32 ** Merge commit sha: 1619c61c5d289d14ea8266a22b889484a980827f **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ total: 0 errors, 0 warnings, 0 checks, 92 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. ----------------/checkpatch.pl------------------------
