From: Maryam Tahhan Date: Mon, 5 Oct 2015 16:44:17 +0000 (+0100) Subject: src: add appropriate build flags for OVS dpdk X-Git-Tag: brahmaputra.1.0~86 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d8e69f9d31492faf685bd92944cc3f4e76c4b1d1;p=vswitchperf.git src: add appropriate build flags for OVS dpdk Technical Debt - Add appropriate build flags to the OVS makefiles to build OVS for performance. JIRA:VSPERF-92 Change-Id: I63d45ebe8ba41799158f97db892a94e16c7b3df5 Signed-off-by: Maryam Tahhan Reviewed-by: Billy O Mahony Reviewed-by: Brian Castelli --- diff --git a/src/ovs/Makefile b/src/ovs/Makefile old mode 100755 new mode 100644 index 32a7ab00..a67057f5 --- a/src/ovs/Makefile +++ b/src/ovs/Makefile @@ -53,6 +53,7 @@ ifeq ($(DPDK_TARGET),) DPDK_TARGET = x86_64-native-linuxapp-gcc endif CONFIG_CMD += --with-dpdk=$(DPDK_DIR)/$(DPDK_TARGET) +CONFIG_CMD += CFLAGS="-g -O2 -Wno-cast-align" endif # Kernel vs. DPDK