numam-dpdk/drivers/common
Shreyansh Jain 2f3d633aa5 common/dpaax: add library for PA/VA translation table
A common library, valid for dpaaX drivers, which is used to maintain
a local copy of PA->VA translations.

In case of physical addressing mode (one of the option for FSLMC, and
only option for DPAA bus), the addresses of descriptors Rx'd are
physical. These need to be converted into equivalent VA for rte_mbuf
and other similar calls.

Using the rte_mem_virt2iova or rte_mem_virt2phy is expensive. This
library is an attempt to reduce the overall cost associated with
this translation.

A small table is maintained, containing continuous entries
representing a continguous physical range. Each of these entries
stores the equivalent VA, which is fed during mempool creation, or
memory allocation/deallocation callbacks.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
2018-10-16 14:54:25 +02:00
..
dpaax common/dpaax: add library for PA/VA translation table 2018-10-16 14:54:25 +02:00
mvep net/mvneta: add PMD skeleton 2018-10-11 18:53:48 +02:00
octeontx remove useless constructor headers 2018-07-12 00:00:35 +02:00
qat compress/qat: use compression specific driver name 2018-08-30 05:10:50 +02:00
Makefile common/dpaax: add library for PA/VA translation table 2018-10-16 14:54:25 +02:00
meson.build common/dpaax: add library for PA/VA translation table 2018-10-16 14:54:25 +02:00