From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4442CA6012 for ; Fri, 9 Oct 2026 10:50:39 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BB2B4064C; Fri, 9 Oct 2026 12:50:24 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id 172ED402EB for ; Fri, 9 Oct 2026 12:50:23 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EE9DB1A02DC; Fri, 9 Oct 2026 12:50:22 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C2E251A003D; Fri, 9 Oct 2026 12:50:22 +0200 (CEST) Received: from lsv031405.swis.in-blr01.nxp.com (lsv031405.swis.in-blr01.nxp.com [92.120.147.93]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B225418000B1; Fri, 9 Oct 2026 18:50:21 +0800 (+08) From: Prashant Gupta To: stephen@networkplumber.org, dev@dpdk.org Cc: Hemant Agrawal Subject: [PATCH v7-S1 2/6] bus/fslmc: reduce probe logging and skip ignored devices Date: Fri, 9 Oct 2026 16:20:15 +0530 Message-ID: <20261009105019.1121083-3-prashant.gupta_3@nxp.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261009105019.1121083-1-prashant.gupta_3@nxp.com> References: <20261006150749.3591526-1-prashant.gupta_3@nxp.com> <20261009105019.1121083-1-prashant.gupta_3@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 From: Hemant Agrawal Every DMA map logged its virtual, IOVA and physical addresses at NOTICE. An application that maps many memory segments prints one such line per segment during initialisation, which drowns out messages the operator actually needs; the neighbouring mapping paths already use debug level. Lower these to DEBUG in fslmc_vfio.c. Also add a missing rte_bus_device_is_ignored() check in rte_dpaa2_create_dprc_device() so that devices on the denylist or outside the allowlist are skipped during DPRC population, consistent with the per-device check performed in the main probe loop. Signed-off-by: Hemant Agrawal Signed-off-by: Prashant Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 3 +-- drivers/bus/fslmc/portal/dpaa2_hw_dprc.c | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 412b70e5ae..adde629ce6 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -900,8 +900,7 @@ fslmc_map_dma(uint64_t vaddr, rte_iova_t iovaddr, size_t len) fslmc_mem_va2iova = RTE_BAD_IOVA; TAILQ_INSERT_TAIL(&fslmc_memsegs, dmaseg, next); } - DPAA2_BUS_LOG(NOTICE, - "%s(%zx): VA(%" PRIx64 "):IOVA(%" PRIx64 "):PHY(%" PRIx64 ")", + DPAA2_BUS_DEBUG("%s(%zx): VA(%" PRIx64 "):IOVA(%" PRIx64 "):PHY(%" PRIx64 ")", is_io ? "DMA I/O map size" : "DMA MEM map size", len, vaddr, iovaddr, phy); diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c b/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c index 868ed646af..02b69d404d 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dprc.c @@ -52,6 +52,10 @@ rte_dpaa2_create_dprc_device(int vdev_fd __rte_unused, RTE_BUS_FOREACH_DEV(dev, &rte_fslmc_bus) { /** DPRC is always created before it's children are created.*/ dev->container = dprc_node; + + if (rte_bus_device_is_ignored(&rte_fslmc_bus, dev->device.name)) + continue; + if (dev->dev_type == DPAA2_ETH) { int link_state; -- 2.43.0