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 B4510436D8; Wed, 13 Dec 2023 02:45:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6972A42E8E; Wed, 13 Dec 2023 02:44:23 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 81C1440269 for ; Wed, 13 Dec 2023 02:44:18 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-28694702c18so6242126a91.3 for ; Tue, 12 Dec 2023 17:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702431858; x=1703036658; 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=vO+q64g0BSCTNPenbkqtPECa1mvk9UmUyhhz5PoAuf8=; b=hyOivKyHDq8vay4lCJzufVbrequXI1zVg1iDxQ43F/peCRMr2B+QiAJMW5S1g0wy6N X0H25dKttfnJtGyO9dfIjsoXeoY4NkgF2ltykA683Jhrz9y9N1TRFx7w44aSH8K9ADgK PWeCQMhzQwE3ZAnythzk3HfI69UD0Qt5hFezhrDkLHvZJYyUqG+MA5eeB5c6vaYUHA6E awGlYFmnHQIERPGbRKCPLz2zqAWBRmVKgPZanjKpbBr1BI2O8OB2eitANdG1slspo2qw xu5FOCYblrCpvSVpgE4lcRswdoh8KfbFSmwDAmgcGD0C3i2igd7x7mdFfGTGRiQWecEk xepg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702431858; x=1703036658; 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=vO+q64g0BSCTNPenbkqtPECa1mvk9UmUyhhz5PoAuf8=; b=dphMiCfzQ8rS9VPINCxa3Wod8qr3XbzG9gPgxetUPZAogicmqPPcVyu2whmnbFHO59 gyri6OG1/0sPYzP6hgiobf35ni8c7N/jhGkcX9a9AjZYY8c+U/Ka9BTq/io5Enm+uvQ8 i9aUWuRDMfJaE6iYIQ37whrDI8JO9ARpfYxd05RLvVA9v85EvvaLpUWAdTyTBXW/KdrH ONCBiXSBa9HmL3cfXQFHKPQGjnS5b64C+E4RBKGgiGBDj3sFkywDxBhijAvIgK4UZq8Z PJjqaWsAgkMa8y4N9WvqRSTZHZz8YRT5+5wxQBXDzZbKJkO4s/Sk4IX2DOZaxIIG3Hdn nJ4w== X-Gm-Message-State: AOJu0YyuKPEOkkyxyzYt+t8cbdjkCnTzaWhFsKDqwY+RQRkt/Ak6eBJT kvZFsO3bF7MIYQNimvYH3+Z2QrpGrnYENPfchjB0yA== X-Google-Smtp-Source: AGHT+IGSfPk8mA0iuLKu6JBlM1g+c+BwlyIFm7i2Lsw4jc0kwS1QdEyVLpUqefOTbeVssXkyJO1qEw== X-Received: by 2002:a05:6a20:7486:b0:190:d60b:e27d with SMTP id p6-20020a056a20748600b00190d60be27dmr7028493pzd.90.1702431857757; Tue, 12 Dec 2023 17:44:17 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id f7-20020aa79d87000000b006ce5b4ade28sm8988375pfq.174.2023.12.12.17.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 17:44:17 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Sachin Saxena Subject: [PATCH 08/26] net/enetc: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 17:42:24 -0800 Message-ID: <20231213014408.612051-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213014408.612051-1-stephen@networkplumber.org> References: <20231213014408.612051-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 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.42.0