mem: rename address mapping function to IOVA
authorThomas Monjalon <thomas@monjalon.net>
Sat, 4 Nov 2017 16:15:04 +0000 (17:15 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Nov 2017 21:24:19 +0000 (22:24 +0100)
commit62196f4e0941fe242b43dc8f47fe35e5121f115a
tree60708edf1376dc62e4b868459b76c12ebef85e1e
parent7ba49d39f14cef4fbea95521b1224f5539321dd5
mem: rename address mapping function to IOVA

The function rte_mem_virt2phy() is kept and used in functions which
works only with physical addresses.
For all other calls this function is replaced by rte_mem_virt2iova()
which does a direct mapping (no conversion) in the VA case.

Note: the new function rte_mem_virt2iova() function matches the
behaviour implemented in rte_mem_virt2phy() by the commit
680f6c12600f ("mem: honor IOVA mode in virt2phy")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
15 files changed:
drivers/bus/dpaa/base/qbman/qman.c
drivers/bus/dpaa/base/qbman/qman.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_ring.c
drivers/net/bnxt/bnxt_vnic.c
drivers/net/liquidio/lio_rxtx.c
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_eal/bsdapp/eal/eal_memory.c
lib/librte_eal/common/include/rte_memory.h
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_eal/rte_eal_version.map
lib/librte_mempool/rte_mempool.c
lib/librte_vhost/vhost_user.c
test/test/test_mempool.c