git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mempool: rename addresses from physical to IOVA
[dpdk.git]
/
drivers
/
net
/
thunderx
/
nicvf_ethdev.h
diff --git
a/drivers/net/thunderx/nicvf_ethdev.h
b/drivers/net/thunderx/nicvf_ethdev.h
index
3734430
..
e92c324
100644
(file)
--- a/
drivers/net/thunderx/nicvf_ethdev.h
+++ b/
drivers/net/thunderx/nicvf_ethdev.h
@@
-78,7
+78,7
@@
nicvf_mempool_phy_offset(struct rte_mempool *mp)
hdr = STAILQ_FIRST(&mp->mem_list);
assert(hdr != NULL);
- return (uint64_t)((uintptr_t)hdr->addr - hdr->
phys_addr
);
+ return (uint64_t)((uintptr_t)hdr->addr - hdr->
iova
);
}
static inline uint16_t