summaryrefslogtreecommitdiffstats
path: root/patches/dpdk_custom_patch
diff options
context:
space:
mode:
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;