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 3DD7E436D9; Wed, 13 Dec 2023 05:20:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C48042EEB; Wed, 13 Dec 2023 05:19:36 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 992E942E88 for ; Wed, 13 Dec 2023 05:19:30 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d347b4d676so7968605ad.2 for ; Tue, 12 Dec 2023 20:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441170; x=1703045970; 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=w9d+zFmE5keXmK7RBTYG7Rg6V+JXSB7Ob9UMwLtYlgk=; b=gORQSSDqzaWHx691z4l8SHXp5+dsfayAk7VXaaofRKEhCLHjaXumvABAlKE4AXV8F8 AsfcB21pWnDkHjrexaFFVt/njyKWORlPMmVPGfBrsGAHuhFGAZgZzUt7DOOwpb/n+KMb dEhoOg/agzXuDSW5AYHEu05r5Exh8MH7XLcpIPqOk7NYlKlIVFCZbuWnspRRQNwX8gro VhT9HvR+lUDpqZ2rm5QMGdP/E7WMF3VmlutWLw3ye75cSFRGeTnsQ4L9grFCc3cEX4GV a/tFseEK8CxmgcwWn7o9ny7ZCCF8mf+3b8tLsuAoZ0mXubuTMc6GZTQ/2E6uUAqJNjfL 7jQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441170; x=1703045970; 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=w9d+zFmE5keXmK7RBTYG7Rg6V+JXSB7Ob9UMwLtYlgk=; b=hGbA+Au7OpNvMgAUGFoaDFFihluVGymmA7gFDu3dEIpyLlR/1CZNCD3vgf3s4JBbMG pNIcyGHq9seDgLDmUuJ6bCZ1qsLuDDNTayVgRLPXD7NbLTpeF3GG665+PDRa3ePq1C27 +H0Qjj8vmOD87BjjuDMliDaPLAXs1SCQT7AxL1XobJFdEGAmMN5EHh5AgFnU4pwQXDZZ Svtx9Le4n6UcfuL0Ah66oH4fmprDpb3mzoBnMuAaJgz2NEmEywckg3Mb8fTPyAcCw29Z h+uqEwo8hwr2hvnCoudsZ0Q1Uu88FG4qZQNKrxo6IHTouLVuq1ZLGashuyjo2dN8PFzp 1oiQ== X-Gm-Message-State: AOJu0YwVoZj1miFl7megjs3DfTnyaHGdW22vupuA6pDwPEbyvjKdjaTn BCQYJq/0yltkJ+yY6IMuD0yEx3YDSGdcndWo/nY= X-Google-Smtp-Source: AGHT+IG8bR20nVFBwEwUGGGxwtM5ezed3uQWVkHrIrvSkffJB6jd4/uBhLynWeYvOu3mrXWU8SF5jQ== X-Received: by 2002:a17:902:b7c5:b0:1d0:6ffe:a0f with SMTP id v5-20020a170902b7c500b001d06ffe0a0fmr7065155plz.109.1702441169846; Tue, 12 Dec 2023 20:19:29 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Long Li Subject: [PATCH v2 10/25] net/mana: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 20:16:37 -0800 Message-ID: <20231213041920.729403-11-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/mana/mana.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mana/mana.h b/drivers/net/mana/mana.h index 6836872dc257..8d60f9172d44 100644 --- a/drivers/net/mana/mana.h +++ b/drivers/net/mana/mana.h @@ -467,7 +467,7 @@ extern int mana_logtype_init; __func__, ## args) #define DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt "\n", ## args) + rte_log_dp(RTE_LOG_ ## level, mana_logtype_driver, fmt "\n", ## args) #define PMD_INIT_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, mana_logtype_init, "%s(): " fmt "\n",\ -- 2.42.0