diff options
author | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-06-26 05:42:50 +0530 |
---|---|---|
committer | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-06-26 05:42:50 +0530 |
commit | db553f39c708bb20259ced16f3ca0b4ecc8e95fe (patch) | |
tree | d33d8f6670d762e5f131cfd4f9f249314a57c431 /patches/dpdk_custom_patch | |
parent | 18acbcb75fcd0dd276da9d3022aaf6cb25999e1c (diff) |
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 <anand.b.jyoti@intel.com>
Diffstat (limited to 'patches/dpdk_custom_patch')
-rw-r--r-- | patches/dpdk_custom_patch/set-log-level-to-info.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 |