summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-10-11 10:01:04 -0700
committerDamjan Marion <dmarion@me.com>2018-10-12 00:07:09 +0000
commit6ca6ac6c887eb38797027169f5a2f84e45b3436d (patch)
treea335eb10b366038c06d7369bb65ea1a9c08e9699
parent565409b2119160929a9b3c5dc93cd44f063c4996 (diff)
dpdk: support passing log-level
Since DPDK 17.05, DPDK logging supports per subsystem dynamic logging. Allow passing this as log-level on EAL command line. dpdk { log-level pmd.net.virtio.*:debug ... } Change-Id: If9576c11aba390a5cd2740fc1c9da5768689bd74 Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--src/plugins/dpdk/device/dpdk_priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/dpdk_priv.h b/src/plugins/dpdk/device/dpdk_priv.h
index dd4b4ae8221..e5db674ca6d 100644
--- a/src/plugins/dpdk/device/dpdk_priv.h
+++ b/src/plugins/dpdk/device/dpdk_priv.h
@@ -49,7 +49,8 @@ _(force-ranks, r)
_(huge-dir) \
_(proc-type) \
_(file-prefix) \
-_(vdev)
+_(vdev) \
+_(log-level)
typedef struct
{