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 308A743A57; Sat, 3 Feb 2024 05:13:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 24A0C42E28; Sat, 3 Feb 2024 05:13:26 +0100 (CET) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id D156142E28 for ; Sat, 3 Feb 2024 05:13:24 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1d7431e702dso23985725ad.1 for ; Fri, 02 Feb 2024 20:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933604; x=1707538404; 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=ieWM7VAme3N6giPOmICu17evD7i3ED7snz6BtFFdubNvKwn/TpRQH5cPeg5tq2xQP8 SxXFCmr8RozDiCUufFUxgWgpTx7t98XWWiGbBKmNpDiAPh74qcWok/TD86On3HixywTQ bO/2CzNuOnzxsxz47Lz3eGxtF5VVkfmimJiXHkiGqqJUrXig+fqSolnSFvgIsGf6evZe zrtghlSNRC1t/b2hcPaEZ7JcO8UXMKJmBPlpFSN/oM75zrVuEIjdXwaBbxKZa/kib1Yi /BlUvxJ5uBiFv9Tj1F/M2TtSNElNl/3jdEzYcT/ddhxDZYnknC+0bodcFFNaFO7hcNAu gYSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933604; x=1707538404; 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=h4zcyD40aWTkeT4C9ysadAMY3puCGIfzFrPoToss1SLZ1Y1um1CknIMsm4FVpbpKgq ULZtaTEA+6mWfyYs4jQaR3xu+JV4vf3bZes0gHfA/iITeaRjzcb0P7NsvNBPYWHYoKrS RaCI21FExcO6821n97Xmx8VscrlJYPuwkZAVftmIPf3ma3kuVS+gu+0JNYsEsp5d87BA mzmdRubROTNw1Xwy00PZ0pmX7VSCwwx9xQaW40F6tqc975wC4SOYfCG4GsW1SUwAddVH ibBtf5eWqfRNqqESOpvg74jurpFmuSgvkaRW0U29Nu8ozdHHysNrvgUuOcK0TOHU6q1W bMtA== X-Gm-Message-State: AOJu0YwJcYAnGmsPDrvbkJCNe/3rLIfxgxc4xzIqKVmGz2UD59B8QnPT 4ii+rGwVbOTeP43vtuEFifHDG1WPKyIlregeC3CCPgTD8Pxz79yipFDtf3dMa06j/16To3sON4D Tj9M= X-Google-Smtp-Source: AGHT+IHbRIUL5LefYukZwmwXz2qKMlXRwB4c9fsLQHv/BLrEkZ1k+NIibrhognqEwXtuzGutDQAnBA== X-Received: by 2002:a17:902:c942:b0:1d9:909f:40b6 with SMTP id i2-20020a170902c94200b001d9909f40b6mr165509pla.58.1706933604039; Fri, 02 Feb 2024 20:13:24 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUdzBU1W0ae1P8wDMiFZfjzWKPDBF2QP9CE7m9IAZ7e8GSb85DxBWAxrKzoTavSwdWrOOCMJlUjWvEUpGCwHj0W7c08xWdQZmakNRVb0DC4qtG8uw7JrEPdhknJWi1gRjY3l4keaFZNCzTrH4SWyKc= Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id mf11-20020a170902fc8b00b001d94a3f398esm2361800plb.141.2024.02.02.20.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:13:23 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Jun Yang Subject: [PATCH v7 04/19] net/dpaa2: used dedicated logtype not PMD Date: Fri, 2 Feb 2024 20:11:37 -0800 Message-ID: <20240203041230.285599-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203041230.285599-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20240203041230.285599-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