summaryrefslogtreecommitdiffstats
path: root/patches/dpdk_custom_patch
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-06-27 04:05:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-27 04:05:57 +0000
commit47216b230c2047496334585de90e81e605bbdb73 (patch)
tree7af27ca94df4a444659fefe44343063f306054b7 /patches/dpdk_custom_patch
parente42dae3349360baec599f8b40849b1659243fa43 (diff)
parent18acbcb75fcd0dd276da9d3022aaf6cb25999e1c (diff)
Merge "dpdk: Disable debug logs in ACL rte_table_acl_build"
Diffstat (limited to 'patches/dpdk_custom_patch')
-rw-r--r--patches/dpdk_custom_patch/disable-acl-debug-logs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/dpdk_custom_patch/disable-acl-debug-logs.patch b/patches/dpdk_custom_patch/disable-acl-debug-logs.patch
new file mode 100644
index 00000000..e1cd6a65
--- /dev/null
+++ b/patches/dpdk_custom_patch/disable-acl-debug-logs.patch
@@ -0,0 +1,14 @@
+diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
+index c1eb848..2db880c 100644
+--- a/lib/librte_table/rte_table_acl.c
++++ b/lib/librte_table/rte_table_acl.c
+@@ -236,7 +236,9 @@ rte_table_acl_build(struct rte_table_acl *acl, struct rte_acl_ctx **acl_ctx)
+ return -1;
+ }
+
++#if RTE_LOG_LEVEL > RTE_LOG_INFO
+ rte_acl_dump(ctx);
++#endif
+
+ *acl_ctx = ctx;
+ return 0;