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 70D8C43A57; Sat, 3 Feb 2024 05:11:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 492F042DE8; Sat, 3 Feb 2024 05:11:41 +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 08577402F1 for ; Sat, 3 Feb 2024 05:11:39 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1d93b525959so24893405ad.0 for ; Fri, 02 Feb 2024 20:11:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933498; x=1707538298; 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=GTucNmFfel9Scf8V63ReMufh9ptwWoYEP/RBAwAFyUU=; b=CxfYk8ejTvLl608leT2Kp13ZAAmQJCMVi3B5VKNJYTLXKd7nqP6os34eu/gZkVmquq umcW0mcMW9wfaZeE+0xw2mveLJ7j0F2Br6/oDjuOBO2DkT0nydyuNSHxobf7fHywCiuu oOCvFdZxWI6j88yD/iD41u3HOuntbWJdr9Qzm8/4NbntlhhL6p/TmY0z9ZHB0Uv8HpmA H32qk6dbV3dtVriO23+l+CSAaU3J7ZVcNmMgZCcS1govx8TMM+QmP5sMv+2JDtzUpfo8 PKtun/LgofbohLRHz/MPvnDxbjI0/8dkg2mJNuzvYeQZq3drYCMiuP/QwOoyx6gFRfSx Ks1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933498; x=1707538298; 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=GTucNmFfel9Scf8V63ReMufh9ptwWoYEP/RBAwAFyUU=; b=TWjVCrm7fvzTwwnG/TKl63eXH3jZdFMn5z++CthUvFHXVU/As29ARdcdmv6KK/KeAH FCRRD/pumJO2b+s4HPoyrMTyM3u3hOK6/ssRvO8rtBDmu7i2eeOLmoEdwhLIffaaDT7A ISI6RV7y6qSe5nq0nNlFW+R+5hE6RuHewSZTxYuZ3Oty8gQlPlXrFNmseV/CAeCRqxcV njrrM/nI/MihJmGLAFLaKFerJwDjV6/F7ciS1gpkOn7SgTJoASjxdWKVbkX4nPVFCj0a 85SZAXizs8jv/7wv5VyNNEC3Rddc00bDBfCKuhyTR1Q/TGwtkJSQSPL7/TVgvs92dcky 1ggw== X-Gm-Message-State: AOJu0YxItoPrjMjEaTPWaC5vVDIMc/XrbiWBHK5WDy83Z5LuZ+ZckMtL KrMm1KJia2K4+KF1zWESXWPxcfxB2bZuYUH9VVqe+k6FVFoLa3dFso2odSZrrbSls0alzKk10D1 Qy/Y= X-Google-Smtp-Source: AGHT+IE+kTodm6S5rOJZ0tuNVdh0akMngsOtdr9GmWrtmV/N4J564Cuk51aKUCv47rn90XIXYJxVEA== X-Received: by 2002:a17:90b:242:b0:296:1667:e879 with SMTP id fz2-20020a17090b024200b002961667e879mr759641pjb.23.1706933498280; Fri, 02 Feb 2024 20:11:38 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXoDC79BAfPlpNVa9xzLNCEihDta7nZ/Yjhe7/VSpTVO/RzuJ778OU0jQMNxOr9uLLIKeKkIi6eqdjS9PSOprvsmA3Id+EFa9D6q6GaE6NMqwhbLo1Q/UKmUMgiA8BG3yZV0TA30kEjAREBolNZy1PuYPpQIcRXXtsjmM3iPn/OnhuBPsUoYSzpmokz1PsBjFjzJwO6g4UIkQMg1dmsh2sb0oTHbhY= Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id lq13-20020a170903144d00b001d95d47cce4sm2354386plb.138.2024.02.02.20.11.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:11:37 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Nipun Gupta , Ferruh Yigit , Aman Singh Subject: [PATCH v7 03/19] net/dpaa: use dedicated logtype not PMD Date: Fri, 2 Feb 2024 20:10:08 -0800 Message-ID: <20240203041125.285232-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203041125.285232-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20240203041125.285232-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 already has a logtype, but was not used in couple places. Fixes: 6b10d1f7bdea ("net/dpaa: update process specific device info") Fixes: c2c4f87b1259 ("net: add macro for MAC address print") Signed-off-by: Stephen Hemminger --- drivers/net/dpaa/dpaa_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index ef4c06db6a4d..bb2de5de801c 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -2096,8 +2096,8 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev) /* copy the primary mac address */ rte_ether_addr_copy(&fman_intf->mac_addr, ð_dev->data->mac_addrs[0]); - RTE_LOG(INFO, PMD, "net: dpaa: %s: " RTE_ETHER_ADDR_PRT_FMT "\n", - dpaa_device->name, RTE_ETHER_ADDR_BYTES(&fman_intf->mac_addr)); + DPAA_PMD_INFO("net: dpaa: %s: " RTE_ETHER_ADDR_PRT_FMT, + dpaa_device->name, RTE_ETHER_ADDR_BYTES(&fman_intf->mac_addr)); if (!fman_intf->is_shared_mac) { /* Configure error packet handling */ @@ -2166,7 +2166,7 @@ rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv, ret = dpaa_dev_init_secondary(eth_dev); if (ret != 0) { - RTE_LOG(ERR, PMD, "secondary dev init failed\n"); + DPAA_PMD_ERR("secondary dev init failed"); return ret; } -- 2.43.0