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 D3F1743760; Fri, 22 Dec 2023 18:18:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCFB940A6E; Fri, 22 Dec 2023 18:18:38 +0100 (CET) Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) by mails.dpdk.org (Postfix) with ESMTP id 7A768406B6 for ; Fri, 22 Dec 2023 18:18:35 +0100 (CET) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-2043e721daaso770281fac.2 for ; Fri, 22 Dec 2023 09:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703265515; x=1703870315; 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=PGXYuco3+Zos+MGnnE0bIHdJBExhKkvSQy7i8tKWEKymylYrX3hJO1oTDjjdwYgB/Y s5JyPQMAuE8AbKmuA/0WZTaISnn9lPdZfb2HAHk0R6vxEYilwzXzOD8C6j4HyhD5f/uT nyRIOzEK7tdf6zPTgO0amex3E8dyDQvw7l6Za5D2CC57SnBxqXYNdw+jL485ptor3bKu Ole9D39qCOsv+8auVrev4hv4h26gVV0yUZyP6BBqGIIg7F8hquYs6S+FN/d0dSxasf+N /8yz5H7/JTJlee0S3yefuo7GJhnFqYVApbBjsnBxGlj8o8ViS1RxNdmFxBV2CwlLMk0x 2G7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703265515; x=1703870315; 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=CSwZWW8/e7chf/HvvhX2o8NjfbQH0SiOidx9uGNmAxuGmb6Ccs1RWu/3JA9uI8Xnjn afFtRnlD9MRiZltI9TTRHb5mQQRQr372FBkyaEAtjDmZCykT19lXMtUI7IQBw4bIqoyD J36MfI0pX94MSa+FmoletEg533tlH6E2504c0bTtEc1TmyrH3T2Nudre36oi18Ecw57I PQYxK5SVaq82YVOb496SyPSZH76zxLHulRzjKjfrmWbWVnnO7MEi0YuqKwCxx2Ne68hb EnwIBCc1GC3zsLFHVlXTLLJTD7XEaq0MyVXPZNez0Rg/xJMqNofDejJETbje2gzje0aT h+ZQ== X-Gm-Message-State: AOJu0Yys1Kh5QGNHz1UBX4RZgADKVKaZbn2EBqFKIi9cX7BuM1QXasN3 4LDZKh0gLLsO1Vx2Q8ag6J+Gh4KHfwMJtjRmU12fTZ6S1NmxTw== X-Google-Smtp-Source: AGHT+IFm49JFDNx1u3ECxB+j46Mh+7B4c8Ilb9J22C+Mzx5rAKbnJP6Brs57NoLfl1Rkh1SE2qcaHA== X-Received: by 2002:a05:6359:6c8c:b0:173:940:755d with SMTP id td12-20020a0563596c8c00b001730940755dmr1150635rwb.35.1703265514695; Fri, 22 Dec 2023 09:18:34 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:18:34 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Shreyansh Jain , Nipun Gupta Subject: [PATCH v6 03/20] mempool/dpaa2: use driver logtype not PMD Date: Fri, 22 Dec 2023 09:11:36 -0800 Message-ID: <20231222171820.8778-4-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 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