From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6CD02A0524; Mon, 27 Jul 2020 10:54:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 543FB1BFF5; Mon, 27 Jul 2020 10:54:36 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2056.outbound.protection.outlook.com [40.107.20.56]) by dpdk.org (Postfix) with ESMTP id EE7A01BFC8 for ; Mon, 27 Jul 2020 10:54:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vvl4yvfifl+CtGpBZgmYlUUbkwqJcb2bT+0UsihuSonJ0jMdDXifXqqTaPwK495vnYLbEbpYAh+w2TrMGl/EP6ks/eDy1l0US5CGD23fy9C6LlZ6c+15UDw+8s7GdGLPhUqCBXvdCunVkDjLz+UrEWvlAgjKs3IeW7J3lEngrmubVa1YmIU3/fuNzcRvqdscPOD9Dr/+ijISO4XhUzuj9FuG+Uinm1oeHTxnJiiTCfHVmabhOOBw3mld9ZEO+WoP7AvdnuhEw8FtP9rTQWBWCgBNczRWFhp7upjwAbwRwR4KHxE4Cr06M+/aJtzvj1ukMnrwT1pmPNNJvVPJioJLaA== 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=ZxOYThSh5RE4UCxq+ou4+0HZl/hQ9sK8ircPzu7E8tk=; b=Tn5meqz41XhwqNOK9EALmnq5orCRcWqNKlCuTXq3wBu5gh92eMGHLu5KoqmTk5zrnlN2sZuaTRItOj2Vz/gfokaYDZB3nbjLVnz4g1SJYqb+ZfRgfLerZu52VO25becxaJPrzP0DeKIAQws02cEksar5znF2lk7jTlu1qN2PByFhLzhzk/usOHCwA0VYungBwoqlBW9NBRUQm52RDPrQd01Bio7wN6aXBnX8pFKjZ/BNb8OxCt8rnOZ99zYWP/sYTvRp2L2HPwoxJYs4TDNCf1jnkJkgE84QkHoIkztKFViAbZO+L4ZFDH8eJmR1W6XBgi6mk6RXRC+ZkbCNeLa/NQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZxOYThSh5RE4UCxq+ou4+0HZl/hQ9sK8ircPzu7E8tk=; b=NRNypINMBqeGZXyj5vYAksdmKIquXmGz98LOUjg+NfVU3csMFD3USWSDfyTCCzGEDf3VOcBbEjhA6PEREYB2K/UcwsMDo1Liunq5mZveq6DContLIWnsuNLI+K+1FPwOtk055qaRiqMxz2Lv2eaX3If5yxloDtVTfjvHvSYv20o= Received: from VI1PR05MB5872.eurprd05.prod.outlook.com (2603:10a6:803:de::17) by VI1PR05MB4621.eurprd05.prod.outlook.com (2603:10a6:802:5f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Mon, 27 Jul 2020 08:54:34 +0000 Received: from VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae]) by VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae%6]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 08:54:34 +0000 From: Fady Bader To: Bruce Richardson CC: Dmitry Kozlyuk , Narcisa Ana Maria Vasile , "dev@dpdk.org" , Thomas Monjalon , Tasnim Bashar , Tal Shnaiderman , Yohad Tor , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "ranjit.menon@intel.com" , "olivier.matz@6wind.com" Thread-Topic: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on Windows Thread-Index: AQHWPx7x7rPDSAUOKEeItJMuKBQIU6jh8fCAgAvxElCAHrBdgIAED9GAgABDqgCAApqmsIAAJpCAgAfAorA= Date: Mon, 27 Jul 2020 08:54:33 +0000 Message-ID: References: <'20200610112326.18576-1-fady@mellanox.com'> <20200610120040.17968-1-fady@mellanox.com> <20200610120040.17968-4-fady@mellanox.com> <20200620222209.6e66adae@sovereign> <20200717222251.GB34951@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20200720192640.2cd0c58e@sovereign> <20200722103043.GA749@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20200722103043.GA749@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [79.182.6.20] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 00fbadb5-a260-49bb-85b3-08d8320aaf04 x-ms-traffictypediagnostic: VI1PR05MB4621: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: COf8G6Mfv79B/U8nwLhOWrafA9LNb7wSDPz9C4qkL4TF80reVJIT3dsjH/Iv34r3bnI74Iw08vO0Nt9Nc6oUm0XIxBMMwTugeiDDSvZm6rwuwgVdIdK9VjY4qqQIHAUXPn22H9JTdAD6vAhfr8MMVaPlMWlSQ6OPiM5WO7H9ZNzvyoQeN0Vqr7FPCeY6hIacnmm6GEHV8vLC0rEHVLW8fIOGv89bAPtdyKjQl1Hwl/U+pnjwjQwbwZajrTou7TLQnpmeBKs2dHxliwQWt1zdda6hChMhOW1fwzGJ17HOajMMfkq33332LmecxyAzAhSmTr/uMiwWiH9F+InDILeZckJBZ7l9WDX6i8kBRjXRQTMIzJY+cBvaozyr2UqoE7Nh4UswtuipmbZaVJgYoCtbsw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR05MB5872.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(8676002)(71200400001)(966005)(4326008)(7696005)(5660300002)(316002)(186003)(54906003)(83380400001)(6506007)(8936002)(52536014)(6916009)(33656002)(478600001)(55016002)(45080400002)(66946007)(86362001)(66556008)(2906002)(64756008)(9686003)(53546011)(76116006)(26005)(66476007)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 6HlKQPrwRtPtkG1F3qMTt/F51CZvaPwvw42SKqKe0dB5Yr5lUptpxZa7YJ6iHXvkZwzAgfU5WTUXC+qK7S5dzJ95PcQew44X+kl3D7rDfo/RMMvheVGcKHcH3gTrUP+sYmJ2fTOZ1IsdHsaTpWvVOlX+kygpElKjJ66VocuhNsvcJsTe6bsW8e7h1BUPP3t3n5qQ82Inon9RtkKNM6hA/Mx+neqfIWwwS4/GPP+vMqUAMLkCDzO7qUa58tFiAOW0G6rbl+7tAx1q0HVZRgKxf0bPwy59Oowq2EjxISzGg9LH9aw+pHb3pDECf3bcPC294CVThy5E5bNzVr+FULytFGX+HMbZmaWP3GaLRXCmUIQz+51P+ZkuyBl6+eh2aPOBsYLUfe9BtA02RR14YonObNyPlMWmxQLQhazJRbuLqi+RcjgsvQmEoeB9eEFUqH0SLnjBgmNdOhtIQa+2phUIqbV5o9j6uEnOeVufYgQ/2Zc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR05MB5872.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00fbadb5-a260-49bb-85b3-08d8320aaf04 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2020 08:54:33.9396 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LKcSXXAhCnv89XMh6Fhlr0Zn0xILLN4Up/rneeU44uIXn9zfrSxOsRBDv/OYKZxw0K+sRdCFypZpHoSkyI7Ajg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4621 Subject: Re: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on 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" > -----Original Message----- > From: Bruce Richardson > Sent: Wednesday, July 22, 2020 1:31 PM > To: Fady Bader > Cc: Dmitry Kozlyuk ; Narcisa Ana Maria Vasile > ; dev@dpdk.org; Thomas Monjalon > ; Tasnim Bashar ; Tal > Shnaiderman ; Yohad Tor ; > harini.ramakrishnan@microsoft.com; ocardona@microsoft.com; > ranjit.menon@intel.com; olivier.matz@6wind.com > Subject: Re: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on > Windows >=20 > On Wed, Jul 22, 2020 at 10:20:48AM +0000, Fady Bader wrote: > > > > > > > -----Original Message----- > > > From: Dmitry Kozlyuk > > > Sent: Monday, July 20, 2020 7:27 PM > > > To: Fady Bader > > > Cc: Narcisa Ana Maria Vasile ; > > > dev@dpdk.org; Thomas Monjalon ; Tasnim Bashar > > > ; Tal Shnaiderman ; Yohad > > > Tor ; harini.ramakrishnan@microsoft.com; > > > ocardona@microsoft.com; anand.rawat@intel.com; > > > ranjit.menon@intel.com; olivier.matz@6wind.com > > > Subject: Re: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build > > > on Windows > > > > > > On Mon, 20 Jul 2020 12:54:08 +0000, Fady Bader wrote: > > > [snip] > > > > > Getting the same error with a setup similar to Dmitry's. My setup= : > > > > > SDK 10.0.18362, > > > > > > > > I'm sending v4 patch that should resolve this. > > > > > > > > > clang 9.0.0. What version of clang are you using on your system? > > > > > You can try installing LLVM 9.0.0 from > > > > > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F= % > > > > > 2Fre > > > > > leases.ll > > > > > > > > > vm.org%2Fdownload.html&data=3D02%7C01%7Cfady%40mellanox.com%7C0b > > > > > > > > > 29fed755494b55361d08d82a9ff2b4%7Ca652971c7d2e4d9ba6a4d149256f461b%7C > > > > > 0 > > > > > > > > > %7C0%7C637306213753996879&sdata=3D5lPQtvt8EO7q8OAYN60J8rIdYdNJHjsS > > > > > Pp%2B6P9PL3N0%3D&reserved=3D0 > > > > > > > > Thanks for the link, even with clang and SDK version same as yours > > > > and Dmitry's I'm still passing compilation and not getting the erro= r > described. > > > > That's because the _m_prefetchw function that is defined in > > > > Clang's prfchwintrin.h is an intrinsic function corresponding to > > > > the instruction PREFETCHW that is part of the instruction set > > > > extension 3DNOW, my processor doesn't support this instruction set > > > > extension, so my > > > compiler isn't reaching the part where it defines _m_prefetchw. > > > > I think your processor does support the 3DNOW instruction set > > > > extension and that why you are reaching this part and I'm not. > > > > > > You can try building DPDK for a machine with RDSEED like so: > > > > > > meson -Dmachine=3Dbroadwell -Dexamples=3Dhelloworld build > > > > Even with this option I still don't get the error. With this option > > RDSEED is enabled but the reason I'm not getting the error is that > > 3DNOW is not supported by my machine and its disabled. > > Do you know of such way that I can enable instruction set extenuations > > for the project compilation? > > > The prefetchw should be available for broadwell and later machine types, = even > without 3dnow - which AFAIK is unsupported by all modern x86 processors. = I am > using a machine of type "skylake-avx512" (using the compiler name for it!= ), and > proc/cpuinfo shows "3dnowprefetch" in the supported CPU flags. >=20 > Regards, > /Bruce Thanks now its clear.