mempool: store physical address in objects
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 18 May 2016 11:04:34 +0000 (13:04 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 May 2016 12:40:13 +0000 (14:40 +0200)
commit62354585159abac8af9e5c7542bf0f6a71d51fe0
treede85165fda020716087b862f82cd40a26dca8768
parentb96fab86b54ca7bed3e8cdbb9f594a365b749582
mempool: store physical address in objects

Store the physical address of the object in its header. It simplifies
rte_mempool_virt2phy() and prepares the removing of the paddr[] table
in the mempool header.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h