diff options
author | Sachin <sachin.saxena@nxp.com> | 2016-08-09 14:37:05 +0530 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-08-12 07:48:38 +0000 |
commit | 3f0cb9efadb7f85e5ae435a83b55a7e7a331dafd (patch) | |
tree | c3f5ced5cc957da87b59294aa5d4d4689d12471c /build-data/platforms/dpaa2.mk | |
parent | 58a90a4b1648a1581a69c06ec729f20979f9e6b2 (diff) |
VPP: NXP dpaa2 platform porting to dpdk-16.07
This patch will temporary add the "dpaa2" driver support in VPP in-built DPDK v16.07
Change-Id: Ieb7005c73bdb72e5eac88e17c21474479ad087f0
Signed-off-by: Sachin <sachin.saxena@nxp.com>
Diffstat (limited to 'build-data/platforms/dpaa2.mk')
-rw-r--r-- | build-data/platforms/dpaa2.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build-data/platforms/dpaa2.mk b/build-data/platforms/dpaa2.mk index 7f25d2121c2..0ec627a48ef 100644 --- a/build-data/platforms/dpaa2.mk +++ b/build-data/platforms/dpaa2.mk @@ -38,7 +38,7 @@ else # 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)-" +dpaa2_dpdk_make_extra_args = "CROSS=$(dpaa2_target)- DPDK_PKTMBUF_HEADROOM=256" endif endif @@ -47,20 +47,20 @@ vpp_configure_args_dpaa2 = --with-dpdk --without-ipsec \ vnet_configure_args_dpaa2 = --with-dpdk --without-ipsec \ --without-ipv6sr --with-sysroot=$(SYSROOT) -# Set these parameters carefully. The vlib_buffer_t is 128 bytes, i.e. -vlib_configure_args_dpaa2 = --with-pre-data=128 +# Set these parameters carefully. The vlib_buffer_t is 256 bytes, i.e. +vlib_configure_args_dpaa2 = --with-pre-data=256 dpaa2_debug_TAG_CFLAGS = -g -O2 -DCLIB_DEBUG -fPIC -fstack-protector-all \ - -march=$(MARCH) -Werror + -march=$(MARCH) -Werror -DCLIB_LOG2_CACHE_LINE_BYTES=6 dpaa2_debug_TAG_LDFLAGS = -g -O2 -DCLIB_DEBUG -fstack-protector-all \ - -march=$(MARCH) -Werror + -march=$(MARCH) -Werror -DCLIB_LOG2_CACHE_LINE_BYTES=6 # Use -rdynamic is for stack tracing, O0 for debugging....default is O2 # Use -DCLIB_LOG2_CACHE_LINE_BYTES to change cache line size dpaa2_TAG_CFLAGS = -g -O2 -fPIC -march=$(MARCH) -mcpu=$(dpaa2_mtune) \ - -mtune=$(dpaa2_mtune) -funroll-all-loops -Werror + -mtune=$(dpaa2_mtune) -funroll-all-loops -Werror -DCLIB_LOG2_CACHE_LINE_BYTES=6 dpaa2_TAG_LDFLAGS = -g -O2 -fPIC -march=$(MARCH) -mcpu=$(dpaa2_mtune) \ - -mtune=$(dpaa2_mtune) -funroll-all-loops -Werror + -mtune=$(dpaa2_mtune) -funroll-all-loops -Werror -DCLIB_LOG2_CACHE_LINE_BYTES=6 |