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 95B9046409; Mon, 17 Mar 2025 16:43:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8331240612; Mon, 17 Mar 2025 16:43:36 +0100 (CET) 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 CB27F40611 for ; Mon, 17 Mar 2025 16:43:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1742226214; 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=abBzSG8XjTYj6/FZ0vVIoNf085jhdgAxbWNKvCExGqg=; b=NOFu5xM7gC2+oxPuZj3zqsihNx1QpR/bit5SyO1mMaMYhAfXRlz6yIE5mlEbJYVvzywXi/ sVO8zO7WdhRp1Rzhw2awz/1LQQGahefGPahLiHAY3KPJZWAirkzXQ20TkwiHIvrvT+Qmk9 30WpYf/1Wf2cz5V3SipiBF9KLZw/AvE= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-378-fdXkxHKxOEm6kzjRd_Qe4g-1; Mon, 17 Mar 2025 11:43:31 -0400 X-MC-Unique: fdXkxHKxOEm6kzjRd_Qe4g-1 X-Mimecast-MFC-AGG-ID: fdXkxHKxOEm6kzjRd_Qe4g_1742226209 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2FDE618001F8; Mon, 17 Mar 2025 15:43:29 +0000 (UTC) Received: from dmarchan.lan (unknown [10.44.34.22]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5CFD01956094; Mon, 17 Mar 2025 15:43:24 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, andremue@linux.microsoft.com, Hemant Agrawal , Sachin Saxena , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra Subject: [RFC v4 2/8] drivers: remove incorrect exported symbols Date: Mon, 17 Mar 2025 16:42:58 +0100 Message-ID: <20250317154308.2782689-3-david.marchand@redhat.com> In-Reply-To: <20250317154308.2782689-1-david.marchand@redhat.com> References: <20250305212349.2036410-1-david.marchand@redhat.com> <20250317154308.2782689-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: jeGzVKXhiqh3bvj6lV56akAdLkpvrzsWM2WfGdJcGek_1742226209 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 Declaring inline helpers in version.map is unnecessary. There is no exported symbol and this will probably be treated as an error by MSVC linker. rte_dpaa2_dev_type is an enum token. roc_se_ctx_swap has no implementation (leftover from a previous rework) and can be removed. Signed-off-by: David Marchand --- drivers/bus/dpaa/version.map | 1 - drivers/bus/fslmc/version.map | 2 -- drivers/common/cnxk/roc_se.h | 1 - drivers/common/cnxk/version.map | 2 -- 4 files changed, 6 deletions(-) diff --git a/drivers/bus/dpaa/version.map b/drivers/bus/dpaa/version.map index a17d57632e..8f09b72757 100644 --- a/drivers/bus/dpaa/version.map +++ b/drivers/bus/dpaa/version.map @@ -18,7 +18,6 @@ INTERNAL { dpaa_update_link_speed; dpaa_intr_disable; dpaa_intr_enable; - dpaa_seqn; dpaa_svr_family; dpaa_update_link_status; fman_dealloc_bufs_mask_hi; diff --git a/drivers/bus/fslmc/version.map b/drivers/bus/fslmc/version.map index 2c36895285..ba3c7f36e3 100644 --- a/drivers/bus/fslmc/version.map +++ b/drivers/bus/fslmc/version.map @@ -22,7 +22,6 @@ INTERNAL { dpaa2_get_mcp_ptr; dpaa2_io_portal; dpaa2_seqn_dynfield_offset; - dpaa2_seqn; dpaa2_svr_family; dpbp_disable; dpbp_enable; @@ -108,7 +107,6 @@ INTERNAL { qbman_swp_push_set; qbman_swp_release; rte_dpaa2_alloc_dpci_dev; - rte_dpaa2_dev_type; rte_dpaa2_free_dpci_dev; rte_dpaa2_intr_disable; rte_dpaa2_intr_enable; diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk/roc_se.h index ede8d69c0e..f2c4056169 100644 --- a/drivers/common/cnxk/roc_se.h +++ b/drivers/common/cnxk/roc_se.h @@ -405,7 +405,6 @@ int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx, roc_se_auth_type ty int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx, roc_se_cipher_type type, const uint8_t *key, uint16_t key_len); -void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx); void __roc_api roc_se_ctx_init(struct roc_se_ctx *se_ctx); void __roc_api roc_se_hmac_opad_ipad_gen(roc_se_auth_type auth_type, const uint8_t *key, diff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map index cdbfc1d39a..7f40dcced2 100644 --- a/drivers/common/cnxk/version.map +++ b/drivers/common/cnxk/version.map @@ -164,7 +164,6 @@ INTERNAL { roc_mcs_custom_tag_cfg_get; roc_mcs_dev_init; roc_mcs_dev_fini; - roc_mcs_dev_get; roc_mcs_event_cb_register; roc_mcs_event_cb_unregister; roc_mcs_flowid_entry_enable; @@ -546,7 +545,6 @@ INTERNAL { roc_tim_lf_enable; roc_tim_lf_free; roc_tim_lf_interval; - roc_se_ctx_swap; roc_ree_af_reg_read; roc_ree_af_reg_write; roc_ree_config_lf; -- 2.48.1