]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/base/ice_osdep.h
net/mlx5: rearrange creation of WQ and CQ object
[dpdk.git] / drivers / net / ice / base / ice_osdep.h
index 360e435b8df52c025951af07a1872aef9654cd76..9a170b51431212c72ebe5a099bac2b837e2c393a 100644 (file)
@@ -258,7 +258,7 @@ ice_alloc_dma_mem(__rte_unused struct ice_hw *hw,
 
        mem->size = size;
        mem->va = mz->addr;
-       mem->pa = mz->phys_addr;
+       mem->pa = mz->iova;
        mem->zone = (const void *)mz;
        PMD_DRV_LOG(DEBUG, "memzone %s allocated with physical address: "
                    "%"PRIu64, mz->name, mem->pa);