From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 09A3AA05D3 for ; Tue, 26 Mar 2019 17:28:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12ED01B209; Tue, 26 Mar 2019 17:28:46 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-eopbgr820124.outbound.protection.outlook.com [40.107.82.124]) by dpdk.org (Postfix) with ESMTP id 832241B1F5 for ; Tue, 26 Mar 2019 17:28:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZZI88mq1/38Xw2HVjR7WIxMW4xjCFYjaw4z9kJdhqGU=; b=EhuNX7J8aTStgMHTunTtyMRYSiSrceow3rx9nCePYkt454O2tY6DPM4Iq4ImUdc/5NgozzpTMHTgHGS1/JsxwSb/mcfc/qcdYT0huwj6h7QtCmxbPVZCfOVrOLLcTmgo0ucOE6XH3Mh3ew12IpXk5p9B4z1ZQbFE79a/lTzOl6c= Received: from MWHPR21MB0638.namprd21.prod.outlook.com (10.175.141.139) by MWHPR21MB0287.namprd21.prod.outlook.com (10.173.53.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.3; Tue, 26 Mar 2019 16:28:42 +0000 Received: from MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983]) by MWHPR21MB0638.namprd21.prod.outlook.com ([fe80::c4e7:ece1:887e:b983%3]) with mapi id 15.20.1771.002; Tue, 26 Mar 2019 16:28:42 +0000 From: Harini Ramakrishnan To: Anand Rawat , "dev@dpdk.org" CC: "pallavi.kadam@intel.com" , "ranjit.menon@intel.com" , "jeffrey.b.shaw@intel.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" Thread-Topic: [dpdk-dev] [PATCH v5 0/8] HelloWorld example for windows Thread-Index: AQHU45mKsf3RIPDbWEeMcuyM+BUeeqYeGZaQ Date: Tue, 26 Mar 2019 16:28:42 +0000 Message-ID: References: <20190306041634.12976-1-anand.rawat@intel.com> <20190326060238.9884-1-anand.rawat@intel.com> In-Reply-To: <20190326060238.9884-1-anand.rawat@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=haramakr@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-03-26T16:28:40.1251371Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=7871e945-df49-4aeb-901c-73dadc06217e; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [131.107.147.44] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fc17c7d6-fc6e-4718-1e8c-08d6b2081c66 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:MWHPR21MB0287; x-ms-traffictypediagnostic: MWHPR21MB0287: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Harini.Ramakrishnan@microsoft.com; x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(376002)(346002)(396003)(366004)(13464003)(199004)(189003)(71190400001)(8936002)(53546011)(74316002)(256004)(14454004)(105586002)(55016002)(106356001)(11346002)(52536014)(2501003)(486006)(10290500003)(81166006)(6436002)(110136005)(7736002)(53936002)(446003)(86612001)(33656002)(229853002)(476003)(2906002)(9686003)(25786009)(305945005)(4326008)(86362001)(10090500001)(316002)(8990500004)(22452003)(6506007)(68736007)(7696005)(26005)(6246003)(99286004)(97736004)(8676002)(66066001)(76176011)(54906003)(3846002)(81156014)(5660300002)(72206003)(6116002)(71200400001)(478600001)(186003)(102836004); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0287; H:MWHPR21MB0638.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: CyCQ2aIPgyTs7U8a+cpyUUWldtGvcvUbOWfXRX24bJXPjRAUcz+zSTLRC7vs11KM5JFYWYOM4F4zVETR3giPj5wkVhrkGz8VE4HbfUjKDfxiVaRtLlTbMqyriwmrBUkjzRP/JF43cZliR9Ia7AwpfyF5Fg2qbkC1TyQrNVHOomZM++tJqm3FW9PjLbQ2NM3r00JOOMIRs1FUqbdMUUqLTTPe9wcrQMkEYvUVUysPclFUz2oaHDTLDDCSAU+00PJ5yH+BdZCZomMNzwx1EDiYJg5cr9eMwE+zuMS8d3yfC30Ipkcxj12CASO6U9hppIUPCeCsTdWK0uE00xzTHR9ihR8+bxRideIwN1OqfaZh1YDlSIQYACe5+FG1YHsHmLZrG2JbS0VRVir2PaN4qLX4ma+72zL5ebP09kEso60Tzqc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc17c7d6-fc6e-4718-1e8c-08d6b2081c66 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 16:28:42.3839 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0287 Subject: Re: [dpdk-dev] [PATCH v5 0/8] HelloWorld example for windows 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" Message-ID: <20190326162842.d0_qPyLNk7jLm24wJC6wmoILY44mprfxBJNezzQG3JE@z> Acked-by: Harini Ramakrishnan -----Original Message----- From: dev On Behalf Of Anand Rawat Sent: Monday, March 25, 2019 11:03 PM To: dev@dpdk.org Cc: anand.rawat@intel.com; pallavi.kadam@intel.com; ranjit.menon@intel.com;= jeffrey.b.shaw@intel.com; bruce.richardson@intel.com; thomas@monjalon.net Subject: [dpdk-dev] [PATCH v5 0/8] HelloWorld example for windows Includes Windows-specific EAL changes and meson changes to build the code o= n windows. v5 Changes: 1. Reduced meson workrounds for windows. 2. Updated documention to include details about buildtool options v4 Changes: 1. Exposed more functions for eal DLL in the module definition file 2. Move= d disabling meson logic to sub directories v3 Changes: 1. Separated meson workarounds from the essential code changes 2. Added sup= port for kvargs 3. Updated meson for building DLL on windows using DEF file= s 4. Fixed documentation for html links and linker dependency 5. Added comm= ents for windows header and source files v2 Changes: 1. Incorporated reviews from v1. 2. Fixed license period for updated files. 3. Renamed 'winapp' folder to 'windows'. 4. Cleaned unneeded meson changes. 5. Fixed code style warnings.=20 6. Added maintainers information for windows branch notes: *patch 8/8 contains meson workarounds to build helloworld on windows, which= will later be a part of the draft repository *command-line parsing is not a part of this version as a result lcore mask = is currently not supported. *kernel modules and documentation can not be built on windows currently and= should not be enabled. Anand Rawat (8): eal: eal stub to add windows support eal: add header files to support windows kvargs: adding a module definition file eal: sys/queue.h implementation for windows eal: add headers for compatibility with windows environment eal: add minimum viable code for eal on windows doc: add documention for windows build: meson changes to build on windows MAINTAINERS | 7 + app/meson.build | 6 +- buildtools/meson.build | 6 +- config/meson.build | 23 +- config/x86/meson.build | 14 +- doc/guides/index.rst | 3 +- doc/guides/windows_gsg/build_dpdk.rst | 73 ++++ doc/guides/windows_gsg/index.rst | 14 + doc/guides/windows_gsg/intro.rst | 20 ++ drivers/meson.build | 6 +- examples/meson.build | 6 +- kernel/windows/meson.build | 4 + lib/librte_eal/common/include/rte_common.h | 7 +- .../common/include/rte_string_fns.h | 4 +- lib/librte_eal/common/meson.build | 14 +- lib/librte_eal/meson.build | 6 +- lib/librte_eal/rte_eal_exports.def | 9 + lib/librte_eal/windows/eal/eal.c | 84 +++++ lib/librte_eal/windows/eal/eal_debug.c | 19 ++ lib/librte_eal/windows/eal/eal_lcore.c | 100 ++++++ lib/librte_eal/windows/eal/eal_thread.c | 153 +++++++++ lib/librte_eal/windows/eal/include/fnmatch.h | 43 +++ lib/librte_eal/wi= ndows/eal/include/pthread.h | 22 ++ lib/librte_eal/windows/eal/include/regex.h | 85 +++++ .../windows/eal/include/rte_windows.h | 50 +++ lib/librte_eal/windows/eal/include/sched.h | 41 +++ .../windows/eal/include/sys/queue.h | 320 ++++++++++++++++++ lib/librte_eal/windows/eal/include/unistd.h | 8 + lib/librte_eal/windows/eal/meson.build | 12 + lib/librte_kvargs/rte_kvargs_exports.def | 7 + lib/meson.build | 23 +- meson.build | 3 +- 32 files changed, 1162 insertions(+), 30 deletions(-) create mode 100644 = doc/guides/windows_gsg/build_dpdk.rst create mode 100644 doc/guides/windows_gsg/index.rst create mode 100644 do= c/guides/windows_gsg/intro.rst create mode 100644 kernel/windows/meson.bui= ld create mode 100644 lib/librte_eal/rte_eal_exports.def create mode 100644 lib/librte_eal/windows/eal/eal.c create mode 100644 li= b/librte_eal/windows/eal/eal_debug.c create mode 100644 lib/librte_eal/windows/eal/eal_lcore.c create mode 100644 lib/librte_eal/windows/eal/eal_thread.c create mode 100644 lib/librte_eal/windows/eal/include/fnmatch.h create mode 100644 lib/librte_eal/windows/eal/include/pthread.h create mode 100644 lib/librte_eal/windows/eal/include/regex.h create mode 100644 lib/librte_eal/windows/eal/include/rte_windows.h create mode 100644 lib/librte_eal/windows/eal/include/sched.h create mode 100644 lib/librte_eal/windows/eal/include/sys/queue.h create mode 100644 lib/librte_eal/windows/eal/include/unistd.h create mode 100644 lib/librte_eal/windows/eal/meson.build create mode 100644 lib/librte_kvargs/rte_kvargs_exports.def -- 2.17.1.windows.2