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 0EF7A43A57; Sat, 3 Feb 2024 05:12:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4612342E54; Sat, 3 Feb 2024 05:12:48 +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 36CCE4028C for ; Sat, 3 Feb 2024 05:12:45 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d94323d547so23189615ad.3 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=1706933564; x=1707538364; 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=Nv8FTd4nIOkDpIrFZS5XqniknFq2wcwUf8nwWdOzVQw=; b=WDO6KfNTcV7vIriR33XWHWlDMGzyZBSzHJX9vRzPGNlHo8AqbswFCKQxBbfWVUqoOf D1ZC0RELykpyiOGxOA5/dZdtaywP/z1V6EJywFAg3AZTju+TviZ/AHx1izmP94EqIsOH gq7jEk5Li4ykwYNb3TMeCL8ndKq5b39w7q3GbW2EWZc89ImdCTChzgL0Jv9y/BddQgFc TPAhYDNe8x+DbPob0ofndz5fUazS83D7AFr0x6VXaVnsL6HuZCIHqGnmJpTFP6S9h6hc NpvK0sCKpGnwjHufcjB959HgJUaZMPRdaGDzT9Xp/ci7zXZ/wlg/0sHxHyI1ITzHT9HR jgfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933564; x=1707538364; 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=Nv8FTd4nIOkDpIrFZS5XqniknFq2wcwUf8nwWdOzVQw=; b=HunUJKzJjQBrDjgYqIyP+p5mNr8epWDTGMdhN+8OnuYxvDORATDapPCIN8eXPwKrkR gb+vDl5kdGdQR7Goe7OgJvsWCAByySEz/BFfXcxk65Wf+WHKESgfIpeMLNx3FhmNLuMI dSm7rA99zvBwf1UBRcCPSPwODhus5uPIi5CtAcKeifa/D5Dc0zfwCipKCXNdPeZtWRou 6c/dKSawhf6KJ4VyUKSWduBe9b9isOC0JHDiPpqAN95CCgYvL7kPYr9w9so4flLfrtOc sokRNNtmf1GlR6pvVrMe8F7QMgBszMyVtHoTSEHhuauom7x2U8ijYjM2ILb8bZ5EYroq Qyfw== X-Gm-Message-State: AOJu0YxS4guUeX/WzYifIV0vHkcfctsB+D3Nf4AfllKFnLMNHUYRhLKa DHizWwOIDhuZ4wVL3nP3fBaoe8mASI+KOvpktf+G2KYB0WxRIAjygsbHBnQP27ZQY6wBBkqVLh+ Mti4= X-Google-Smtp-Source: AGHT+IFNAjYnOe06pk/UX9dtOTkH+PAycYiy9Glj+Kf0FLnX1I1uWZRa/cta4v+eQCgRBOesPNuICQ== X-Received: by 2002:a17:902:e748:b0:1d9:10ce:d950 with SMTP id p8-20020a170902e74800b001d910ced950mr5162239plf.63.1706933564434; Fri, 02 Feb 2024 20:12:44 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXTfNY8crAWsPbiRUh0fGUcbNp06CGs31f3k/C19SbfmHDIxgGaW/ICr6ZFWmlToftyN6N+5+2nSVj/DH832TyYFTrmNgrATRyT+wJWw0K3svyQlHhoqRZiXobnMipnWbj514mNzyTR+6O0+0usAmY/lQd3TDoDoHC51aNhwjUT4UBQQowB3cUEn0U= 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.43 (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 , Shreyansh Jain , Nipun Gupta Subject: [PATCH v7 02/19] mempool/dpaa2: use driver logtype not PMD Date: Fri, 2 Feb 2024 20:11:35 -0800 Message-ID: <20240203041230.285599-3-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 macros for logging, use them. Fixes: 7ed359909556 ("mempool/dpaa2: add functions for CMDIF") Signed-off-by: Stephen Hemminger --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c index 84371d5d1abb..4c9245cb814c 100644 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c @@ -293,7 +293,7 @@ rte_dpaa2_mbuf_pool_bpid(struct rte_mempool *mp) bp_info = mempool_to_bpinfo(mp); if (!(bp_info->bp_list)) { - RTE_LOG(ERR, PMD, "DPAA2 buffer pool not configured\n"); + DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured"); return -ENOMEM; } @@ -307,7 +307,7 @@ rte_dpaa2_mbuf_from_buf_addr(struct rte_mempool *mp, void *buf_addr) bp_info = mempool_to_bpinfo(mp); if (!(bp_info->bp_list)) { - RTE_LOG(ERR, PMD, "DPAA2 buffer pool not configured\n"); + DPAA2_MEMPOOL_ERR("DPAA2 buffer pool not configured"); return NULL; } -- 2.43.0