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 527E3CD342C for ; Wed, 6 May 2026 15:52:29 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BA2E4066A; Wed, 6 May 2026 17:52:25 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id E16F240664 for ; Wed, 6 May 2026 17:52:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778082743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lQBv+NqPllzYbGbLTOd1qz9IoAvhCJ57cIVRA4OQ9II=; b=AgOXeRR29zqRGA655grKcvNDPNERX6xC946CjQ/L95t+17BE1dCxuLK3LUgl7L4x9d2Lac sQu41z1w4rQ3wk2VpVR9lWu81kAGScOcMhEGyWCDmDkSxO0mBPjUan6BC1Gj7i4/q3VOPk H6vKiSwMtLABu2QF2eCwuTJ3Z3PphR0= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-3KKk7q4pPi2jEfJOB4oK_Q-1; Wed, 06 May 2026 11:52:19 -0400 X-MC-Unique: 3KKk7q4pPi2jEfJOB4oK_Q-1 X-Mimecast-MFC-AGG-ID: 3KKk7q4pPi2jEfJOB4oK_Q_1778082731 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0AA6119560B2; Wed, 6 May 2026 15:52:11 +0000 (UTC) Received: from dmarchan.lan (unknown [10.44.32.242]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0B81D19560A2; Wed, 6 May 2026 15:52:08 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, stephen@networkplumber.org, bruce.richardson@intel.com, Rosen Xu , Andy Pei Subject: [PATCH v2 01/23] bus/ifpga: remove unused AFU lookup helper Date: Wed, 6 May 2026 17:51:33 +0200 Message-ID: <20260506155201.2709810-2-david.marchand@redhat.com> In-Reply-To: <20260506155201.2709810-1-david.marchand@redhat.com> References: <20260429114503.932575-1-david.marchand@redhat.com> <20260506155201.2709810-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qfur7Diaii4j9bynx6M-QV7aXFvhRmyLS8VLCT3qAyc_1778082731 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 This helper got left behind after another cleanup. Fixes: 8418c92811b4 ("net/ipn3ke: remove configuration for i40e port bonding") Signed-off-by: David Marchand --- drivers/bus/ifpga/bus_ifpga_driver.h | 10 ---------- drivers/bus/ifpga/ifpga_bus.c | 13 ------------- 2 files changed, 23 deletions(-) diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h index d34ab8cec1..c0f5fb5b85 100644 --- a/drivers/bus/ifpga/bus_ifpga_driver.h +++ b/drivers/bus/ifpga/bus_ifpga_driver.h @@ -116,16 +116,6 @@ rte_ifpga_device_name(const struct rte_afu_device *afu) return NULL; } -/** - * Find AFU by AFU name. - * - * @param name - * A pointer to AFU name string. - */ -__rte_internal -struct rte_afu_device * -rte_ifpga_find_afu_by_name(const char *name); - /** * Register a ifpga afu device driver. * diff --git a/drivers/bus/ifpga/ifpga_bus.c b/drivers/bus/ifpga/ifpga_bus.c index ca2812a960..5cc1207c46 100644 --- a/drivers/bus/ifpga/ifpga_bus.c +++ b/drivers/bus/ifpga/ifpga_bus.c @@ -74,19 +74,6 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev, return NULL; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_ifpga_find_afu_by_name) -struct rte_afu_device * -rte_ifpga_find_afu_by_name(const char *name) -{ - struct rte_afu_device *afu_dev = NULL; - - TAILQ_FOREACH(afu_dev, &ifpga_afu_dev_list, next) { - if (!strcmp(afu_dev->device.name, name)) - return afu_dev; - } - return NULL; -} - static const char * const valid_args[] = { #define IFPGA_ARG_NAME "ifpga" IFPGA_ARG_NAME, -- 2.53.0