bus/dpaa: add accessor for netcfg
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 15 May 2020 09:47:50 +0000 (15:17 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 May 2020 13:49:53 +0000 (15:49 +0200)
commit051ae3af3ebadc29f15b444f43d3bae6cb6f7996
tree8101443640aa735314665957f3e297afd62b5a9c
parentdf80d4f87fa7c9f6b30a9ad0e86f9ca4ee662ad2
bus/dpaa: add accessor for netcfg

This patch changes the export of fman port config
as function call instead of direct variable access.
This is in control path, so it will not impact perf.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
drivers/bus/dpaa/dpaa_bus.c
drivers/bus/dpaa/rte_bus_dpaa_version.map
drivers/bus/dpaa/rte_dpaa_bus.h
drivers/net/dpaa/dpaa_ethdev.c