From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B69AA0561; Thu, 4 Mar 2021 07:46:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1232440684; Thu, 4 Mar 2021 07:46:42 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2138.outbound.protection.outlook.com [40.107.94.138]) by mails.dpdk.org (Postfix) with ESMTP id C8DF640147 for ; Thu, 4 Mar 2021 07:46:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=beY2MtUiCNNMKqgKPCPcGj3DUrwwmy+z7KnWkm//jwmyr2qTfgRjeYRAVA/gP8TvA/GbCOb7PAztIeHVat76fy5j4n8XvOqjn8xxWfPTHr4lfKD9DN3BJpi9WRDO38MBKdUN5wWkol+/J+8QKmhJtk9Tho/tPo9SPkI8cRXquOj9yJuoHuT05Y/SntAEnGcTnxHrUATW2PbyFUClsuOOFU26IowZiqaiTolv2pscpVg+FRgp65ZVtvSZrAgJRufrppdCb7MuMXMwTPJFr8/BMiGFCD6IJLmKKHyAQAY0FZbZI2+J6v9iwEPAVtgoRMHRpMd7V/0PlfIhUIIJkgE0OA== 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=mAlBhiSsZiq419XYyPN6bZk+I4s9aZ9K3khsjOlDHr4=; b=NXui20kfowv+rovGXPw6JY4Bt9HJ02xMdsG/nxA1G/jg8Oy92M0/xjdF5yZH2QKbMXUtN8xvOzKPPSH1Ldk+b/eFYsj/WNodHYwzyIUAYz695MXRTqJnjvksHzofy4KOVJ1upamWNcenkfOMCT2SlSlpHT0GFwklFx1wvby7tQoA27p8f8sMOxQ6+oAojEINzoObN11FpoxlQUM4wW478PWwXIYEj74H7YQmvfQYv5dt3+Oi0Co0GsYpS0V6CIXizKXsX4nbDjZ5LrjFjSVhPuUcAnKt2icvkbte8rT1HqwTB45XLeBYd13yTsRQuzbgiVKQL4X+pffxcFvkRTA+BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mAlBhiSsZiq419XYyPN6bZk+I4s9aZ9K3khsjOlDHr4=; b=Y/FjyY+1wf8R5RLmiNWA0JoN6ZWxVs8cmpcHeUzxx/fdFD8oDP1V/zWJCCSDfkfoxHs6ktRV4WXSyfI1Vks3Eo6vH6cOVH74qOfbExooX72X54KvKIkySLUFcdR6LjpC6jw9Z7SGfj1jNEqxRaXKZDdSNVIGwzCiJO7g6MkAoAs= Received: from MW4PR21MB1954.namprd21.prod.outlook.com (2603:10b6:303:7d::5) by MW2PR2101MB1098.namprd21.prod.outlook.com (2603:10b6:302:a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.11; Thu, 4 Mar 2021 06:46:35 +0000 Received: from MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af]) by MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af%8]) with mapi id 15.20.3933.007; Thu, 4 Mar 2021 06:46:35 +0000 From: Khoa To To: Dmitry Kozlyuk , "dev@dpdk.org" CC: Tal Shnaiderman , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , "Kadam, Pallavi" , Tyler Retzlaff , Nick Connolly Thread-Topic: [EXTERNAL] [dpdk-dev] [PATCH v3 0/7] eal/windows: do not expose POSIX symbols Thread-Index: AQHXCF3XI0dTWjJ2h0+luBOc9VO5P6pzczfA Date: Thu, 4 Mar 2021 06:46:34 +0000 Message-ID: References: <20210221012831.14643-1-dmitry.kozliuk@gmail.com> <20210221142819.6769-1-dmitry.kozliuk@gmail.com> In-Reply-To: <20210221142819.6769-1-dmitry.kozliuk@gmail.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_ActionId=7ff2a3b1-8736-4049-9c6c-119243cc1f48; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-03-04T06:45:33Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [67.170.72.207] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1780e004-fad6-49fb-d2df-08d8ded940dd x-ms-traffictypediagnostic: MW2PR2101MB1098: x-ms-exchange-transport-forked: True x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8xNCZSAtlTfkIAsUnGhmdCtYdqQBw5R8xPI4qP4Zmbn6H6IHOdNy/MImH1dGMhaGQYoK8c/Ct9mkrhNvAki4Sq+nQaR5LjOiL+QFdTDSZjgqYuia3CFnJsYm4fZ1VV2BqDei0RU/qzymUrbTssytcOaKOEyCXQldsEzH87rToo4Q+CHv77R5nKLoS6WRR7hbsEEXzWShhA5k7ul95IaRaBFAwSqNFittzFQ9OECQu95ixjcGlJzSGa0SzyESCw3N0l+gl6i374JDpVDZYqbmO8BINcp2KkC317eOUBnkZNTOwfmHl8VGupg9srEWmwKchAGeuMHOPtLSVqzu2dS3whFAqnnL8/9M5WfZTdCmd0Ja9cqpwe39fvtnOeoCwykj4QfbJo1xjUCcU6jfk7idXKpaAr8HArmFTw4HBPGrdRhP95VVQdPkTEBkw1QZrMNjR9MDAdrEfFOZ2P3XLztYOA6oBeKCy17QISSSN4GSN58qKfYVsl6kQjhBKQLFUKo2BRgo9Eg6yYMtf4E2Pujd3aHj5sVsAgRwZ8uv7BW3bTPJeonIoGxHa9tGa7UYZ6d0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR21MB1954.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(366004)(346002)(83380400001)(5660300002)(26005)(33656002)(71200400001)(86362001)(76116006)(478600001)(4326008)(66946007)(8936002)(64756008)(66476007)(186003)(66556008)(8676002)(8990500004)(4744005)(2906002)(6506007)(82950400001)(66446008)(9686003)(82960400001)(7696005)(55016002)(52536014)(10290500003)(54906003)(316002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?cOVZi6jXuTy6MXQ4WKRHem/wUnLQ835YHwxwnsdTyOpUD8ntitY+aQFl+SSy?= =?us-ascii?Q?qIs0rf14uBgfVCBoZ4m+kvi0zq7K+CV5i9S98EzPeNiNMoqYmUX+mb5t85ed?= =?us-ascii?Q?kBd6d9NIVqem32z9GiXZJhrD+KzsO8Pvypntx8YRH17ZvxqXFtfe17LITaxa?= =?us-ascii?Q?L6j1lvkIQ9DrySVbsLvsAR0LWPhXBBS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?Q?vqxbNCQRTKIRlS/cj6TLGMwC2wjMOtfa4SsUBJUJjUIb8dCrVsz+oa14iZmA?= =?us-ascii?Q?irAXL+wqPyI0iZroDsiuqgPkaKjdvJ/hAabEHJFL00one/NhpqyyQOGl0UfL?= =?us-ascii?Q?pmWtyE2mEmCB1dH1p0IowvL7mDIw5sL32pU5APKBM5ynrx+bvf07xiY9PJ+I?= =?us-ascii?Q?SdUpkTytgo/BV0saaAPFg6CkvqdiOLBIyUuah/b0NMGurFpRAdBa/Q4xFpwS?= =?us-ascii?Q?dFUPQeaY7FKM1nfDz0K6iPc6?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR21MB1954.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1780e004-fad6-49fb-d2df-08d8ded940dd X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2021 06:46:34.7815 (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-CrossTenant-userprincipalname: 30Ozp5mhqheXNK6tOXqE/MpHRS95kfOHx4WXqAE/CwC9ipqHvGAatT0CEb7PpJNJoybLkg7tE8iwXynwRmuPCtPfSlyc3tKQjkDpMBhQ1ro= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1098 Subject: Re: [dpdk-dev] [EXTERNAL] [PATCH v3 0/7] eal/windows: do not expose POSIX symbols 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" > On Windows, rte_os.h contains a small POSIX compatibility set of > functions and macros. Exposing it from EAL can break consumer own POSIX > compatibility layer and is against standards in general. >=20 > First define required wrappers, then fix POSIX dependencies in > Windows-enabled libraries and drivers, then eliminate POSIX symbols from > Windows EAL API. Commits are arranged so that they all compile and are > limited in scope; patches 5, 6, 7 can be squashed if needed. >=20 > No "Fixes" tags, because it's really an enhancement, > preventing issues rather then solving direct ones. >=20 > v3: > * Fix indentation in 3/7 (Tal Shnaiderman). > * Fix build failures in 6/7 and 7/7 (Tal Shnaiderman). > v2: > * Fix compilation issues in 3/7 and 6/7 (self). >=20 Acked-by: Khoa To