net/enetc: enable dpaax library
authorGagandeep Singh <g.singh@nxp.com>
Wed, 23 Oct 2019 06:06:02 +0000 (11:36 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
commite56463ec47f0d253e4c20b9250ba883dc2ebca40
treed515f877fa5e0363700d8388603c127e3a36757c
parent832e88d82f6f1e3b6f30de874cdff4cfe81950b0
net/enetc: enable dpaax library

dpaaX is used to maintain a local copy of PA->VA translations.

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.

This patch enables this dpaaX library by populating a dpaaX's
table for PA to VA translation. This change will also help the
caam JR driver in PA to VA translation when used with enetc driver
over enetc supported SoCs.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
drivers/net/enetc/Makefile
drivers/net/enetc/enetc_ethdev.c
drivers/net/enetc/meson.build