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 CA2BE436D8; Wed, 13 Dec 2023 02:45:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4ECAC42EA3; Wed, 13 Dec 2023 02:44:27 +0100 (CET) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mails.dpdk.org (Postfix) with ESMTP id AD56F42E82 for ; Wed, 13 Dec 2023 02:44:20 +0100 (CET) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6d9f9fbfd11so2980530a34.2 for ; Tue, 12 Dec 2023 17:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702431860; x=1703036660; 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=wRRqOFtOGMzf/nE0q2jZZxDXjuN1v+0gqI1FryEEvmDxj5TESh2yBLwjLDr6lDlCCC awVVY9foEXAEJn2qBmywjtI/nn+1JGBFfTje1xHQkg1G62Mxu1TbJfIOwGySbWM+Wc5v Kpm7J4HaMwp7oLvfuUAabCxMMiG1tETu1xg0yHH4kpJ/5WUmGgf+QJhxg4uNWT0x4ef/ kjOpaaOuRwhXIsBc+T78QCrXLwlStkGBwtZBY1riXjtm6OAdqrndyH+WCci1vc8SQolB Rrka2euET3PDoG1GZWeKp5azwFrA/OXV3thnSOAWlJT3PgRP8qw3DVjl82rnVu8s3TFY pbvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702431860; x=1703036660; 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=hTtx8JmVyUatt7prBjiJtd0z5dbnqBx6am6m5yBKMQ3SI7EDMI4jl4ipyFzg7UkMjB 2ndTrO2c4botwyMfUJr09+jrYb58qHxdUP9LYJh8C7QUDzqo0E75JqX6s+FbgXN+d7lg j8Jg47xFyFfxN835j47qrLRVWd9AyoIqwc6tsEDgfmPAA4mugG/m9m7SHRcTQie7uqzq Zhu+S6zJ93derOAS+Yfs1WO54kfq3S3xJHt3cDVe4cb/e9koWUgcmHepystYcSZnSsto S2LloYZp/vZ5hYVUEQMHS2vBPNCGzDAwWDQXzd/rH7/hQP3M/bhgWnyaf+rEP4jFOYUQ xghg== X-Gm-Message-State: AOJu0YyosrTiKlsNWdXkxvliTMveeOnThbvx4YuS/+zsNTUoWJJMvbQN Wlqyj90LGfYBzvJIoUPtXQaJeWxHDvaWaiVlRtacuA== X-Google-Smtp-Source: AGHT+IH4fMMuUjOgK8b9SwZyGyOTGEKK8tGTnG7acBixd6eDxRlJYnwZWFo1YckgQE7uAOsTISJ7KQ== X-Received: by 2002:a05:6830:1051:b0:6d9:db78:fe99 with SMTP id b17-20020a056830105100b006d9db78fe99mr5815794otp.35.1702431860084; Tue, 12 Dec 2023 17:44:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 17:44:19 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Long Li Subject: [PATCH 11/26] net/mana: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 17:42:27 -0800 Message-ID: <20231213014408.612051-12-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/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