From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 852F0A0679
	for <public@inbox.dpdk.org>; Thu, 28 Mar 2019 20:28:43 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 4709A2C19;
	Thu, 28 Mar 2019 20:28:43 +0100 (CET)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com
 (mail-eopbgr790091.outbound.protection.outlook.com [40.107.79.91])
 by dpdk.org (Postfix) with ESMTP id 18C291DB8
 for <dev@dpdk.org>; Thu, 28 Mar 2019 20:28:41 +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=8c8BzTX+WXvxTgMdSl06HIdmzu9SPSwZ6g0/CrLLr7I=;
 b=dAIUTCSnYh1YCN/XIcaKo6PkouJyFOypEuvzdnyIWKBZyWOdzTQw/ImbfA2tSCZ3M6x2pkYtZHSbWynY0/r1ci4TNofG3vXd5jrlezfzssnki5NbNfafOxV3KUouu6GxxqMTCR+Z1+jbOFFU45lb92C5VTm35oqd87Rb1pA7JC4=
ARC-Seal: i=1; a=rsa-sha256; s=testarcselector01; d=microsoft.com; cv=none;
 b=hf3nn6tOUlPeebmjKlKue1+6lh3/gEf+pzXq+D7bTX2vzbCZWaf/YPqfpkAs5W4uSjbGPk6tmbEuOdFxrzn/w6c87iJ3OZLeBY2tpupDksNJDYfMu/iw3m6m7J8Mr9+Ibci8egAKg4n4IPHxkmdJ9Auvy8jAiGaeLkkBv4VK18c=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=testarcselector01;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=8c8BzTX+WXvxTgMdSl06HIdmzu9SPSwZ6g0/CrLLr7I=;
 b=bf1wH7+3hqBF8YdQ9zjJTLIQy0BB7y0wz+ocw5DJy/jR+B2W7StQ4HXTbOW3mi5uhHSIdKAb52PPD8YRFLqe82SLg/b/P5WrJ6QF8w7b9y1/b6IQYmBwiXY1/nc4onMA35Rd70dto1SBSpJI6mFrmwJ8styWzWDiqF1qRI1B+Vo=
ARC-Authentication-Results: =?us-ascii?Q?i=3D1; _test.office365.com_1;
 =0D=0A=09=09dmarc=3Dnone_action?=
 =?us-ascii?Q?=3Dnone_header.from=3Dmicrosoft.com;=0D=0A=09=09arc=3Dnone?=
Received: from MWHPR21MB0638.namprd21.prod.outlook.com (10.175.141.139) by
 MWHPR21MB0768.namprd21.prod.outlook.com (10.173.51.22) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id
 15.20.1771.2; Thu, 28 Mar 2019 19:28:39 +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; Thu, 28 Mar 2019
 19:28:39 +0000
From: Harini Ramakrishnan <Harini.Ramakrishnan@microsoft.com>
To: Anand Rawat <anand.rawat@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
CC: "pallavi.kadam@intel.com" <pallavi.kadam@intel.com>,
 "ranjit.menon@intel.com" <ranjit.menon@intel.com>, "jeffrey.b.shaw@intel.com"
 <jeffrey.b.shaw@intel.com>, "bruce.richardson@intel.com"
 <bruce.richardson@intel.com>, "thomas@monjalon.net" <thomas@monjalon.net>
Thread-Topic: [dpdk-dev] [PATCH v6 0/8] HelloWorld example for windows
Thread-Index: AQHU5Qz/GetkEu2dFEKIw/UHW/+1qqYhbqPA
Date: Thu, 28 Mar 2019 19:28:39 +0000
Message-ID:
 <MWHPR21MB06383BB66D6E51EEF8EB5CA9EF590@MWHPR21MB0638.namprd21.prod.outlook.com>
References: <20190306041634.12976-1-anand.rawat@intel.com>
 <20190328022115.4660-1-anand.rawat@intel.com>
In-Reply-To: <20190328022115.4660-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-28T19:28:37.5421706Z;
 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=555f5e82-8d61-4295-9499-4d4b203915dd;
 MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic
