]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_tso.c
malloc: rename address mapping function to IOVA
[dpdk.git] / drivers / net / sfc / sfc_tso.c
index fb79d74911ce7b3be8d5d6be2aaa1b375f250f83..ad100676eb52d3347cb3f5d2a4e5dbab3a4ed65b 100644 (file)
@@ -155,7 +155,7 @@ sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
                                           header_len);
                tsoh = txq->sw_ring[idx & txq->ptr_mask].tsoh;
 
-               header_paddr = rte_malloc_virt2phy((void *)tsoh);
+               header_paddr = rte_malloc_virt2iova((void *)tsoh);
        } else {
                if (m->data_len == header_len) {
                        *in_off = 0;