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 434EE436E3; Wed, 13 Dec 2023 17:39:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3775142F43; Wed, 13 Dec 2023 17:38:45 +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 E8E5042F0D for ; Wed, 13 Dec 2023 17:38:40 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d098b87eeeso63383105ad.0 for ; Wed, 13 Dec 2023 08:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485520; x=1703090320; 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=HvleY8wKOkRkFVRC6mJ7WcUQOwz0Fw82bM6bnygqtgI=; b=ZdQVi/lTyt684IMp5xzWUKn1lOE45GqpDLwSL4E8OM2dvGN3YWKBFNP9TbOH/Nw9gC e08x/BQAULyjZ1qJig9s0Sbzgx76PMa/c3GMNjBzUEgA8Tz4x3Vp29zqYd1Qy4x+cD3t 0jFH6y/30D/wK4yvjYPn7dCM00NBXiRHWC+oSru+QdMwiI+hbE7TAPs+yFwlOwLKD7cN ZcfLwzVnGndiMVteMs3NE1drTrveCw+chV5XgFOjszs/K2+vHqYY6Q7KiyDH7EDKDxSN Nwn56iN1jwD73wd+OWqhEPhMuCiLbv2meW5JZPYig9PwC/yWjgJ3E8g6mBnxpnsny4xV uwDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485520; x=1703090320; 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=HvleY8wKOkRkFVRC6mJ7WcUQOwz0Fw82bM6bnygqtgI=; b=jw5GK2hs/PS7cYbBQ05EQfI4kjxbtldtaacpkeGuRqXV+hzN/5Jk//f+jz0g8eIgfe RQCW9OeubDV+PWfsJNHGugxFF+Kkj2RBCtH///niOMJju+87YDGOpfrjQDDrCld58VZe CooGAGjKG1bh71ZiHmlv6cxAtiWcuMyJUhub2Mwi2n/lewVKXsMDQvph3EVs4BIFH7Ue vn23C+3yEGl5qBnSadXwGnbvB3BV8eQFSO/Zs1vjezEGpkczDlT0+SsZmmCkOib/OOGb NSOgaKl+XxIo9SvZdlLXD9hAV/3OP/qSZggh3n9E8O9JN/jwNJaYrLDhKumpLPhJj4CM W9Cg== X-Gm-Message-State: AOJu0Yyh131hbU/UXYhnrvYOf9Hj9gE1c+VJaa5Z1DEMTObYIokQdjW0 A6V+SXvRkQGwgBw4+8zf6/UbRhq5hwqG3CitCiQ= X-Google-Smtp-Source: AGHT+IGwzzWRns7WBKYmzqsuFWJgwYV8sY0RL1nuMI45x0N8aZenZJRkmcY6Uy2IUCtVm0JsA4IHjw== X-Received: by 2002:a17:902:d511:b0:1d0:6ffd:9e13 with SMTP id b17-20020a170902d51100b001d06ffd9e13mr9000449plg.101.1702485520214; Wed, 13 Dec 2023 08:38:40 -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.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:38:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Long Li Subject: [PATCH v3 10/37] net/mana: replace RTE_LOG_DP with rte_log_dp Date: Wed, 13 Dec 2023 08:35:44 -0800 Message-ID: <20231213163820.894987-11-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 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.43.0