[dpdk-dev] [PATCH] app/crypto-perf: compile with O3

Pablo de Lara pablo.de.lara.guarch at intel.com
Mon Jun 25 14:53:11 CEST 2018


The crypto performance application was not being compiled
with -O3, which means that the performance shown may not be
optimal.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
---
 app/test-crypto-perf/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test-crypto-perf/Makefile b/app/test-crypto-perf/Makefile
index 28a0cd03c..78135f38c 100644
--- a/app/test-crypto-perf/Makefile
+++ b/app/test-crypto-perf/Makefile
@@ -8,6 +8,7 @@ APP = dpdk-test-crypto-perf
 
 CFLAGS += $(WERROR_FLAGS)
 CFLAGS += -DALLOW_EXPERIMENTAL_API
+CFLAGS += -O3
 
 # all source are stored in SRCS-y
 SRCS-y := main.c
-- 
2.14.4



More information about the dev mailing list