mem: rename segment address from physical to IOVA
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Fri, 20 Oct 2017 12:31:33 +0000 (18:01 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Nov 2017 21:23:41 +0000 (22:23 +0100)
commit7ba49d39f14cef4fbea95521b1224f5539321dd5
treee295f553826ebd87c8610d36c21ff7e82d0756b1
parentd03896dc2d15e0eb327301d95ce571473ee85f82
mem: rename segment address from physical to IOVA

Renaming rte_memseg {.phys_addr} to {.iova}
Keep the deprecated name in an anonymous union to avoid breaking
the API.

Use rte_iova_t and RTE_BAD_IOVA where appropriate in
memory segment handling.

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_eal/bsdapp/eal/eal_memory.c
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/common/include/rte_memory.h
lib/librte_eal/common/rte_malloc.c
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_eal/linuxapp/eal/eal_vfio.c