summaryrefslogtreecommitdiff
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2017-10-20 18:01:31 +0530
committerThomas Monjalon <thomas@monjalon.net>2017-11-06 22:25:55 +0100
commitefd785f99489478d14e1c222e243ecbd0b151507 (patch)
tree2ea2b52030b545ecfaabb8c48cf3d445fe11b9f1 /drivers/net/vmxnet3
parentf17ca7870ff29fab42f6743cd2795fd60346f147 (diff)
downloaddpdk-next-eventdev-efd785f99489478d14e1c222e243ecbd0b151507.zip
dpdk-next-eventdev-efd785f99489478d14e1c222e243ecbd0b151507.tar.gz
dpdk-next-eventdev-efd785f99489478d14e1c222e243ecbd0b151507.tar.xz
mempool: rename addresses from physical to IOVA
The struct fields phys_addr_t rte_mempool_objhdr.physaddr and rte_mempool_memhdr.phys_addr are renamed to rte_iova_t iova. The deprecated names are kept in an anonymous union to avoid breaking the API. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'drivers/net/vmxnet3')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_ethdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index 0fce5d9..82d59ca 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
@@ -604,7 +604,7 @@ vmxnet3_dev_setup_memreg(struct rte_eth_dev *dev)
Vmxnet3_MemoryRegion *mr = &hw->memRegs->memRegs[j];
mr->startPA =
- (uintptr_t)STAILQ_FIRST(&mp[i]->mem_list)->phys_addr;
+ (uintptr_t)STAILQ_FIRST(&mp[i]->mem_list)->iova;
mr->length = STAILQ_FIRST(&mp[i]->mem_list)->len <= INT32_MAX ?
STAILQ_FIRST(&mp[i]->mem_list)->len : INT32_MAX;
mr->txQueueBits = index[i];