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 325EE436E3; Wed, 13 Dec 2023 17:42:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9602A42FC7; Wed, 13 Dec 2023 17:40:28 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 95A6142F7F for ; Wed, 13 Dec 2023 17:40:19 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d345b187bbso14961735ad.0 for ; Wed, 13 Dec 2023 08:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485619; x=1703090419; 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=IGbOuMxxr8q4OKl2iOxQRNuLpE1RpKhvWgXADRIf1C0=; b=oPrwhIKkv8QJ1qrkv2GfgBVJpkXUPT41UwMS5ZDY2B/kpaCtXlYLi+QV5atEjUR9Jx 29GfDY7+zmknJLR+jiaHyvEzKjsHnLzRb2ZTW9ThJpf1xYqQ1AAQTEwFBZqVm1Q/PzmG mG/mFBPn33kP+d/NVU7NcTttrEXbXdZYw6fwSxP3HMxivXueGaB4eecOPrss4CD37lAJ l0XNhbCtdHi+Ab5ZVcElQqx6CfvSka9csqdVwaBrx+BhahfcHNLPdZe2irJVmNPNr5Dt LPvFCygq/l0d69R7TvP5W+t+PXoGPSZ2I9h9M4mZik1xuLLSw6FnCdjtTLiHXKxLIykL /mWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485619; x=1703090419; 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=IGbOuMxxr8q4OKl2iOxQRNuLpE1RpKhvWgXADRIf1C0=; b=iIpYS4pYTMU/MqxCmKDN1T+asCe/mLlLIJeDH5orPRuDAbKoxGdtCc//ezGvwBg4QB nmwzvL/0S+YvohYUQ9KiGxFr2wrMvJefTezon0k3df8xGj5xP+QUG2VWx2NJPDj7L9B6 By4/mVsjTCMFyzPfoiV1e8Xl3IW/1L2NlJi5JBqqjTIWnKKTzsRsZKv0msTqY2XPjZkQ f57gz8s5/vnDl79AzwblnpEVFyhGUw0OnMVRLDPLEVFyogBoHwzEV0lBLV83bctSFLsH 2WrTMbNpdEWsArV/DZuEFwfgf2vGgfC+qrW5aF9ne3sqrx0FeHBe1kNpe+quOdYMVfQv tOMg== X-Gm-Message-State: AOJu0YxRrejxnMZA+Ll7Br3JgD5b2qyTym0G40+EG/d2EZAawEnkLJN0 a9AVCNffOkhH1CNmioO831ZnhfJSgp4A8OJZJLs= X-Google-Smtp-Source: AGHT+IHun3XgE7govJiqyoWo3hLUq+EE0AljTLUI46fI7Il3zBOSeHaVGs+FRCAt4kx1ksqQzfn0uw== X-Received: by 2002:a17:902:7e8f:b0:1d3:5712:7b04 with SMTP id z15-20020a1709027e8f00b001d357127b04mr674149pla.60.1702485618860; Wed, 13 Dec 2023 08:40:18 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 4-20020a170902c24400b001d0a6f31519sm10749593plg.188.2023.12.13.08.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:40:18 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh Subject: [PATCH v3 29/37] raw/dpaa2_cmdif: replace PMD logtype with rte_log_dp Date: Wed, 13 Dec 2023 08:36:03 -0800 Message-ID: <20231213163820.894987-30-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213163820.894987-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213163820.894987-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 Use local logtype for datapath logs. Signed-off-by: Stephen Hemminger --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h index 8991e8327d68..7cb423c7a57b 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h @@ -30,7 +30,8 @@ extern int dpaa2_cmdif_logtype; /* DP Logs, toggled out at compile time if level lower than current level */ #define DPAA2_CMDIF_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, "dpaa2_cmdif: " fmt "\n", ## args) + rte_log_dp(RTE_LOG_ ## level, dpaa2_cmdif_logtype, \ + "dpaa2_cmdif: " fmt "\n", ## args) #define DPAA2_CMDIF_DP_DEBUG(fmt, args...) \ DPAA2_CMDIF_DP_LOG(DEBUG, fmt, ## args) -- 2.43.0