From patchwork Sat Apr 10 20:06:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tal Shnaiderman X-Patchwork-Id: 91048 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56565A0547; Sat, 10 Apr 2021 22:08:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11E641412F1; Sat, 10 Apr 2021 22:08:10 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id 3ED311412F0 for ; Sat, 10 Apr 2021 22:08:08 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@nvidia.com) with SMTP; 10 Apr 2021 23:08:06 +0300 Received: from nvidia.com (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13AK86ID005381; Sat, 10 Apr 2021 23:08:06 +0300 From: Tal Shnaiderman To: dev@dpdk.org Cc: thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com, asafp@nvidia.com Date: Sat, 10 Apr 2021 23:06:20 +0300 Message-Id: <20210410200620.784-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 Subject: [dpdk-dev] [PATCH] common/mlx5: export all compiled functions on Windows 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 Sender: "dev" The functions mlx5_devx_cmd_*, mlx5_mp_* and mlx5_memory_stat_dump are compiled however some of them are marked with the WINDOWS_NO_EXPORT tag as they are not used. removing the tag to leave only functions which are not compiled for Windows. Signed-off-by: Tal Shnaiderman --- drivers/common/mlx5/version.map | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/common/mlx5/version.map b/drivers/common/mlx5/version.map index 8b196a41d2..4a0f5017ab 100644 --- a/drivers/common/mlx5/version.map +++ b/drivers/common/mlx5/version.map @@ -22,7 +22,7 @@ INTERNAL { mlx5_devx_cmd_create_tir; mlx5_devx_cmd_create_td; mlx5_devx_cmd_create_tis; - mlx5_devx_cmd_create_virtio_q_counters; # WINDOWS_NO_EXPORT + mlx5_devx_cmd_create_virtio_q_counters; mlx5_devx_cmd_create_virtq; mlx5_devx_cmd_create_flow_hit_aso_obj; mlx5_devx_cmd_create_geneve_tlv_option; @@ -40,14 +40,14 @@ INTERNAL { mlx5_devx_cmd_qp_query_tis_td; mlx5_devx_cmd_query_hca_attr; mlx5_devx_cmd_query_parse_samples; - mlx5_devx_cmd_query_virtio_q_counters; # WINDOWS_NO_EXPORT + mlx5_devx_cmd_query_virtio_q_counters; mlx5_devx_cmd_query_virtq; - mlx5_devx_cmd_queue_counter_alloc; # WINDOWS_NO_EXPORT - mlx5_devx_cmd_queue_counter_query; # WINDOWS_NO_EXPORT + mlx5_devx_cmd_queue_counter_alloc; + mlx5_devx_cmd_queue_counter_query; mlx5_devx_cmd_register_read; - mlx5_devx_cmd_wq_query; # WINDOWS_NO_EXPORT + mlx5_devx_cmd_wq_query; mlx5_devx_get_out_command_status; - mlx5_devx_alloc_uar; # WINDOWS_NO_EXPORT + mlx5_devx_alloc_uar; mlx5_devx_cq_create; mlx5_devx_cq_destroy; @@ -60,13 +60,13 @@ INTERNAL { mlx5_glue; - mlx5_mp_init_primary; # WINDOWS_NO_EXPORT - mlx5_mp_uninit_primary; # WINDOWS_NO_EXPORT - mlx5_mp_init_secondary; # WINDOWS_NO_EXPORT - mlx5_mp_uninit_secondary; # WINDOWS_NO_EXPORT - mlx5_mp_req_mr_create; # WINDOWS_NO_EXPORT + mlx5_mp_init_primary; + mlx5_mp_uninit_primary; + mlx5_mp_init_secondary; + mlx5_mp_uninit_secondary; + mlx5_mp_req_mr_create; mlx5_mp_req_queue_state_modify; - mlx5_mp_req_verbs_cmd_fd; # WINDOWS_NO_EXPORT + mlx5_mp_req_verbs_cmd_fd; mlx5_mr_btree_init; mlx5_mr_btree_free; @@ -110,7 +110,7 @@ INTERNAL { mlx5_translate_port_name; # WINDOWS_NO_EXPORT mlx5_malloc_mem_select; - mlx5_memory_stat_dump; # WINDOWS_NO_EXPORT + mlx5_memory_stat_dump; mlx5_malloc; mlx5_realloc; mlx5_free;