[PATCH v7 19/19] log: remove PMD log type
Stephen Hemminger
stephen at networkplumber.org
Sat Feb 3 05:11:52 CET 2024
All uses of PMD logtype in core DPDK have been replaced
by dynamic types.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/log/log.c | 2 +-
lib/log/rte_log.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/log/log.c b/lib/log/log.c
index 4cb07121b915..255f757d94cc 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -352,7 +352,7 @@ struct logtype {
static const struct logtype logtype_strings[] = {
{RTE_LOGTYPE_EAL, "lib.eal"},
- {RTE_LOGTYPE_PMD, "pmd"},
+
{RTE_LOGTYPE_USER1, "user1"},
{RTE_LOGTYPE_USER2, "user2"},
{RTE_LOGTYPE_USER3, "user3"},
diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h
index 47ab63635e0d..fbc0df74ca6a 100644
--- a/lib/log/rte_log.h
+++ b/lib/log/rte_log.h
@@ -32,7 +32,7 @@ extern "C" {
/* was RTE_LOGTYPE_RING */
/* was RTE_LOGTYPE_MEMPOOL */
/* was RTE_LOGTYPE_TIMER */
-#define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */
+ /* was RTE_LOGTYPE_PMD */
/* was RTE_LOGTYPE_HASH */
/* was RTE_LOGTYPE_LPM */
/* was RTE_LOGTYPE_KNI */
--
2.43.0
More information about the dev
mailing list