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 2EDDC43A57; Sat, 3 Feb 2024 05:13:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 995E942E59; Sat, 3 Feb 2024 05:12:49 +0100 (CET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 1047842DE8 for ; Sat, 3 Feb 2024 05:12:46 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d7431e702dso23983185ad.1 for ; Fri, 02 Feb 2024 20:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933565; x=1707538365; 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=s1BlbVCJ/HuGR1UZmXyjOSb9vduk+BbdB3eTFKGKZPlZuXCJ/pKq2cc/IGDNrlN+AL 9q3aOyiHgE1SiYL01op4s1EuGvLqEVJG1FYy8TVLPwS/UzRLu4xAW+VhuLNhJpr/nd3V g8bGEhPHyc9cftZk2F5FzuPAebVsjxAyEnbVebYxvCxD3HVjuIaB4d2ADuK7+3vSOxJP VB5O9mwve28DvcCKJNeVECmRtmAY7vQmMsKIDfhY5mhPlPKPY1ERSw79ABguoJe96VXR gLaAp7MmX2tRI3J/+KUHNW3tlgwhUrtMCZbt6v0M86yhlZvtnCm6gO0B/5nLvEBX4CVq 44Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933565; x=1707538365; 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=ILUZmiKBq4sQsdBao1NqCSfKNaMFooFMq7juUzl3tvjCRU5tgQ5Tbv/IVijCgZHIq/ 3y/8xeD25hVUW6+qBV7mKS1EiQv0J49+tgs70yl1buMR0ftkLMMD4MMWuxNHn/7Iqkw7 T7MIYPmoG573Fp5Tj7V4s5buhmh63QEzUfzGyqIbwJGLsH001fz9qB2yoT2cBAUjKZxX HmhS4Kl6Qkoz4g92IfUYkph3tcEyLP4ap+otYURUQ3K3aJLENcCuXCZGsq8WN82ucNzJ DMS6gutOHjHlffjI3oovA/aCUGwt1VRX7rptVDFII7nIUIjX98sIjwhaKjPpcjjtE03x gN0g== X-Gm-Message-State: AOJu0YwGsw5550V7Lm3EqjXJ2pyocEe7i8fh6zpBf1odlZ4/3oR69ZzN DZ9SaLXJ0kQChS5udwTMJ+tv9PsxZs2hvcDpPz0+lp5/OpKWtyonjdsQyt0KH5A0SvdIyi8jd3k IPuA= X-Google-Smtp-Source: AGHT+IFlib02Q4oNDZ/BuNqTcxhczMaRwgRhOjG1iGW1wP4Y3otsGjPqbh15XM7ML/IqDiSUB/gKXw== X-Received: by 2002:a17:902:ea08:b0:1d9:55b:6a4c with SMTP id s8-20020a170902ea0800b001d9055b6a4cmr12959525plg.32.1706933565294; Fri, 02 Feb 2024 20:12:45 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVGm+t5wuCKCVEJCcmZu6VPPd6onYW77thn63luBeSTV5GJfaNM1Ufnt+hfVGitWrIekpTNRxJFK1BH1M1Kuf8neew/gAYyDOaHH4/XB205NOYT1zARJJcPdqpD+SrBlbmMve6Pd7Ry97O++gXm/kcgYRSL7fQSqgR6cYcePvw+Nj6vDTAXvSOhuvU5Vgr5mQqyVeATGcdE+D3AqNqFfEzluhGIX6k= 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.12.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:12:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Nipun Gupta , Aman Singh , Ferruh Yigit Subject: [PATCH v7 03/19] net/dpaa: use dedicated logtype not PMD Date: Fri, 2 Feb 2024 20:11:36 -0800 Message-ID: <20240203041230.285599-4-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 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