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 CEC75A00C3; Fri, 25 Mar 2022 14:25:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D63140687; Fri, 25 Mar 2022 14:25:55 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2084.outbound.protection.outlook.com [40.107.236.84]) by mails.dpdk.org (Postfix) with ESMTP id 918F140140 for ; Fri, 25 Mar 2022 14:25:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UoaSK4ykhC+YkqPyovHrhIzevNRUKICNcALR+BNAGBM78LmO5Sd/t0MAV9TRroNYwlmpFzhhP//QkrGml0UBVVSsi0LjDjFjEw4Vr6pYT9D0XMvc2rRHlcjaiLAbyUbX4rc2NDGuLjfwAjAzhjSt/d5Rc8uj3jgINedNPWWnCbxprqdK1FMlZBPlB6Ccl5zOV4R2PsIlck01KtYegzf7q0ULH4cSGrJTPJw3UmnCdZReXL13aNDM1IkATdyrtYEVLSsjhX2wKYYmNsIG6k1pTwRIwnn6gzdm5phUH9MVM7kVRk2sd7oIUV8hNBgeZGsADFA4NrhtxNZJ1vEhppjYHw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=O0mwlt4bRztbRHcgZwMk1+L8CN5TPYZMmZQcsgMRNMA=; b=ob08B5mH7tsJJQr4HjE8KjrdITZvMURnwG6v6wjMasOYXudXcJBLUzTp3YgSGNHQC1ijyzd8fRzPwVrxcwmf/KuZpJFrbQfEjQdjGVQy1qitoODwtwpBz8xxc1DgThF9K/vXB+qpSCETAaC/vdfqhJfvEZ1I+WuDbq8Kmx97E+THAB2ZzSXI2NleZeyys/kLDBeZmr3eE76SU1o1NSnvAB05wUHym8ZriLznMY3ViEt4e05c79XkIRGmjABDbXk9ZhFfm2HmDPUovMNbflKxf0zltLoj4PJzYIO71d703xKk+lmY5yiLhnF8lob8wl2rWkElYPP6og6V7EZ4vYqdwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O0mwlt4bRztbRHcgZwMk1+L8CN5TPYZMmZQcsgMRNMA=; b=ewjmrKyNAj3hiVlrWu1qSeu9OQXXOgwV5l54c/pYllg52l8Z2wmvwJgJGx2Zr1YoTVOiQALoumAC55URLmAAy0vvw7jAD0QSBRZxhDU8idFZAw1YO80rc0diDaesjGDcedbCz6Gf9BOJf/JDoBYmAi62TCT9acHj2Vcm5b8tMs7aTvj/l9jAkUfTEgjRv1JcD7FNKdOWqruyVNRjzARZXW3utgJq2Trd1vkW27KDbI7RbfNjYuk9znGdBBlV7fLBKXjGrIYBaCwPVNeW5HYEzyzsg9tBk7VDoeC3afwPwtJidqlK4ZWEwUdRr2KMQvc7fpjtK8NtDrTqft2X6LwjpQ== Received: from BL1PR12MB5945.namprd12.prod.outlook.com (2603:10b6:208:398::14) by CH2PR12MB4182.namprd12.prod.outlook.com (2603:10b6:610:ae::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Fri, 25 Mar 2022 13:25:51 +0000 Received: from BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::6915:ed47:de2d:1483]) by BL1PR12MB5945.namprd12.prod.outlook.com ([fe80::6915:ed47:de2d:1483%8]) with mapi id 15.20.5081.022; Fri, 25 Mar 2022 13:25:51 +0000 From: Dmitry Kozlyuk To: Tarun Badnora CC: "dev@dpdk.org" , Anurag Berdia , Omar Cardona , Dmitry Kozlyuk , Daniel Havey , Tyler Retzlaff Subject: RE: DPDK for Windows with MSVC compiler Thread-Topic: DPDK for Windows with MSVC compiler Thread-Index: Adg9B0xTgR4LS7RRQ/S9mgO9p5/6IgA3FwYAACquPNAAbnU6EA== Date: Fri, 25 Mar 2022 13:25:51 +0000 Message-ID: References: <20220322145500.4716ccca@sovereign> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c68d8392-5071-4a00-f1de-08da0e62fb89 x-ms-traffictypediagnostic: CH2PR12MB4182:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Az7QUe7ShLoxAjVj68+b0IdZk/hokZDhgmBHLd7PGDX540CiGuiuY5Yzd4Ty54cXN/Iw6gWbdI9+7PhaawwjCjV4xIjJkk0Rfa3qVEty6/n2Ys0b9vTTk02+oXNuKOV26gkhmoh4cpntYpSrz8rcw5rjql8cZibt5Per4IEGVWBYOr/pkXT6x5aH1e5v0dVoU/n194U4DTs50RsGfPF1+Ic2p19t6gTmP50JinkmAexPoVJ71iUwKBHq7CT5bFdt/rhbGloCMh670kD41pwwNXArnQBSpvhPOXEtfxH6PAE22xby+l7XkkJetH+VFm+V6VVUQvFKAEDBuygIHtmG7xvnBWloQhw4/u1+KAR98oxHBvWdoB97TSbk8gpYfwlkd35lglunTnE4tnYHf9+sr0b8yyxHyExLfSV+1gMpN/mSsfBqyTiiOdrTsNo1CeE+3AGOSePA/8GIQNWX2tQiOY1OEBWRFvcAK1pJMXBoA+a2VnQY/cGEXiVxY87ipJ+6cYW25/ZSlemQ14vCThVM6EWEnqeC5W4KSyBQZIjgcIt4F2KyrMpn/akPPWZdCcyt2kgIFTy29OqYI5bAd/linwrMNutjzNqtECMIYy6P4LW5sMYf37aNBbO7n8jtyjCGdqLx9zLtqFNf4CAWRwrYy2UNb/otw290JEryf/FNxXc44OfEgBtoa3jEUmAlT8VcJop4OWk6swPREs9nyjsi1Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL1PR12MB5945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(122000001)(9686003)(7696005)(6506007)(38070700005)(55016003)(8936002)(4744005)(33656002)(5660300002)(2906002)(52536014)(186003)(26005)(86362001)(64756008)(508600001)(38100700002)(66446008)(71200400001)(8676002)(54906003)(4326008)(66556008)(316002)(6916009)(66476007)(66946007)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Hci+wi9YYmhHAll8aLyf9/yssL/5AtNCwH/Rmhe40JClWYJOL5US04hgmsda?= =?us-ascii?Q?Fuf4cVgq0NGyMVM7unblDFJ3E9pATz7+RKHjzj0raIkSMRZGIydQ+heACOrR?= =?us-ascii?Q?x/GeBvv8JIbw2JtD98biA99ynqsq+yAqA/FWagZb5RET0IZDErdEbFyX+1Mu?= =?us-ascii?Q?XR/FXeUc6gP0biaA/CPafkg1pnCztG4S579B9f8D8sArL0SSbV4TsNEUWQfo?= =?us-ascii?Q?fAL0nJkCmsYLaUGCkAjw+olrMxJDlY3IPeNO0EuHIVNAxH7o7b1a7wLFvpqF?= =?us-ascii?Q?0KegroLCjaaKUOOc/J3y7u8bAKgXx8LJohFRue3WO6pYMQ+9U9dEn67VC+ml?= =?us-ascii?Q?PttN0v7kQJ6DbktSNUPJRc/1qsfbQshrG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qzBgzZRnASdXEcp6fHvwVaC4LmisXfjECoXcXetW6LaF39Jh?= =?us-ascii?Q?Uki8vDqDIPl6lUJrC1WbiiErPPxzzCNMX+uSH4oAC9mVLyVdNcxpBrto3VAr?= =?us-ascii?Q?Dv/FmWe2qxY4qciUG4/C/kHafyoe5D5oDLveQeirYSBcg8opqvanHAkHLnHf?= =?us-ascii?Q?dvUp3HhUwB+eFSnV0irrW510+muXXqXUggaF2mu2Vl39ARBSg4zCi7urKZjR?= =?us-ascii?Q?TH5DCN7PiITdohyGg9cZ4AP8YxbaorELvKgnOqxJB2WP/Ozh7FnNvL8NM+8o?= =?us-ascii?Q?0mfMXwFE/0zyAXMiI6q3BmvKh8sIUtGn6gdpotc4if/Ukc0r58x/j7h+nmfU?= =?us-ascii?Q?r12ElHCsRD2Q17yQ867s91vTCZ8stOlI5RS3HRismxhSp48JjMHPojj9EdD8?= =?us-ascii?Q?5Fxtd7sIi1FQLOmm89k7MZeYX7ZiK07z5STqwMAsYEak3Z3r52tI7sx9y1k3?= =?us-ascii?Q?YiOENil1QQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c68d8392-5071-4a00-f1de-08da0e62fb89 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2022 13:25:51.5282 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZweZ7h/Krdr6Y57j2Y5TNsGz8Zh1vdeYQODbld+7qZRrErPegVl11lqpEnBorxHnOIHAdR7AVBKDZLCzwzHOUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4182 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 > Is there a way to integrate DPDK module, built with clang/mingw, to our > MSVC application ? > I know both are different compilers, but in case if you are aware of a > way/tweak that will be of our help. > OR > If porting our application is the only option available then which > compiler (clang or mingw) is recommended for optimal performance. DPDK headers are incompatible with MSVC due to heavy use of extensions common to GCC, clang, and ICC. DPDK libraries can be linked trivially. If your app cannot be easily recompiled with clang, I think the best way is to use two compilers: compile the module that interfaces DPDK with clang and the rest of the app with MSVC, link DPDK libraries as any other external libraries. Note that DPDK installation on Windows is not fully functional yet: it does not install pthread.h which you can find in lib/eal/windows/include= . +Tyler who might have relevant experience.