diff options
author | John Lo <loj@cisco.com> | 2016-08-09 22:33:51 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-08-10 11:24:25 +0000 |
commit | 348c3b70a43a0307d8a83fcc8f615c637ced4658 (patch) | |
tree | 871deed328cb8c6cca25ad2b6d6248bfc80c8952 /dpdk | |
parent | 13e3d450975f48cac2c2e4172f2945deedf30f2d (diff) |
Temporarily disable unthrottled log message from DPDK 16.07
Patch to prevent the unthrottled message from spilling to syslog and
fill up disk space.
Change-Id: I239ca27a7568182217a675692e0be966fc3486f5
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'dpdk')
-rw-r--r-- | dpdk/dpdk-16.07_patches/0007-Temporarily-disable-unthrottled-log-message.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dpdk/dpdk-16.07_patches/0007-Temporarily-disable-unthrottled-log-message.patch b/dpdk/dpdk-16.07_patches/0007-Temporarily-disable-unthrottled-log-message.patch new file mode 100644 index 00000000000..b637993c2f1 --- /dev/null +++ b/dpdk/dpdk-16.07_patches/0007-Temporarily-disable-unthrottled-log-message.patch @@ -0,0 +1,26 @@ +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 + |