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 D14A943A57; Sat, 3 Feb 2024 05:11:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F84B4064E; Sat, 3 Feb 2024 05:11:40 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 4F3574029C for ; Sat, 3 Feb 2024 05:11:38 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-5d8b519e438so2691725a12.1 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=1706933497; x=1707538297; 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=AToLUmDmISyiLkJ8qb+lpSjNqa7HJT3yQQRLUjyAymwnYhRtm0QD9KRfNEM5uITSnU 0I3jtPMtKxwHfgXojTVKxiZkPPOrzVFLPKR9uqIaDNAykAVhR/UhwIiKptZrCj074ZA0 W0RUp6J7LiKzg632t6WSWUQwMJBTileOCSYGoBrAyXSkiR7U7hSX6/9fHNljLOej8kIY 6hMVDvXwpAg4K1O6oHruDoshdbiwNB3HHm5JLU7xCt+95A0XhttsHVRcWj/YFTkUCUVy Cde8i7SzUi42DhNFMWHD99uqkRqBPpnfxP1sF1ZFL2toiE4zOvEDV9bdap28eK2NAANp 3Fog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933497; x=1707538297; 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=t41nmJlswWKxBJvDSYYbo37/1kNEtkFjjgy71iYW0iylOr+gJxbP9i9C4FflqnQf90 MSKRgltg+SXBu1udpozi+A3Pi+TcLmyiNse6Wg84Riqu5S6yQGjWlp7BpHlQ5mIez5Ht fHFwUT+PesQ7xmDldSC3J1l+OnJlKRnEkVMfBx6GfXYVmQ+mUsrr1JucrkAjUnsMStmw SGRet0jj+Egjbaqcgt/CixNs2FRDVW+4H+1K8VS32Vz9zYYQ3NFHkkYVulz+jqvxnOWO V6/TJpKwP21P8wF6kPSyLaSu8nOcfb7LccDDCnUEKhgBcAIVRGaDIGz9D3XTPW9Fit6i dhEA== X-Gm-Message-State: AOJu0YxtqPibO3K8CQaC4bVn2JgS/YmY8PTFfflhoEbc519ZhOEIMaRi aWxyV2e1sQcfPdCCEqoVHuQGphmVHTkPIfi6+lYe4tphJ/HKckT3ZYr6dT6VhscXw6xbAgv3xA/ FbaI= X-Google-Smtp-Source: AGHT+IG8F1jyuymDCPJhzhpe7/QFoUASkFHrf0eeRX5fHiquLhSpPycu0wRviMby3bezcSoz3Gnpbg== X-Received: by 2002:a05:6a20:d807:b0:19e:48e9:5052 with SMTP id iv7-20020a056a20d80700b0019e48e95052mr5212242pzb.22.1706933497396; Fri, 02 Feb 2024 20:11:37 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUqvtcZn2jCPjIs7RtiEnBPJGRzzRbXhhQeXB6VmglRiUeFiU1ObNDrBWzueHK9TWebglOnXjPXisH6LpmHItqGYAT1DaOS2987sc6r7IHaVgJ62GXi/A/LOUCugTqYDbSFh+QOu7O+OdNdp1gQbgLHD98tjIqdGlHW3IYfMBrJdWfc8CGwyyvwauU= 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.36 (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 , Shreyansh Jain , Nipun Gupta Subject: [PATCH v7 02/19] mempool/dpaa2: use driver logtype not PMD Date: Fri, 2 Feb 2024 20:10:07 -0800 Message-ID: <20240203041125.285232-3-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 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