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 4F2B7436D9; Wed, 13 Dec 2023 05:21:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A7C942F19; Wed, 13 Dec 2023 05:19:45 +0100 (CET) Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) by mails.dpdk.org (Postfix) with ESMTP id A253E42EFD for ; Wed, 13 Dec 2023 05:19:40 +0100 (CET) Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-590a2a963baso2696378eaf.2 for ; Tue, 12 Dec 2023 20:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441180; x=1703045980; 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=KSq4P9lZGzN6FVXbDzf0lODFBpys63tsputXRdzUmHs=; b=rKYG9zeOkLzSJdi5Z89w6m0WPyfVUf/aw40Lm1rvEJBAxlUt7hMhKbSWdQH4+Z0y2O rNdmSGCpxSKRWrraEaEAEbTFdGNydZ2g/rYw6bpIYhdC6QBPhwU1OYPkq3u9p9DDWbEp NvIFfOpg/tbNPFTnoNMzQCeZUgfVEPBrH1eykPCLdytYs2lYJKWY2ID1DzEGwgWVpOJK Aw4asUVCxfwlSVtXiTluO3FsNDnaAxCuw9CqHOa0eAQeMrp1TKhND0opNR3g9T6ccOlD d6QeeMCLRRBgaT3Jd/ILXspsFZY/nR53VprsvL0EGuOcSJJ4/RKQKPz5RHtbEUuSyfzh t0kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441180; x=1703045980; 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=KSq4P9lZGzN6FVXbDzf0lODFBpys63tsputXRdzUmHs=; b=S48O4/mJd/LF80Tv0D+vQ+ODA4c2VXsAzyQLYNvRAdC6nnJ5r9SC2jYN/Y54bMLdVS j1MA/voF7Cvk45i1WyL3HaXxN8E44mSfHIiKZRRsRehHfKzMdH7boa4w4uiJ/+NYPE0m 8Y6N/pLNu8zCx14UNsqEdvpQMoovWRy6Z+6clQPMeUZvTL6KYLIICUyQSUDx0Xqd2hc6 GF+w/FhScO0qOa6qTyu0xqOYW3/Xl6fxxSTPbLAYlY7H7Nc9w47en5cpxXxTrgQ0LVvH 3KdrjQMgcUT5EC9nvuhQgWuQ7LM3AG78xt39rHhrB7gBED/f5l1ngjVPItcWqrnvxpLq 7pEw== X-Gm-Message-State: AOJu0YyZOdJfhslqQ3r8EZBk1cDczlAwX+a9JN+6dn5jZ7XSYpPb6Ot7 85c+4plS8XtNzf9DAvKTfQ7IyFSsi61SYJB8fyY= X-Google-Smtp-Source: AGHT+IHNjfHkbqVhpgX9E0vfnHVVPoNfjdAVGlwXBNtg6ztKheOi0edRtCEr+bI2w+vki7T267yrTg== X-Received: by 2002:a05:6808:3c43:b0:3ba:989:c340 with SMTP id gl3-20020a0568083c4300b003ba0989c340mr6334380oib.113.1702441180074; Tue, 12 Dec 2023 20:19:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anoob Joseph Subject: [PATCH v2 18/25] common/cpt: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 20:16:45 -0800 Message-ID: <20231213041920.729403-19-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/common/cpt/cpt_pmd_logs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cpt/cpt_pmd_logs.h b/drivers/common/cpt/cpt_pmd_logs.h index 174326c6ce38..6b78fcb6b6fc 100644 --- a/drivers/common/cpt/cpt_pmd_logs.h +++ b/drivers/common/cpt/cpt_pmd_logs.h @@ -34,7 +34,7 @@ * level of 'pmd' has to be used. */ #define CPT_LOG_DP(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt "\n", ## args) + rte_log_dp(RTE_LOG_ ## level, CPT_LOGTYPE, fmt "\n", ## args) #define CPT_LOG_DP_DEBUG(fmt, args...) \ CPT_LOG_DP(DEBUG, fmt, ## args) -- 2.42.0