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 3025D43760; Fri, 22 Dec 2023 18:19:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3102D40EA5; Fri, 22 Dec 2023 18:18:44 +0100 (CET) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 18955406B7 for ; Fri, 22 Dec 2023 18:18:43 +0100 (CET) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6d94308279dso1519698b3a.2 for ; Fri, 22 Dec 2023 09:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703265522; x=1703870322; 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=coEbBrckiqAvUEDwWZEJcWpRb4YiRVVIql8qDye7ByqDgQvRFGgQ/IfvmzFWgmPoM1 zJhnw9GA9niD0zOYmy/3YhSeyzViWQIgDLZzwnuEVwT0etdjLH4MbugxpeMRMBvhWIeZ 1pRMTyasMgjQqgAY7T4uN8tUWHuHP1gYZMEJzoHTf+sNubJWbyxWoiFST3hlcDxeuQZr aGt0fbKU1tcK7be/wpP4k9ZCVjSIsEQWaLSdn/1Mi4fpgJP/JHVwQB/Z/35qtm56R/d5 /16dPpBRar6vM8c4Og4ORMC4fRGGBYZ2/dkrE+8sG57mAwHqQKZrzCpJW2AzX53Crw4N T43g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703265522; x=1703870322; 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=tyulDW+vmAGDBCfmbXeWEChFOiy2xyMVEpTN4D0OSGC70DTLp5Ux3JsbwPQUoeCFfE vBdXZy1R7BbZmABLlnWablmO1OgoRhRnxlKtvHqu9EDH2tuWJ7AuZ/BUTMQ91JNfCKxW jN18bXOgraoXRfpdTabilGfeEjJ5THvolNn1zsfTx9S49PZCss2VaO8FpfBAUS266A5T dMg3LnshcmaeCjIVy5d55HQw+5ZCOkw+VkpmLt1YtjT9ki2JYkUBAP+fnCO+ZRxbfsq6 rvPSq7GE7gS/OG8KMkWkhD9IbcuZqYGC2XOqYmsY9h0nkDCZgRsI7R62EDVGIzCeFf70 ZHZA== X-Gm-Message-State: AOJu0YwCVrP4Zsx/YXazWghkzZHN75GjxqZsYUvB2wzF+ACE1snReDXL hKnTf5U1TJ8Ukv7z57AO7dDSACZZD3QKrlzAR0Kc6zkIXVDT2A== X-Google-Smtp-Source: AGHT+IE5ncdskc2ZtKvPzLKPaJFb8m9/2cAKJRl6C36nAB6dq2s/ob+SIcTwT5VrH8pubZpx5+Jatg== X-Received: by 2002:a05:6a00:1955:b0:6d9:8253:fce with SMTP id s21-20020a056a00195500b006d982530fcemr1351644pfk.36.1703265522246; Fri, 22 Dec 2023 09:18:42 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id h19-20020a62b413000000b006d7d454e58asm372024pfn.117.2023.12.22.09.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:18:41 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Jun Yang Subject: [PATCH v6 05/20] net/dpaa2: used dedicated logtype not PMD Date: Fri, 22 Dec 2023 09:11:38 -0800 Message-ID: <20231222171820.8778-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222171820.8778-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231222171820.8778-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