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 22DCBA05D3 for ; Tue, 26 Mar 2019 23:44:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CF3D1B3FD; Tue, 26 Mar 2019 23:44:02 +0100 (CET) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740115.outbound.protection.outlook.com [40.107.74.115]) by dpdk.org (Postfix) with ESMTP id 9616D1B3D7 for ; Tue, 26 Mar 2019 23:44:00 +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=Y/s/JpjeESl50VWwcISFEbfX+o28BlMJ1yMyoVrHkOs=; b=Zr9b8APaSles1FsdLv8yjHzlY0lqTjBruV64RsiYfgPDoMr/DkHGkOFjx47Eweq0bpEA9UL45mUM0w2cFBsd8NgIjUcjixdSuR8qNh2MHi4xqD7+FwwkYRHvdjHcZJdhoByJXgfTDU4JIj9M8RVoLLW/T69FVXMaN5daVd8uj7w= Received: from DM5PR2101MB0871.namprd21.prod.outlook.com (10.167.110.167) by DM5PR2101MB0808.namprd21.prod.outlook.com (10.167.110.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.6; Tue, 26 Mar 2019 22:43:58 +0000 Received: from DM5PR2101MB0871.namprd21.prod.outlook.com ([fe80::3418:4261:ef8b:d68a]) by DM5PR2101MB0871.namprd21.prod.outlook.com ([fe80::3418:4261:ef8b:d68a%3]) with mapi id 15.20.1771.006; Tue, 26 Mar 2019 22:43:58 +0000 From: Omar Cardona 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" , Harini Ramakrishnan Thread-Topic: [dpdk-dev] [PATCH v5 0/8] HelloWorld example for windows Thread-Index: AQHU45mKsf3RIPDbWEeMcuyM+BUeeqYegRmQgAABmcA= Date: Tue, 26 Mar 2019 22:43:58 +0000 Message-ID: References: <20190306041634.12976-1-anand.rawat@intel.com> <20190326060238.9884-1-anand.rawat@intel.com> In-Reply-To: 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-26T22:35:06.1492661Z; 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=60d3ac2f-18cb-4999-a121-f8f7fcaec18e; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic x-originating-ip: [2001:4898:80e8:9:9dac:2345:4fa1:8fa2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 396378c6-2df2-4d9d-a513-08d6b23c8933 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DM5PR2101MB0808; x-ms-traffictypediagnostic: DM5PR2101MB0808: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ocardona@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)(366004)(396003)(136003)(346002)(376002)(39860400002)(189003)(199004)(13464003)(305945005)(10090500001)(7736002)(316002)(68736007)(2501003)(6116002)(476003)(486006)(22452003)(446003)(71200400001)(97736004)(71190400001)(46003)(33656002)(256004)(76176011)(6506007)(53546011)(102836004)(186003)(11346002)(74316002)(8676002)(54906003)(25786009)(8990500004)(478600001)(7696005)(14454004)(5660300002)(99286004)(1730700003)(53936002)(6436002)(55016002)(9686003)(4326008)(6246003)(6916009)(10290500003)(229853002)(2906002)(86612001)(5640700003)(106356001)(8936002)(86362001)(105586002)(81166006)(81156014)(52536014)(2351001)(107886003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0808; H:DM5PR2101MB0871.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: EDpM0y169dTWOTBoGbk7gQ3T4VUpaL0Eo7Itdjun9ziKlZxnFo+OPTj5/TeWBzgB2Pk1ysEH9iygaS8JaN/gMbwSsHaNsfvquWXXN5En33A1AaF+s3cC1J/eaWJO3erOUzFFbRpzyKyX7BRBk1nhimcj+tyQMOvyENHXhDSQGKpAHR0YTkoxVNd3/NLoCqz3kolyP+IHCklAhsEI1YBT33LCMDoku1mM2quN3Mlo1JEuKgiBh75vnSV+Nw6x0p0jwQPHX4ruD1PVojsIr6CHjdvEYKLC1p98EKTHg/pVSn7tLe1vJE4tO6ULaBVMt1XQG3UG5/vc6Uwt8UiBRZHpZCXLFB+qLH2pO38cTcz1B7nnLledosUwwlWBXJneor0kSBrikXfGkgYKlFAYAi2vWN00tyURW+RITtub3AuUx6A= 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: 396378c6-2df2-4d9d-a513-08d6b23c8933 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 22:43:58.7629 (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: DM5PR2101MB0808 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: <20190326224358.M__3kG7lNH0mBJZltUNEYgiS7HP0G9SqZZomHgK2xww@z> Acked-by: Omar Cardona -----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