[dpdk-dev] [PATCH v4 12/15] mbuf: rename data address helpers to IOVA

Olivier MATZ olivier.matz at 6wind.com
Mon Nov 6 16:56:48 CET 2017


On Mon, Nov 06, 2017 at 02:41:38AM +0100, Thomas Monjalon wrote:
> The following inline functions and macros have been renamed to be
> consistent with the IOVA wording:
> 
> rte_mbuf_data_dma_addr         -> rte_mbuf_data_iova
> rte_mbuf_data_dma_addr_default -> rte_mbuf_data_iova_default
> rte_pktmbuf_mtophys            -> rte_pktmbuf_iova
> rte_pktmbuf_mtophys_offset     -> rte_pktmbuf_iova_offset
> 
> The deprecated functions and macros are kept to avoid breaking the API.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Same here, there are some remaining references after I apply the patches
(maybe we are not on the same base commit id).

$ git grep 'mbuf.*phys'
...
lib/librte_mbuf/rte_mbuf.c:     fprintf(f, "dump mbuf at %p, phys=%"PRIx64", buf_len=%u\n",
...
test/test/test_cryptodev.h:pktmbuf_mtophys_offset(struct rte_mbuf *mbuf, int offset) {
test/test/test_cryptodev.h:             printf("pktmbuf_mtophys_offset: offset out of buffer\n");
test/test/test_cryptodev_blockcipher.c:                         pktmbuf_mtophys_offset(iobuf,
test/test/test_cryptodev_blockcipher.c:                         pktmbuf_mtophys_offset(sym_op->m_src,

Apart from that,
Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list