From: Anand B Jyoti Date: Mon, 26 Jun 2017 00:12:50 +0000 (+0530) Subject: dpdk: Disable DEBUG logs by default in DPDK libraries X-Git-Tag: v1.0.1~1^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F36485%2F1;p=samplevnf.git dpdk: Disable DEBUG logs by default in DPDK libraries JIRA: SAMPLEVNF-45 The default RTE_LOG_LEVEL is set to 8 enables all debug prints which impacts the performance testing. This patch sets the RTE_LOG_LEVEL to INFO to avoid printing of logs with level DEBUG. Change-Id: I1fdeecab9cd82f37f62e1ccfa625f91d1cf16217 Signed-off-by: Anand B Jyoti --- diff --git a/patches/dpdk_custom_patch/set-log-level-to-info.patch b/patches/dpdk_custom_patch/set-log-level-to-info.patch new file mode 100644 index 00000000..67580973 --- /dev/null +++ b/patches/dpdk_custom_patch/set-log-level-to-info.patch @@ -0,0 +1,13 @@ +diff --git a/config/common_base b/config/common_base +index 0124e86..bd82c09 100644 +--- a/config/common_base ++++ b/config/common_base +@@ -88,7 +88,7 @@ CONFIG_RTE_MAX_NUMA_NODES=8 + CONFIG_RTE_MAX_MEMSEG=256 + CONFIG_RTE_MAX_MEMZONE=2560 + CONFIG_RTE_MAX_TAILQ=32 +-CONFIG_RTE_LOG_LEVEL=8 ++CONFIG_RTE_LOG_LEVEL=RTE_LOG_INFO + CONFIG_RTE_LOG_HISTORY=256 + CONFIG_RTE_LIBEAL_USE_HPET=n + CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n