[PATCH v6 20/20] log: remove PMD log type
Stephen Hemminger
stephen at networkplumber.org
Fri Dec 22 18:11:53 CET 2023
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 | 1 -
lib/log/rte_log.h | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/log/log.c b/lib/log/log.c
index ab06132a98a1..07cbc66ebfa8 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -352,7 +352,6 @@ struct logtype {
static const struct logtype logtype_strings[] = {
{RTE_LOGTYPE_EAL, "lib.eal"},
- {RTE_LOGTYPE_PMD, "pmd"},
{RTE_LOGTYPE_PORT, "lib.port"},
{RTE_LOGTYPE_TABLE, "lib.table"},
{RTE_LOGTYPE_PIPELINE, "lib.pipeline"},
diff --git a/lib/log/rte_log.h b/lib/log/rte_log.h
index 5ba198ba2484..9ed51eb96014 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