X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-data%2Fplatforms%2Fdpaa2.mk;h=2d4745acc56af08f04f1bca0723600a0815f6961;hb=a9a951f8e5ed6e172fbfbdbb6cb690c67fa2f715;hp=7f25d2121c2291e6a1a1fca09dcc3e1f3b3352d7;hpb=ea3e1fc8754d7ebeca85ecc448b263f6ccb6ae6f;p=vpp.git diff --git a/build-data/platforms/dpaa2.mk b/build-data/platforms/dpaa2.mk index 7f25d2121c2..2d4745acc56 100644 --- a/build-data/platforms/dpaa2.mk +++ b/build-data/platforms/dpaa2.mk @@ -38,29 +38,29 @@ 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 -vpp_configure_args_dpaa2 = --with-dpdk --without-ipsec \ - --without-ipv6sr --with-sysroot=$(SYSROOT) -vnet_configure_args_dpaa2 = --with-dpdk --without-ipsec \ - --without-ipv6sr --with-sysroot=$(SYSROOT) +vpp_configure_args_dpaa2 = --with-dpdk --without-libssl \ + --with-sysroot=$(SYSROOT) +vnet_configure_args_dpaa2 = --with-dpdk --without-libssl \ + --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