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 5E54C4373D; Mon, 18 Dec 2023 20:27:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F97442DDA; Mon, 18 Dec 2023 20:26:48 +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 7B89E42DA3 for ; Mon, 18 Dec 2023 20:26:45 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d3ae590903so10855475ad.1 for ; Mon, 18 Dec 2023 11:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702927605; x=1703532405; 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=WuabAFqjgKRyH9fg7qQNmHkT8A+Ijfkg3zHF9Xg9mr+CAjl85TtBW8vCgcgwgTbtr6 2OTo76ABliJrSZ4D6urLjrbutehk5c5Z45qxBpQGFvzRgCM2/loXtwGIpo6a+O3OSr+u pnfmJPPyy+fQpe8UXTB+jLiW0B3d+7cgwa+gfnHViYCcyyIKPNzbWgkJN2yI/mUL62tu p3O1Fh41QtmP0vOjiBomEGbwNVQCsbh2k4twqDfE/cay0CbC7uaMgKWt+alBpVIBSOuT XEVUkCvjWn26fHTDGYNs/jtDH2x1fCj6gLNi7r77NqGLtI4X7rosWu+bfG1Vuutgxqsl dOHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702927605; x=1703532405; 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=lxzBuyTmzgGCXbyDo2O0pn8rHjqTKT1ao7dLekYgCx3nsd+wul09HZnMIRiCZhpv8s m0sUrKOwIfo0bRP0UPSV+nS+QuyFaEsRwwgBBBbLTIr/74/Dy2WYGUkQlS3w9NpDi7Ap DWD6YMDF1kQ9xNhwrI6WW+vZX/j44cQGRJFgr2jC4ol9KL0R5/DIFgWxeG5FPVWPdbrp 5Qh1+9JBPAOodpG4SvMhNbJekV6BxC16CcEbLbm75ucmMX1j5LDmQJ6E+8lklb2QDO6Y yyYoDL8nlLVtoWYq6pPCnzwwbuNrB+XQRyVT0DfVS4ZdLbdGwQFdMaTyEocNZBBbFiWj 0qgQ== X-Gm-Message-State: AOJu0Yz6bOeT10vTua1c7G2gW6tD1+RD0ifi/S+7JVixrrMUTkyL8KUH VhJGR1Ztoo3ISKtiQRM1jNmSlZzPXXEMo0d6bVQwig== X-Google-Smtp-Source: AGHT+IEecHY9XmKv1BuSpYa06WszXED5C9fILp06M/eey6xxWBGcKbiU1JMKPGxze6qJWA65KEzZgA== X-Received: by 2002:a17:90a:6bc1:b0:28b:664a:807d with SMTP id w59-20020a17090a6bc100b0028b664a807dmr4380043pjj.25.1702927604687; Mon, 18 Dec 2023 11:26:44 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p17-20020a170903249100b001cfbe348ca5sm19410284plw.187.2023.12.18.11.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 11:26:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 04/17] net/dpaa2: used dedicated logtype not PMD Date: Mon, 18 Dec 2023 11:22:20 -0800 Message-ID: <20231218192631.699267-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218192631.699267-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231218192631.699267-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