Thread (69 messages) 69 messages, 5 authors, 2019-06-27

Re: [dpdk-dev] [PATCH 15/39] eventdev: add routines for logging eventmode helper

flat view

From: Jerin Jacob Kollanukkaran <hidden>
Date: 2019-06-10 10:12:54

quoted hunk ↗ jump to hunk
-----Original Message-----
From: Anoob Joseph <redacted>
Sent: Monday, June 3, 2019 11:02 PM
To: Jerin Jacob Kollanukkaran <redacted>; Nikhil Rao
[off-list ref]; Erik Gabriel Carrillo [off-list ref];
Abhinandan Gujjar [off-list ref]; Bruce Richardson
[off-list ref]; Pablo de Lara
[off-list ref]
Cc: Anoob Joseph <redacted>; Narayana Prasad Raju Athreya
[off-list ref]; dev@dpdk.org; Lukas Bartosik
[off-list ref]; Pavan Nikhilesh Bhagavatula
[off-list ref]; Hemant Agrawal
[off-list ref]; Nipun Gupta [off-list ref]; Harry
van Haaren [off-list ref]; Mattias Rönnblom
[off-list ref]; Liang Ma [off-list ref]
Subject: [PATCH 15/39] eventdev: add routines for logging eventmode
helper

Adding routines for logging eventmode helper.

Signed-off-by: Anoob Joseph <redacted>
Signed-off-by: Lukasz Bartosik <redacted>
---
 config/common_base                                 |  1 +
 lib/librte_eal/common/eal_common_log.c             |  1 +
 lib/librte_eal/common/include/rte_log.h            |  1 +
 .../rte_eventmode_helper_internal.h                | 29
++++++++++++++++++++++
 4 files changed, 32 insertions(+)
diff --git a/config/common_base b/config/common_base index
8576973..96c2537 100644
--- a/config/common_base
+++ b/config/common_base
@@ -685,6 +685,7 @@ CONFIG_RTE_LIBRTE_PMD_ZLIB=n  #
CONFIG_RTE_LIBRTE_EVENTDEV=y
CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n
+CONFIG_RTE_LIBRTE_EVENTMODE_HELPER_DEBUG=n
 CONFIG_RTE_EVENT_MAX_DEVS=16
 CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=64
 CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=32
diff --git a/lib/librte_eal/common/eal_common_log.c
b/lib/librte_eal/common/eal_common_log.c
index c714a4b..bc34dc2 100644
--- a/lib/librte_eal/common/eal_common_log.c
+++ b/lib/librte_eal/common/eal_common_log.c
@@ -324,6 +324,7 @@ static const struct logtype logtype_strings[] = {
 	{RTE_LOGTYPE_EFD,        "lib.efd"},
 	{RTE_LOGTYPE_EVENTDEV,   "lib.eventdev"},
 	{RTE_LOGTYPE_GSO,        "lib.gso"},
+	{RTE_LOGTYPE_EVENTMODE,  "lib.eventmode"},
EAL log type, typically adds for subsystem. Please reuse EVENTDEV_DEBUG
Or introduce dynamic debugging. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help