vpp/dpdk/dpdk-16.07_patches/0008-Temporarily-disable-unthrottled-log-message.patch
John Lo e262ff10d4 Rename DPDK-16.07 patch file from 0007... to 0008... to avoid conflict
There are now two 0007... patch files. So renaming one to 0008...

Change-Id: I82ab883db3436b1fce6b169065b257df052fe63c
Signed-off-by: John Lo <loj@cisco.com>
2016-08-11 07:30:06 +00:00

27 lines
971 B
Diff

From 454e25ed57c17ec18ee76ead4a75f9abdf579608 Mon Sep 17 00:00:00 2001
From: Dave Barach <dave@barachs.net>
Date: Tue, 9 Feb 2016 10:22:39 -0500
Subject: [PATCH 6/6] Temporarily disable unthrottled log message.
Signed-off-by: Dave Barach <dave@barachs.net>
---
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
index 06b26a9..8d918a4 100644
--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c
+++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
@@ -709,6 +709,8 @@ eal_intr_process_interrupts(struct epoll_event *events, int nfds)
if (errno == EINTR || errno == EWOULDBLOCK)
continue;
+ /* $$$ disable to avoid filling /var/log */
+ if (0)
RTE_LOG(ERR, EAL, "Error reading from file "
"descriptor %d: %s\n",
events[n].data.fd,
--
2.7.4