From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BB41DA04BA; Wed, 7 Oct 2020 13:32:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92D881B74B; Wed, 7 Oct 2020 13:32:24 +0200 (CEST) Received: from mail1.bemta26.messagelabs.com (mail1.bemta26.messagelabs.com [85.158.142.2]) by dpdk.org (Postfix) with ESMTP id 9420F1B733 for ; Wed, 7 Oct 2020 13:32:22 +0200 (CEST) Received: from [100.113.0.171] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-a.eu-central-1.aws.symcld.net id 8C/74-23801-547AD7F5; Wed, 07 Oct 2020 11:32:21 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSbUxTZxTmvR/lanrHpUA4drJlHSNRaGll0IF /tqnEP7Blc2Z+LPUWrrRLe2FticVJ0FTMUpQ1ZmTINj5KUYbDmapzIA21IsrcQJHoYJMhYJjV 1I3gHIOR3csFt/17nvM857zPe3IoXNEmU1Kc08HZeNaikq0kTOnkevXGE+UGrf9i6iuR6fPYq 2jzX40t5JtoO2nmjcXOXaRpov2CrOSHzc57v84R+9GlTDdaSSGmBYf+8WC0RHoJGL0akUmkC8 Hwn4cEsoIimHM4BA6bRUHBfI7Blc8+RhIZR3AmPEOILhnzMoQDLsyNKCqeyYVad7nowZkIBkf GHi964ph3YM7/ZbSI45mtEK5rRhJeBydqPiXFXoJJBn9TtlimGRYiT8YWWxWMEWpC7dGiZQWj h2/cvFhGTBLMHDiJixhnEmFksgETMTAM+LoGcAknwP2JBVL6mAdBIBJEkpADP4XvEhJOgsGGq qV6HnS0+kgJr4Xq9ttLQy3Q3dOIxAwgxFwIlUnlFCFO35LlOWg7sjxyNYz9eH5xocDMYxCc8p NLBIeRGRfmQZq6/wSXcBo0XpiWSTgVjjc9wOsWdxELfccmiUZEtKFso81cZHJYWbNFrdNq1Tp dhlqnXqfVa9i9albDlaoLON5hYwVVw+6xa+xl1gJLoYbnHH4kHEzhB2jgW1Tz8DdNCK2iMFUC fdtTblA8YywuLDOxdpPBVmrh7CG0mqJUQE/5BC3WxhVxzt1mi3B2yzJQclU8LTsuyLS9hLXaz UWS9B3KoDz3v/Di1PAjnxdXEHwxzykTaVeLYGVEq6mUfzpo+YQHUZIyjkZRUVEKeQlns5od/9 fDKJFCqjh6QZwiN/OOp++FhSiYEOVB5z4xioP9V1Lux64eHt0w6L2SfMemv+zSq26kyV2zHc1 b701soUdeS/ZmjoGmpvf9XW95S8dvkNr05oX6vO0XdxgC8zleQ23MwY/WR5qSeq+r3ojZt6bw oP7uw1DvHx8OnNL31Q+9NB2SGytrf5mPTjnp3FT2wmSM8Wjs0Q1za2YfZ0RdauBT0m7RGz1fJ VS+6E3NS+3Zfay/Ym/Pgb9bKza1vKvOGr5WuyXH21V+KnD97azcrNbKs/TPKVy6zqV8cq1b0T M3eydfMb5z2/zlzoqvny9yVY++t+f3mx2KmwYu263LzM+trHr2tDXYUR80HPpkpKvz+6Fb26p Ov16dnjtE5a+aYn0Fj8juc/2RURVhN7G6tbjNzv4D6fdDLD0EAAA= X-Env-Sender: John.Alexander@datapath.co.uk X-Msg-Ref: server-2.tower-229.messagelabs.com!1602070339!747956!1 X-Originating-IP: [104.47.5.59] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.60.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5959 invoked from network); 7 Oct 2020 11:32:20 -0000 Received: from mail-he1eur02lp2059.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (104.47.5.59) by server-2.tower-229.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 7 Oct 2020 11:32:20 -0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a6caTZClJU3qJQ8BNUKXdNovS1vtdvpVr7eNbbjMSQH1VzesCAGy4zQvBdySGdLfD6FtZo0IEvGa5c7BKW0hkj2h568LxCYHEfKZsBgRTmk5ZsVnwdnZAm8EMSJYUw2QW24oEDyZnVZUVwApMqD2VlPq04OuJy4lodMNrozYnuF1ZTi2brMBiREA3GSdSpp2vHqFgZUoLw3oAo8Wnm03i+ecoAdSN19w3j5VqMJx8bhUPA5HWZrqswBSZF1tJslhLjufy219F4K3j4NwLZjhZllUhgqbk5NODy1olxLkocz3sVW2JCg1/B4fzrGvzcMFJaH/ewJmke/LPC5PN4aDMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NZ1twXWC4uSoCSyeMlun/aeHwkxjIk4LlCrlX/faboU=; b=LTxsVCT2E/W30KpDNYXUm39jsnZh1OkkGuEoIBznuVGtXn2JxCrpkwbWc1A5LpuUhvi8kyRTNP/Ckeh3uXFbAXt5XIJFXoktJLGX1Vm3I10HhwekMcd9GSY4xMDLO5FJskFKO+NQoNqx/xZ+IobEgRI6/zsUF0yq7Cco3ivkYAg4fRjDMFCGap71XL+iN1eeKJ2cu/ArFRV4VgssuuMGjmDqbZFKdV/gX7gmFm7mLKTVn0VWNiwVCjKahiKWQFPZTTA/XVEB34Wo7ZyTAF1EwcjCHlQFAr6TgetSF9AoMAocLw6ngqONHwMOXpINv3CYJy1QoZem3nq8PyF27k4X2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=datapath.co.uk; dmarc=pass action=none header.from=datapath.co.uk; dkim=pass header.d=datapath.co.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datapathuk.onmicrosoft.com; s=selector2-datapathuk-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NZ1twXWC4uSoCSyeMlun/aeHwkxjIk4LlCrlX/faboU=; b=lrHdIC6rJ3KVZ1rZiX9w+ppMLXsBlf04ZNYa8hJkVxCyOVEXKm1wVlGNgkfd1l3jRN3PHkSTRgVIDNFsM3+yhAP2PzE/0w0LfWXqlvfuVrkbU/HOtRIzTPIzes49pFCvkA4w5PbuKRwbYGszXZTf5AF8/e/93KIXgHzxoq4wzDc= Received: from DB6PR0902MB2072.eurprd09.prod.outlook.com (2603:10a6:6:8::23) by DBBPR09MB3093.eurprd09.prod.outlook.com (2603:10a6:10:d9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.38; Wed, 7 Oct 2020 11:32:19 +0000 Received: from DB6PR0902MB2072.eurprd09.prod.outlook.com ([fe80::70d7:fdfb:2fe6:48e2]) by DB6PR0902MB2072.eurprd09.prod.outlook.com ([fe80::70d7:fdfb:2fe6:48e2%7]) with mapi id 15.20.3433.045; Wed, 7 Oct 2020 11:32:19 +0000 From: John Alexander To: Tal Shnaiderman , "dev@dpdk.org" CC: "thomas@monjalon.net" , "pallavi.kadam@intel.com" , "dmitry.kozliuk@gmail.com" , "ranjit.menon@intel.com" , "navasile@linux.microsoft.com" , "dmitrym@microsoft.com" , "ophirmu@nvidia.com" Thread-Topic: [dpdk-dev] [PATCH v2] eal/windows: export all built functions for clang Thread-Index: AQHWnHpbEOZfpCEFy0yHvVrIIB4gXamMAZbw Date: Wed, 7 Oct 2020 11:32:19 +0000 Message-ID: References: <20201002191837.12984-1-talshn@nvidia.com> <20201007071957.12020-1-talshn@nvidia.com> In-Reply-To: <20201007071957.12020-1-talshn@nvidia.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2a00:23c4:403:e001:8059:2a8b:cf58:8495] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b6929556-5b07-4cd7-a676-08d86ab4a669 x-ms-traffictypediagnostic: DBBPR09MB3093: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jpJPisDy0U9vuScs/FeUrX8m7B4ziUcGXYW+lKr4gzaEI9zZoLMwfHPO8r8gsyQU6LnQy1sJh0WK4YP5FHfR0Y/XI41YKLJP/5PfJ7KyP3NXkVw+TjiYGzVV6a/T0psaTNTy5tqgRU/fEKMJysOhfMDYZAprBF+asICiaWbjtu1xiMN1iq1ThGyGFYFuXvKYxkoNcgHBtinCe5ylupgPfWI5EN5OEzbUdk40JlJ/OrA+l+p2A9L01eu725JDDLo5cnxk2cBTHLUHeZnfwcAo3GQnSZnXpMzicImV/vQqdVyHIEm9EBpE2JUeOlSdt5+O5dPn/gImaMb4mIvKSHvFNg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0902MB2072.eurprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(39840400004)(136003)(376002)(396003)(45080400002)(478600001)(55016002)(186003)(8936002)(2906002)(107886003)(4326008)(6506007)(7696005)(53546011)(9686003)(86362001)(66446008)(66946007)(33656002)(76116006)(5660300002)(71200400001)(52536014)(54906003)(83380400001)(64756008)(66556008)(66476007)(316002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: j0SOyiC8OApyP+x6doM6aDNU6EdIsujIrBzsiVsolGDpzrjPWbD5LTGVLJOOfgBM1WBieqr1QXcRmDrusPVGay1hzP/WD1u7dQSPxrWyJCoiXuOPhJInwy82XwdcjxblRkIyK3fq94o26XD1Heh/TnX3AY++0/9ALOBmvEMV50fB8IVun81ixmE8/7I9setCVy5QUXIZAhnOM75aelfDCpfJVqK+/pLWaxkXIvLvvbG5tVvqpQkaQNwVScX5FNk5Q1/Hp2v+qfGGIJ8U65UIZJhyKttysS9G8xt/wiCt/sqpoz4b+8+PluAZzl5cNB3TVHoaJvX3v3rzb8v7pyg0tnB67919C02+xrsdx91bXLln2tbaumz/vXkokHCS3xpdjskbVmvLhZECkFpYNJ9dCyYEINaPco8q0sIMkpCAjTjLAyjhdZXLlw39LSADSkYbypYDy52Yr1HSPgHCZXJnQQOwhWwrQ7pR62e4Xzt6itiCVkhxjxtPKXHemwdtzOE82zUm6mMEfz1yZch9+qXUW6k6tO0ZMpxNZ9h6DlhCVbFq0ZXNLBFB/nwTUF6kci5PVEdU1P4sULgkjIKvKsaz4+pF8qzgU/2Cjut7LcQ/hdPDMEwVHqEeDLM7tJXW3N6+7xVAU26s0EIQkEOuqPDOyw5d/dyasoQxxmkl0OP9ZUX4hUkkRgRi7Ky01F/06I5EiW4eCA5TJrKRiSLFYQGqOQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: datapath.co.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB6PR0902MB2072.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6929556-5b07-4cd7-a676-08d86ab4a669 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2020 11:32:19.0804 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 102e0f24-523c-4823-a9ce-5a8ebc4e32a7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qLE/miUUgyOpNKMeTIIZ1FrP3F9evScAh/+Jk7TkUU+BOSQj6y+jJ3CFZhvXDtPA0MXq/BTCkq0Wmlcng9d2FjMwviuMuJAcyr+9i6UORBY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR09MB3093 Subject: Re: [dpdk-dev] [PATCH v2] eal/windows: export all built functions for clang X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > -----Original Message----- > From: dev On Behalf Of Tal Shnaiderman > Sent: 07 October 2020 08:20 > To: dev@dpdk.org > Cc: thomas@monjalon.net; pallavi.kadam@intel.com; > dmitry.kozliuk@gmail.com; ranjit.menon@intel.com; > navasile@linux.microsoft.com; dmitrym@microsoft.com; > ophirmu@nvidia.com > Subject: [dpdk-dev] [PATCH v2] eal/windows: export all built functions fo= r > clang >=20 > CAUTION: This email originated from outside of the organization. Do not c= lick > links or open attachments unless you recognize the sender and know the > content is safe. >=20 > export for clang build all the functions currently built on Windows and l= isted > in rte_eal_version.map by adding them to rte_eal_exports.def. >=20 > Signed-off-by: Tal Shnaiderman > Acked-by: Ranjit Menon > --- > v2: rebase to master > --- > --- > lib/librte_eal/rte_eal_exports.def | 156 > +++++++++++++++++++++++++++++++++++-- > 1 file changed, 151 insertions(+), 5 deletions(-) >=20 > diff --git a/lib/librte_eal/rte_eal_exports.def > b/lib/librte_eal/rte_eal_exports.def > index 7b35beb702..d7a47d0929 100644 > --- a/lib/librte_eal/rte_eal_exports.def > +++ b/lib/librte_eal/rte_eal_exports.def > @@ -3,34 +3,83 @@ EXPORTS > per_lcore__lcore_id > per_lcore__rte_errno > per_lcore__thread_id > + rte_bus_dump > + rte_bus_find > + rte_bus_find_by_device > + rte_bus_find_by_name > + rte_bus_get_iommu_class > + rte_bus_probe > rte_bus_register > + rte_bus_scan > + rte_bus_unregister > rte_calloc > rte_calloc_socket > rte_cpu_get_flag_enabled > + rte_cpu_get_flag_name > + rte_ctrl_thread_create > + rte_delay_us > + rte_delay_us_block > + rte_delay_us_callback_register > rte_dev_is_probed > + rte_dev_probe > + rte_dev_remove > + rte_devargs_add > + rte_devargs_dump > rte_devargs_insert > rte_devargs_next > rte_devargs_parse > + rte_devargs_parsef > rte_devargs_remove > + rte_devargs_type_count > + rte_dump_physmem_layout > + rte_dump_registers > + rte_dump_stack > + rte_dump_tailq > + rte_eal_cleanup > + rte_eal_get_lcore_state > + rte_eal_get_physmem_size > + rte_eal_get_runtime_dir > rte_eal_has_hugepages > rte_eal_has_pci > + rte_eal_hotplug_add > + rte_eal_hotplug_remove > rte_eal_init > rte_eal_iova_mode > + rte_eal_lcore_role > rte_eal_mbuf_user_pool_ops > rte_eal_mp_remote_launch > rte_eal_mp_wait_lcore > rte_eal_process_type > rte_eal_remote_launch > - rte_log > rte_eal_tailq_lookup > rte_eal_tailq_register > rte_eal_using_phys_addrs > + rte_eal_wait_lcore > + rte_exit > rte_free > + rte_get_master_lcore > + rte_get_next_lcore > rte_get_tsc_hz > rte_hexdump > + rte_hypervisor_get > rte_intr_rx_ctl > + rte_lcore_count > + rte_lcore_has_role > + rte_lcore_index > + rte_lcore_is_enabled > + rte_lcore_to_socket_id > + rte_log > + rte_log_cur_msg_loglevel > + rte_log_cur_msg_logtype > + rte_log_dump > + rte_log_get_global_level > + rte_log_get_level > + rte_log_get_stream > rte_log_register > + rte_log_set_global_level > rte_log_set_level > + rte_log_set_level_pattern > + rte_log_set_level_regexp > rte_malloc > rte_malloc_dump_stats > rte_malloc_get_socket_stats > @@ -53,6 +102,7 @@ EXPORTS > rte_mem_lock_page > rte_mem_virt2iova > rte_mem_virt2phy > + rte_memdump > rte_memory_get_nchannel > rte_memory_get_nrank > rte_memzone_dump > @@ -62,16 +112,53 @@ EXPORTS > rte_memzone_reserve_aligned > rte_memzone_reserve_bounded > rte_memzone_walk > + rte_openlog_stream > + rte_realloc > + rte_rtm_supported > + rte_service_attr_get > + rte_service_attr_reset_all > + rte_service_component_register > + rte_service_component_runstate_set > + rte_service_component_unregister > + rte_service_dump > + rte_service_finalize > + rte_service_get_by_name > + rte_service_get_count > + rte_service_get_name > + rte_service_lcore_add > + rte_service_lcore_attr_get > + rte_service_lcore_attr_reset_all > + rte_service_lcore_count > + rte_service_lcore_count_services > + rte_service_lcore_del > + rte_service_lcore_list > + rte_service_lcore_reset_all > + rte_service_lcore_start > + rte_service_lcore_stop > + rte_service_map_lcore_get > + rte_service_map_lcore_set > + rte_service_may_be_active > + rte_service_probe_capability > + rte_service_run_iter_on_app_lcore > + rte_service_runstate_get > + rte_service_runstate_set > + rte_service_set_runstate_mapped_check > + rte_service_set_stats_enable > + rte_service_start_with_defaults > + rte_set_application_usage_hook > + rte_socket_count > rte_socket_id > + rte_socket_id_by_idx > rte_strerror > + rte_strscpy > rte_strsplit > rte_sys_gettid > + rte_thread_get_affinity > + rte_thread_set_affinity > + rte_thread_setname > rte_vfio_container_dma_map > rte_vfio_container_dma_unmap > rte_vlog > - rte_realloc > - rte_rtm_supported > - rte_strscpy > rte_zmalloc > rte_zmalloc_socket >=20 > @@ -80,6 +167,8 @@ EXPORTS > rte_mp_reply > rte_mp_sendmsg >=20 > + rte_dev_event_callback_register > + rte_dev_event_callback_unregister > rte_fbarray_attach > rte_fbarray_destroy > rte_fbarray_detach > @@ -112,8 +201,12 @@ EXPORTS > rte_mp_request_async > rte_mp_request_sync >=20 > + rte_class_find > rte_class_find_by_name > - rte_class_register; > + rte_class_register > + rte_class_unregister > + rte_dev_iterator_init > + rte_dev_iterator_next > rte_fbarray_find_prev_free > rte_fbarray_find_prev_n_free > rte_fbarray_find_prev_n_used > @@ -124,6 +217,8 @@ EXPORTS > rte_memseg_list_walk_thread_unsafe > rte_memseg_walk_thread_unsafe >=20 > + rte_delay_us_sleep > + rte_dev_event_callback_process > rte_malloc_heap_create > rte_malloc_heap_destroy > rte_malloc_heap_get_socket > @@ -144,15 +239,66 @@ EXPORTS > rte_extmem_register > rte_extmem_unregister >=20 > + rte_dev_dma_map > + rte_dev_dma_unmap > rte_fbarray_find_biggest_free > rte_fbarray_find_biggest_used > rte_fbarray_find_rev_biggest_free > rte_fbarray_find_rev_biggest_used > + rte_realloc_socket > + > + rte_lcore_cpuset > + rte_lcore_to_cpu_id > + rte_mcfg_timer_lock > + rte_mcfg_timer_unlock > + rte_mcfg_get_single_file_segments > + > + __rte_eal_trace_alarm_cancel > + __rte_eal_trace_alarm_set > + __rte_eal_trace_generic_double > + __rte_eal_trace_generic_float > + __rte_eal_trace_generic_func > + __rte_eal_trace_generic_i16 > + __rte_eal_trace_generic_i32 > + __rte_eal_trace_generic_i64 > + __rte_eal_trace_generic_i8 > + __rte_eal_trace_generic_int > + __rte_eal_trace_generic_long > + __rte_eal_trace_generic_ptr > + __rte_eal_trace_generic_str > + __rte_eal_trace_generic_u16 > + __rte_eal_trace_generic_u32 > + __rte_eal_trace_generic_u64 > + __rte_eal_trace_generic_u8 > + __rte_eal_trace_generic_void > + __rte_eal_trace_intr_callback_register > + __rte_eal_trace_intr_callback_unregister > + __rte_eal_trace_intr_enable > + __rte_eal_trace_intr_disable > + __rte_eal_trace_mem_free > + __rte_eal_trace_mem_malloc > + __rte_eal_trace_mem_realloc > + __rte_eal_trace_mem_zmalloc > + __rte_eal_trace_memzone_free > + __rte_eal_trace_memzone_lookup > + __rte_eal_trace_memzone_reserve > + __rte_eal_trace_thread_lcore_ready > + __rte_eal_trace_thread_remote_launch > __rte_trace_mem_per_thread_alloc > __rte_trace_point_emit_field > __rte_trace_point_register > per_lcore_trace_mem > per_lcore_trace_point_sz > + rte_log_can_log > + > + rte_lcore_callback_register > + rte_lcore_callback_unregister > + rte_lcore_dump > + rte_lcore_iterate > + rte_mp_disable > + rte_service_lcore_may_be_active > + rte_thread_register > + rte_thread_unregister >=20 > rte_mem_lock > rte_mem_map > -- > 2.16.1.windows.4 Are we close to being able to drop the custom .def file for the Windows EAL= and use the one generated from the .map file as with the other RTE librari= es? How many functions are undefined now in the Windows EAL? Kind Regards,