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 EB0DA43751; Thu, 21 Dec 2023 17:49:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E81C42E6A; Thu, 21 Dec 2023 17:49:03 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 9BAB642E65 for ; Thu, 21 Dec 2023 17:49:01 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-5cddfe0cb64so509599a12.0 for ; Thu, 21 Dec 2023 08:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703177341; x=1703782141; 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=1Y949PQVoZ0MsGzQje0CViLo2gY8MRdgQrEma/yqLOA=; b=kyeDzQ1Fh0CXNQ7VcPNIi3+6VhlTA4AHbZGp5zsuALjmXJH2XS6lG66bWp1suSRYDx Cb/GpSgnz1+pQObeFFOPR4fceDG/5tnuaENuEztRGn4AK3KfIDmPXD1JaaSYslGQ0Dcw xVBfN/+UNiI06owiRL+rsL8AmdAvWao/S9g2HFbv/BRF0JIRd3Hz6VcXv4iwcmARL4Lz fE9HTjgTjiY02PE9f313fjKkpwHDbdCfb0tFhqLWAOR8+J3LZN3IwAhaHff/iUAdoaJ5 sFKln4J4Nnepc+XtLbc3XEvWNvx7vNe6K15zH110+uHZ1i08wWFxm6roy4e43tBpWeYh 1AMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703177341; x=1703782141; 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=1Y949PQVoZ0MsGzQje0CViLo2gY8MRdgQrEma/yqLOA=; b=I/oL2K5/9rfZGbP0rp9uwHsgDiiy+MHhleDoe0+DbaqICD3doMChBTKPuiJR2AHbau ax82Ory8KJXBhDf5stfbb08iZPTY34AdZqGrGrJm0zofBIWvbZlU15Jsy5aU7yQWvwLf aFyzeph/IWhinuvfQmy1LgCJmAj8HSVxub8vENcTadoIMUsXv4IfUnklNSUAmoeO1qv5 88m3/TuLEZ6DCVTtbybLQ6DXAUH599gbHQ1XpANxueU91yNHtuYaFuDY0lPZIJVmzuPB Rsjm8Cx0D3BG1yFb3t7tD6B8Wxn7i9F0ah/GxF4As1uyY+TMtP9rf2/K1/R86xXqE37N 1M2Q== X-Gm-Message-State: AOJu0Yx1fJD13DBhZ5k2SwPq50ZfImxhjX6sXvv8a7XGeka4dBYzOMGX yHaKczypVUaQNTmk+QZVm8SO6ErEaJOOguXONHQumg== X-Google-Smtp-Source: AGHT+IHIn14zAY5Tr2uX9p7pRc0Ap0dSVXB6vmRZZvr+Dmy9RZ7MB8Lg5v0hXPkq/2b4+bglUyFFkQ== X-Received: by 2002:a05:6a21:33a2:b0:18f:f0cf:e0dd with SMTP id yy34-20020a056a2133a200b0018ff0cfe0ddmr1081073pzb.68.1703177340865; Thu, 21 Dec 2023 08:49:00 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id g20-20020a63e614000000b0058901200bbbsm1842456pgh.40.2023.12.21.08.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:49:00 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Jun Yang Subject: [PATCH v5 05/18] net/dpaa2: used dedicated logtype not PMD Date: Thu, 21 Dec 2023 08:46:22 -0800 Message-ID: <20231221164841.125006-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221164841.125006-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231221164841.125006-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 The driver has a logtype, but was not being used in one place. Fixes: f023d059769f ("net/dpaa2: support recycle loopback port") Fixes: 72ec7a678e70 ("net/dpaa2: add soft parser driver") Signed-off-by: Stephen Hemminger --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- drivers/net/dpaa2/dpaa2_sparser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 8e610b6bba30..91846fcd2f23 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -2851,7 +2851,7 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) return ret; } } - RTE_LOG(INFO, PMD, "%s: netdev created, connected to %s\n", + DPAA2_PMD_INFO("%s: netdev created, connected to %s", eth_dev->data->name, dpaa2_dev->ep_name); return 0; diff --git a/drivers/net/dpaa2/dpaa2_sparser.c b/drivers/net/dpaa2/dpaa2_sparser.c index 63463c4fbfd6..36a14526a5c5 100644 --- a/drivers/net/dpaa2/dpaa2_sparser.c +++ b/drivers/net/dpaa2/dpaa2_sparser.c @@ -181,7 +181,7 @@ int dpaa2_eth_load_wriop_soft_parser(struct dpaa2_dev_priv *priv, priv->ss_iova = (uint64_t)(DPAA2_VADDR_TO_IOVA(addr)); priv->ss_offset += sp_param.size; - RTE_LOG(INFO, PMD, "Soft parser loaded for dpni@%d\n", priv->hw_id); + DPAA2_PMD_INFO("Soft parser loaded for dpni@%d", priv->hw_id); rte_free(addr); return 0; @@ -234,6 +234,6 @@ int dpaa2_eth_enable_wriop_soft_parser(struct dpaa2_dev_priv *priv, } rte_free(param_addr); - RTE_LOG(INFO, PMD, "Soft parser enabled for dpni@%d\n", priv->hw_id); + DPAA2_PMD_INFO("Soft parser enabled for dpni@%d", priv->hw_id); return 0; } -- 2.43.0