NXP DPAA2 Poll Mode Driver Support in DPDK

Upstreaming of DPAA2 driver changes is in progress.This patch will
 temporary add the support in VPP in built DPDK.

 Two types of changes:
     1. Driver specfic independent files. No impact on any other functionality.
     2. Changes in common EAL framework. These changes are done in compile time DPAA2
        specific flag, so no impact is expected on other existing features if not
	compiling for DPAA2.

Change-Id: I02abe7189313835b51ff654b4d7e566bc0fb8327
Signed-off-by: Sachin <sachin.saxena@nxp.com>
This commit is contained in:
Sachin
2016-06-17 14:18:19 +05:30
committed by Damjan Marion
parent 85b528e093
commit bd05e17d79
2 changed files with 40410 additions and 4 deletions

View File

@ -24,9 +24,8 @@ dpaa2_native_tools = vppapigen
dpaa2_root_packages = vpp vlib vlib-api vnet svm vpp-api-test
# DPDK configuration parameters
#
# We are using external DPDK module with NXP-DPAA2 platform support.
# Compile DPDK only if "DPDK_PATH" variable is defined where we have
dpaa2_uses_dpdk = yes
# Compile with external DPDK only if "DPDK_PATH" variable is defined where we have
# installed DPDK libraries and headers.
ifeq ($(PLATFORM),dpaa2)
ifneq ($(DPDK_PATH),)
@ -35,7 +34,10 @@ dpaa2_uses_external_dpdk = yes
dpaa2_dpdk_inc_dir = $(DPDK_PATH)/include/dpdk
dpaa2_dpdk_lib_dir = $(DPDK_PATH)/lib
else
$(error Please define path <DPDK_PATH> for installed DPDK headers and libs)
# compile using internal DPDK + NXP DPAA2 Driver patch
dpaa2_dpdk_arch = "armv8a"
dpaa2_dpdk_target = "arm64-dpaa2-linuxapp-gcc"
dpaa2_dpdk_make_extra_args = "CROSS=$(dpaa2_target)-"
endif
endif

File diff suppressed because it is too large Load Diff