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 47D38606A31C for ; Sun, 29 Nov 2026 20:52:15 +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=gES2DITz Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 148AC40DD2; Sun, 29 Nov 2026 21:50:36 +0100 (CET) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTPS id 4C44440DCB for ; Sun, 29 Nov 2026 21:50:35 +0100 (CET) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-3b40d23e1adso6380520a91.0 for ; Sun, 29 Nov 2026 12:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795985434; x=1796590234; 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=TgGDEjCwOMu4MsevbOKH+06eTW7uyiWuVwMc1MMry+U=; b=gES2DITzcLIrIb0G90zcAsV/iVYj5+rdfv+oSgTOzGqvSnG/TOJm4rk4cobzloOXej 2cnF9pnDIm/WSRLC/3asEhOoyu86+IVGsG7QiAZTGDz/RqImPk7cdPr+h77usDhlOfiI RSVOMDqTQl6g3lW7TN4C7XHJ3oRD71c3eWfS0Uat9dDB9nYc7WyoC6FqEW9OfOeGFV6X hm2/w9aABtAowhyr3Hd8JaTdTtxyL8PFKTWRWrAJZ4NNgbtU2L7p0cH8S2bfcn4V8Lqx KEabWCXt15xBeGeN4f9JvAzOA8CnBKmGVdJ1PjmjRVIPwhAnrwcfXW1z3EinIsCkwU8B LNdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795985434; x=1796590234; 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=TgGDEjCwOMu4MsevbOKH+06eTW7uyiWuVwMc1MMry+U=; b=fOuZ3/VQWK2ilDEZaui3vwEYl7/Tqoq/nTAcscxykyoagvM1y1xmk+ErasaKimouzT j/NTHy0jg01cCIm4SCAy+PSS+BDeaMRqK3lZl8ZFdCLp3TdAH9uqEOugkHWbrPoNYuHa 6CqW7QpfqnOET8BjEKVgwTEA7EftyCBXQzKV0IpgOvUFf6eo3ywRcVJ4Ln5Fm6HaMCyv Vm/YssLIMUKyiYXEJSVEJasGn+ZmYgx2EdmzXx+2f4Q7380lHBmwa0NoisS0bO5ZoXEl fjVC61GHov9lOBqLbjyEabm93hYIPxz9+heB8KWKV4E7vX4oE4WPu/PlzCWcy7aZqhtC PdaA== X-Gm-Message-State: APuU4Z+3NJ5AWHdVOzO9EiAiPRJB4BoNsNA/26vIdsyHbA9lhOapdpED lsVNz621apkNNi9izY4tfazfw0HXNpNztKuEGgMijqLO4yOum5TzhKanAdbNi7NcpSh0m8m+rbS X9E1N X-Gm-Gg: AZFdTZdUYLfWxkLvu+617PnmYTFfNFZ/Qf1O0i3dxZzKTZAlmBdJkxcOWRsJN/++40l SHJPFyNxeSvX6pDD4yD4iSYmh87WspRkRq9ScxlCiKTdOxaQJmCQ5CSCw2ZZ467bxEyfG9tH+Il 5Cr8RanyR3V6LVVXJd/vP6RwCP/ul71O3c27+4cvumUnkshfGuyjA3BylSocvDVJgpEqbbrEHdR SQ7HQjfb46mrg1J6PXisdeTg/RH4272YtXg2tywKGywBs+AUcEXmzVcPiqt09t83sD1nLsLsbgk B29Wo0fFDzvpe5sI19QV0GeOP70yYid/djqiGrJyVu162l95Lg9UF/+SP+J02ujtcbtEytKiHkp zMxZdrgCbtPl0oAQAjVacEJeBq+2XXdr1vao0xb9vtsmM0wnmvyZgcAcGJa80JFwb2knsyTrBMf k3/ctv/Y5PxARyWteRgO1B67a7aFruZ0MNrVZOfcv7RBPyrleykh84v9jXnuCMokRrdUem/P20x W1wWwcz0bTpCXd/PwKlTn/zHfMrZHotELR+Syh3G67XH7ZLYgRzILzm8mJZRwkOxriDFE9j5HHS LekztkgBV+k0jL4Bqj9dJi0IWWlaG5mmnOqyzM5kbQImXAWzETeUrc8Is3JUnlhx10La X-Received: by 2002:a17:90b:278c:b0:3b3:b0e5:57ee with SMTP id 98e67ed59e1d1-3b41c97ac48mr33772043a91.54.1795985433766; Sun, 29 Nov 2026 12:50:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 12:50:32 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Jie Liu Subject: [PATCH 16/45] common/sxe2: do not export internal ioctl channel helpers Date: Sun, 29 Nov 2026 12:49:01 -0800 Message-ID: <20261129205006.1440292-17-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 ioctl channel open/close/handshake and DMA map helpers, and the memory event callback, are used only inside the sxe2 common code. The sxe2 net driver uses the higher level interfaces. Signed-off-by: Stephen Hemminger --- drivers/common/sxe2/sxe2_common.c | 1 - drivers/common/sxe2/sxe2_common.h | 1 - drivers/common/sxe2/sxe2_ioctl_chnl.c | 5 ----- drivers/common/sxe2/sxe2_ioctl_chnl_func.h | 5 ----- 4 files changed, 12 deletions(-) diff --git a/drivers/common/sxe2/sxe2_common.c b/drivers/common/sxe2/sxe2_common.c index 6e387a8a73..6670f3d814 100644 --- a/drivers/common/sxe2/sxe2_common.c +++ b/drivers/common/sxe2/sxe2_common.c @@ -246,7 +246,6 @@ static int32_t sxe2_dma_mem_map(struct sxe2_common_device *cdev, return ret; } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_common_mem_event_cb) void sxe2_common_mem_event_cb(enum rte_mem_event type, const void *addr, size_t size, void *arg __rte_unused) diff --git a/drivers/common/sxe2/sxe2_common.h b/drivers/common/sxe2/sxe2_common.h index efc8d3585a..3d97470e7d 100644 --- a/drivers/common/sxe2/sxe2_common.h +++ b/drivers/common/sxe2/sxe2_common.h @@ -68,7 +68,6 @@ struct sxe2_class_driver { uint32_t intr_rmv; }; -__rte_internal void sxe2_common_mem_event_cb(enum rte_mem_event type, const void *addr, size_t size, void *arg __rte_unused); diff --git a/drivers/common/sxe2/sxe2_ioctl_chnl.c b/drivers/common/sxe2/sxe2_ioctl_chnl.c index 9f455bd8d5..4ddeb7a5d7 100644 --- a/drivers/common/sxe2/sxe2_ioctl_chnl.c +++ b/drivers/common/sxe2/sxe2_ioctl_chnl.c @@ -68,7 +68,6 @@ sxe2_drv_cmd_exec(struct sxe2_common_device *cdev, } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_open) int32_t sxe2_drv_dev_open(struct sxe2_common_device *cdev, struct rte_pci_device *pci_dev) { @@ -101,7 +100,6 @@ sxe2_drv_dev_open(struct sxe2_common_device *cdev, struct rte_pci_device *pci_de return ret; } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_close) void sxe2_drv_dev_close(struct sxe2_common_device *cdev) { @@ -115,7 +113,6 @@ sxe2_drv_dev_close(struct sxe2_common_device *cdev) SXE2_CDEV_TO_CMD_FD(cdev) = SXE2_CMD_FD_INVALID; } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_handshake) int32_t sxe2_drv_dev_handshake(struct sxe2_common_device *cdev) { @@ -389,7 +386,6 @@ sxe2_drv_dev_munmap(struct sxe2_common_device *cdev __rte_unused, void *virt, ui return ret; } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_dma_map) int32_t sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, uint64_t vaddr, uint64_t iova, uint64_t size) @@ -447,7 +443,6 @@ sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, uint64_t vaddr, return ret; } -RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_dma_unmap) int32_t sxe2_drv_dev_dma_unmap(struct sxe2_common_device *cdev, uint64_t iova) { diff --git a/drivers/common/sxe2/sxe2_ioctl_chnl_func.h b/drivers/common/sxe2/sxe2_ioctl_chnl_func.h index 368be16d4f..c6d204fffe 100644 --- a/drivers/common/sxe2/sxe2_ioctl_chnl_func.h +++ b/drivers/common/sxe2/sxe2_ioctl_chnl_func.h @@ -24,17 +24,14 @@ int32_t sxe2_drv_cmd_exec(struct sxe2_common_device *cdev, struct sxe2_drv_cmd_params *cmd_params); -__rte_internal int32_t sxe2_drv_dev_open(struct sxe2_common_device *cdev, struct rte_pci_device *pci_dev); -__rte_internal void sxe2_drv_dev_close(struct sxe2_common_device *cdev); -__rte_internal int32_t sxe2_drv_dev_handshake(struct sxe2_common_device *cdev); @@ -64,12 +61,10 @@ __rte_internal int32_t sxe2_drv_dev_munmap(struct sxe2_common_device *cdev, void *virt, uint64_t len); -__rte_internal int32_t sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, uint64_t vaddr, uint64_t iova, uint64_t size); -__rte_internal int32_t sxe2_drv_dev_dma_unmap(struct sxe2_common_device *cdev, uint64_t iova); -- 2.53.0