[dpdk-dev] [PATCH v5] mbuf: introduce common functions to get dma address

2016-03-04 Thread Thomas Monjalon
2016-03-04 10:09, Olivier Matz: > From: Ravi Kerur > > Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT > are defined in each PMD driver file. Convert macros to inline > functions and move them to common lib/librte_mbuf/rte_mbuf.h file. > PMD drivers include rte_mbuf.h file direct

[dpdk-dev] [PATCH v5] mbuf: introduce common functions to get dma address

2016-03-04 Thread Olivier Matz
From: Ravi Kerur Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT are defined in each PMD driver file. Convert macros to inline functions and move them to common lib/librte_mbuf/rte_mbuf.h file. PMD drivers include rte_mbuf.h file directly/indirectly hence no additioanl header fil