x-originating-ip: [2001:4898:80e8:a:84e2:1334:627:d48e]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9367b760-6d44-4ef3-5f1c-08d6b3b394d5
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:MWHPR21MB0768; 
x-ms-traffictypediagnostic: MWHPR21MB0768:
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=Harini.Ramakrishnan@microsoft.com; 
x-microsoft-antispam-prvs: <MWHPR21MB07689CC19DEBA29C549A48A3EF590@MWHPR21MB0768.namprd21.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3826;
x-forefront-prvs: 0990C54589
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(346002)(366004)(136003)(396003)(39860400002)(376002)(189003)(199004)(13464003)(6116002)(186003)(25786009)(102836004)(6506007)(256004)(8936002)(68736007)(105586002)(53546011)(4326008)(71190400001)(99286004)(486006)(2906002)(71200400001)(476003)(81166006)(11346002)(446003)(74316002)(46003)(9686003)(33656002)(305945005)(7736002)(8676002)(22452003)(10090500001)(86612001)(54906003)(110136005)(8990500004)(55016002)(316002)(2501003)(81156014)(53936002)(76176011)(7696005)(6436002)(5660300002)(52536014)(10290500003)(72206003)(14454004)(97736004)(229853002)(106356001)(6246003)(86362001)(478600001);
 DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0768;
 H:MWHPR21MB0638.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: d5XrKw/0lWp2lcq7l7YTOw3rl+mZcriX8O7c1a1uUYu4vZ+ThLC8jfNjBTB02sNPhrejaXBB0AcLO1vBNsYEg4GJBeCNtv6DQ+WZ0sp0wW/qx8B5I4EPCjTyPJ7gxZf3dyqW7ebgZhz20Q/Ukm6YDw/DBtvnHQ4VCRGjjfEt/oB/S10U5dcDOkiDufcH+bLbm32zpNzRGrSz44xyGov+U9dm/nKKZduLWfFkfVk2b4LYEnqcNawTpHMPBkTFuD8fJMTbtQxFyhajU7gMwW859Q+/XJ0vOODRrybYHPnEcYLhAKPuSJhaPICWJWPHvBQ9B4k2THgGsrSLSYhFT6LpY0D9Q4/UNIBtNfkQX16FgF6r6hIvM7ZYfDB+Jr6/nEv2ZN8artMXJXoNmr1s3sSdud0psXBdaQF0CwGphq2qhpQ=
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: 9367b760-6d44-4ef3-5f1c-08d6b3b394d5
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 19:28:39.6292 (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: MWHPR21MB0768
Subject: Re: [dpdk-dev] [PATCH v6 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Message-ID: <20190328192839.VrJ7pBY0l3e0u3qObW2_K8FOiDv1LsUi9I1dRGbQSJ0@z>

Acked-by: Harini Ramakrishnan <harini.ramakrishnan@microsoft.com>

-----Original Message-----
From: dev <dev-bounces@dpdk.org> On Behalf Of Anand Rawat
Sent: Wednesday, March 27, 2019 7:21 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 v6 0/8] HelloWorld example for windows

Includes Windows-specific EAL changes and meson changes to build the code o=
n windows.

v6 Changes:
1. Introduced rte_os.h for esstential os specific macros and typedefs.
2. Fixed commit typos and 'new line required at eof' issues.

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 3/8 contains module definition files and meson changes required to b=
uild shared libraries on windows. These may be removed in the future releas=
es to be generated from the existing .map files.

*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 os specifics
  build: add module definition file for windows
  eal: sys/queue.h implementation for windows
  eal: add headers for compatibility with windows
  eal: add minimum viable code for eal on windows
  doc: add documentation 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    |   5 +-
 .../common/include/rte_string_fns.h           |   4 +-
 lib/librte_eal/common/meson.build             |  14 +-
 .../freebsd/eal/include/exec-env/rte_os.h     |  10 +
 .../linux/eal/include/exec-env/rte_os.h       |   8 +
 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 +++++++++
 .../windows/eal/include/exec-env/fnmatch.h    |  43 +++
 .../windows/eal/include/exec-env/pthread.h    |  22 ++
 .../windows/eal/include/exec-env/regex.h      |  85 +++++
 .../windows/eal/include/exec-env/rte_os.h     |  50 +++
 .../windows/eal/include/exec-env/sched.h      |  41 +++
 .../windows/eal/include/exec-env/unistd.h     |   8 +
 .../windows/eal/include/sys/queue.h           | 320 ++++++++++++++++++
 lib/librte_eal/windows/eal/meson.build        |  12 +
 lib/librte_kvargs/rte_kvargs_exports.def      |   7 +
 lib/meson.build                               |  23 +-
 33 files changed, 1176 insertions(+), 29 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/freebsd/eal/include/exec-env/rte_os.h
 create mode 100644 lib/librte_eal/linux/eal/include/exec-env/rte_os.h
 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/exec-env/fnmatch.h
 create mode 100644 lib/librte_eal/windows/eal/include/exec-env/pthread.h
 create mode 100644 lib/librte_eal/windows/eal/include/exec-env/regex.h
 create mode 100644 lib/librte_eal/windows/eal/include/exec-env/rte_os.h
 create mode 100644 lib/librte_eal/windows/eal/include/exec-env/sched.h
 create mode 100644 lib/librte_eal/windows/eal/include/exec-env/unistd.h
 create mode 100644 lib/librte_eal/windows/eal/include/sys/queue.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