From db553f39c708bb20259ced16f3ca0b4ecc8e95fe Mon Sep 17 00:00:00 2001 From: Anand B Jyoti Date: Mon, 26 Jun 2017 05:42:50 +0530 Subject: 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 --- patches/dpdk_custom_patch/set-log-level-to-info.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/dpdk_custom_patch/set-log-level-to-info.patch (limited to 'patches/dpdk_custom_patch') 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 -- cgit 1.2.3-korg