From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D09A606A31C for ; Sun, 29 Nov 2026 20:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=MSB52C3P Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25B2540684; Sun, 29 Nov 2026 21:50:17 +0100 (CET) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTPS id ED8844064A for ; Sun, 29 Nov 2026 21:50:14 +0100 (CET) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-cddc597d062so5881117a12.3 for ; Sun, 29 Nov 2026 12:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795985413; x=1796590213; 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:content-type; bh=ZrDWPSfXbMi/4VpQr7LaP9wr3wZKrlpRXIpDnffa20I=; b=MSB52C3P8672lkY/EZHSnG8lO2h8BsCEhdxx+dLVvY+/yLUoeVqkgC1TKvkP+ikTX0 Tn9y+KmNWmwgdgaK2qgAA7XfHtRBcx0eSJ+3iLca0EwnudHxtIaT4HjpbwVhVHuwMepu uP8Zq3EjYlqYXfA/vPmEf5kaVsJj+g9U6Uc4WuvQ5QoPgRPBtf2ZN7wGcpau51r6mCRo eielrf2DHdWEiQOFnL7OYiYsqMai8PQRj6vDRcATAfHb+SI1nGtsNyxF6xkREs7T/BBF scOFqb6S368Rm7IkJ7Mlu/8vB8Kcw6q7I2TrfE+AVP7GqCKsCQ+QfymEqwHcNIXkv+8Z frKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795985413; x=1796590213; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ZrDWPSfXbMi/4VpQr7LaP9wr3wZKrlpRXIpDnffa20I=; b=tz2w+iI2fFx1f14+X9rVTbRZ/cktWRnEsWpncNeJIo5rTLfckwu5ttaszb4OI6WV+W pA+gKUf2PYwuRj9YNGf5JasyPovfE4ELIXZR/Ink0TNBaqWwgPzEdWMnLYPAheed4LOj DKzrgYmwWFG1NghqtiFgrH97i3F6nWfohvlYPsqBkZKVcbzxhpA0uk8N5yjanGjjNYbF sXn3anYlOSK5OIDMazD45FNcTtmcHEUWIi5HnH3L7kEzT35DHt3TwwV20xBKRj4ymFhS P5A42NUylXM4jRwbNO4DNyYOojdEAkYRuk5DYHABwDMaXuMoKPJikTufumCHtE9Fbq9G HXSA== X-Gm-Message-State: APuU4Z/hYxweWwnmaEEA+YEoFZqhD5Prm2IYhRjD7HvKHZ9wDeOEPOR6 dBAbiVmOAE4tTvXLzKwhOZvpaYmoeNROmKpKchjkcFI7p3fEr2hAuC7BoU3suwSMTGH0Xca1lJb 2nYz1 X-Gm-Gg: AZFdTZeMabMZc8OzWYPSe/1js0JgVQdhpcUgxMKT61wHpDbDUAWsjAQPeiN+4K1JlVd vf/EweuR98iVnfpyap3t28M3RhPanp/S9vlF+IP1Bi1WfpRGxGqDFCnwZN/sl23FVLeyF5/XbT1 +PQDyuwgM0YaBScg7FfkNQiXbGywmQEw7M3l9tNJM0E5x/AWMr79aUK8zmMGt9i9B0cy+IZ5x0+ PR7MwtZToY63mdUeuLxKRSRmWbq35N3gHgl5iVmTYVLg7L/2T4CwIF+YLktEgyyuyPZtco+A1lW AHTbGcfaEmerGWamOpojKQYAYr+vAUMct9j3ppULLHRx3l6AetwcwpzrcXOKfXQgzPJmhCWzN3x MHaE8UDROMa8pV+/32ma2P7/nlmCNby9mVFs5lzhnFKilZG8eSKWmI0GFtRa2oWfbfantibI19F eA+qyhzAaNDCcxOTsn69SYQJVYdY+g8vQXHsVrsjXVxMBxyhVTjxTVgILr2vA3YWmf36sofqrHs KSsltK229yQrZ+cko6UV5Qv6kuNkW6/Dzv+tw1J0Zt4+1g83jFs4QWdPELBlbTpMXoUB3J26Ym/ mnrMdFwm8yuXFE6NaNHDsRkGbpjW6W7BqMEpSZBcpJOx9ZZ5SHTdH5zdBsNAqlvygchl X-Received: by 2002:a17:90a:e7d0:b0:3b4:a90:7f3b with SMTP id 98e67ed59e1d1-3b41c97c98amr31992430a91.56.1795985413321; Sun, 29 Nov 2026 12:50:13 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b50234fb25sm10383968a91.2.2026.11.29.12.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 12:50:12 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Thomas Monjalon , Andrew Rybchenko Subject: [PATCH 03/45] ethdev: do not export internal dummy ops Date: Sun, 29 Nov 2026 12:48:48 -0800 Message-ID: <20261129205006.1440292-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261129205006.1440292-1-stephen@networkplumber.org> References: <20261129205006.1440292-1-stephen@networkplumber.org> X-Archived-By: 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-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The dummy queue count, descriptor status and recycle callbacks are only assigned as fallback function pointers inside the ethdev library. No driver references them, so they do not need to be part of the internal ABI. Drop the export and the __rte_internal tag. The functions stay global because they are used from both ethdev_driver.c and ethdev_private.c. Signed-off-by: Stephen Hemminger --- lib/ethdev/ethdev_driver.c | 4 ---- lib/ethdev/ethdev_driver.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/lib/ethdev/ethdev_driver.c b/lib/ethdev/ethdev_driver.c index e6f8d6fe85..00440f18f9 100644 --- a/lib/ethdev/ethdev_driver.c +++ b/lib/ethdev/ethdev_driver.c @@ -876,14 +876,12 @@ rte_eth_tx_pkt_prepare_dummy(void *queue __rte_unused, return nb_pkts; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_eth_queue_count_dummy) int rte_eth_queue_count_dummy(void *queue __rte_unused) { return 0; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_eth_descriptor_status_dummy) int rte_eth_descriptor_status_dummy(void *queue __rte_unused, uint16_t offset __rte_unused) @@ -891,7 +889,6 @@ rte_eth_descriptor_status_dummy(void *queue __rte_unused, return -ENOTSUP; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_eth_recycle_tx_mbufs_reuse_dummy) uint16_t rte_eth_recycle_tx_mbufs_reuse_dummy(void *queue __rte_unused, struct rte_eth_recycle_rxq_info *recycle_rxq_info __rte_unused) @@ -899,7 +896,6 @@ rte_eth_recycle_tx_mbufs_reuse_dummy(void *queue __rte_unused, return 0; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_eth_recycle_rx_descriptors_refill_dummy) void rte_eth_recycle_rx_descriptors_refill_dummy(void *queue __rte_unused, uint16_t nb __rte_unused) diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h index ac6f850a7e..06d4a7ed55 100644 --- a/lib/ethdev/ethdev_driver.h +++ b/lib/ethdev/ethdev_driver.h @@ -1928,7 +1928,6 @@ rte_eth_tx_pkt_prepare_dummy(void *queue __rte_unused, * @param queue * Pointer to Rx/Tx queue */ -__rte_internal int rte_eth_queue_count_dummy(void *queue __rte_unused); @@ -1942,7 +1941,6 @@ rte_eth_queue_count_dummy(void *queue __rte_unused); * The offset of the descriptor starting from tail (0 is the next * packet to be received by the driver). */ -__rte_internal int rte_eth_descriptor_status_dummy(void *queue __rte_unused, uint16_t offset __rte_unused); @@ -1956,7 +1954,6 @@ rte_eth_descriptor_status_dummy(void *queue __rte_unused, * @param recycle_rxq_info * Pointer to recycle Rx queue info */ -__rte_internal uint16_t rte_eth_recycle_tx_mbufs_reuse_dummy(void *queue __rte_unused, struct rte_eth_recycle_rxq_info *recycle_rxq_info __rte_unused); @@ -1970,7 +1967,6 @@ rte_eth_recycle_tx_mbufs_reuse_dummy(void *queue __rte_unused, * @param offset * number of descriptors to refill */ -__rte_internal void rte_eth_recycle_rx_descriptors_refill_dummy(void *queue __rte_unused, uint16_t nb __rte_unused); -- 2.53.0