dpdk: Disable DEBUG logs by default in DPDK libraries 85/36485/1
authorAnand B Jyoti <anand.b.jyoti@intel.com>
Mon, 26 Jun 2017 00:12:50 +0000 (05:42 +0530)
committerAnand B Jyoti <anand.b.jyoti@intel.com>
Mon, 26 Jun 2017 00:12:50 +0000 (05:42 +0530)
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 <anand.b.jyoti@intel.com>
patches/dpdk_custom_patch/set-log-level-to-info.patch [new file with mode: 0644]

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 (file)
index 0000000..6758097
--- /dev/null
@@ -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