From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C7C75436D9; Wed, 13 Dec 2023 05:20:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA85342ED9; Wed, 13 Dec 2023 05:19:33 +0100 (CET) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 21D7242EC5 for ; Wed, 13 Dec 2023 05:19:29 +0100 (CET) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6ce76f0748fso4187532b3a.2 for ; Tue, 12 Dec 2023 20:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441168; x=1703045968; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=POvLwiqxho+zDMIMwyAtzpgjdDTr2Fo23JjISyz9fjA=; b=a8eMVhD5CozteYyoGy9c2j2qqeQyUFoXNY+Hxmis8n6cSxQyk3dunvrhN5aip/VKFa U6XEXqI8JWQi9VMDpMUO5ZLF8SWM1vZumyOX3BY9kdtWBcZtsajAPuwen4a2m6ysfE0b b50M1Bo0h3iqtTup4IeZvOmK3vFL6d8iwT1Hbl7NCBTiI7Tj0/ZnEHZOPybFsI+MO3zj IbCaCAhWJd76yTrHPP+jxr0r7DxZVoYEmSR6sBsz5ECMggosc5z3Br2crjKRSkdAiQT3 OMikNcU+BVlOI1YgPk6bXgU7I05pwE6WybjAPIFR2UWGxIXvIj/rt2AkOFSoehM52n3G iRHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441168; x=1703045968; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=POvLwiqxho+zDMIMwyAtzpgjdDTr2Fo23JjISyz9fjA=; b=n4uClscuDqn9/EDfXM2Xa4SWvR+bQ/cpeGWzQECUdRBUp6m5nm0839GazIOQRhYUFK NBVrxd1gxIEm9evYulxGrx76QqpNqKcKb+aNVdyfgXIGlgqUNTe7K41BBi25LM7swgdk r2xRerTCDyJVpQGZKGf3SDpDH6G37nh2vsgDT/OqDr+0nHDZ1dHhwlt26EcVlwxWtHba PaoJvz4l9aL1+avu5K/T7xxRq4dBMU3FBtDe6V1eDUY7ER1dBAIB0a3NqiADvvY0LOsB tOm8YfmDs/xMcB5WIyzctra2QFHFbKesp1/tea/SiRFEeQrUMiy5Tw08e8QO8ZGojhFU z9Zg== X-Gm-Message-State: AOJu0Yxd1ZJlJfscYsb0mLmYA16J9fCavnqY2IK9GorxxaK3kxO3gIkj 1vwn4VIrf1/3ql9Uf+j2k3rl979oh/37BNVbUZw= X-Google-Smtp-Source: AGHT+IFxGJ/KunWWcux2fQ097p8sgbLtfpRZavwsX2TH+StpyFaHylsDLiNTwyVFtdiS0OAXu+kbkw== X-Received: by 2002:a05:6a20:8b03:b0:190:adc:7fca with SMTP id l3-20020a056a208b0300b001900adc7fcamr3502853pzh.22.1702441168401; Tue, 12 Dec 2023 20:19:28 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p12-20020a170902e74c00b001d077da4ac4sm9340888plf.212.2023.12.12.20.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:28 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Sachin Saxena , Apeksha Gupta Subject: [PATCH v2 08/25] net/enetc, net/enetfec: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 20:16:35 -0800 Message-ID: <20231213041920.729403-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213041920.729403-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213041920.729403-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Want datapath logs to use own logtype. Signed-off-by: Stephen Hemminger --- drivers/net/enetc/enetc_logs.h | 2 +- drivers/net/enetfec/enet_pmd_logs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/enetc/enetc_logs.h b/drivers/net/enetc/enetc_logs.h index 0976d42debd7..05a540f16490 100644 --- a/drivers/net/enetc/enetc_logs.h +++ b/drivers/net/enetc/enetc_logs.h @@ -30,7 +30,7 @@ extern int enetc_logtype_pmd; /* DP Logs, toggled out at compile time if level lower than current level */ #define ENETC_PMD_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt, ## args) + rte_log_dp(RTE_LOG_ ## level, enetc_logtype_pmd, fmt, ## args) #define ENETC_PMD_DP_DEBUG(fmt, args...) \ ENETC_PMD_DP_LOG(DEBUG, fmt, ## args) diff --git a/drivers/net/enetfec/enet_pmd_logs.h b/drivers/net/enetfec/enet_pmd_logs.h index 72d1cb61c598..c0a226284c53 100644 --- a/drivers/net/enetfec/enet_pmd_logs.h +++ b/drivers/net/enetfec/enet_pmd_logs.h @@ -28,6 +28,6 @@ extern int enetfec_logtype_pmd; /* DP Logs, toggled out at compile time if level lower than current level */ #define ENETFEC_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt, ## args) + rte_log_dp(RTE_LOG_ ## level, enetfec_logtype_pmd, fmt, ## args) #endif /* _ENETFEC_LOGS_H_ */ -- 2.42.0