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 B8CA4A0A0B for ; Tue, 2 Feb 2021 15:31:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADC6E240319; Tue, 2 Feb 2021 15:31:42 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 03466240307; Tue, 2 Feb 2021 15:31:39 +0100 (CET) IronPort-SDR: 08QiIUVAcRqc7p1IEHGWiOBaWzx5hnuACD04W6f6orQKcc4etv80kDDvGvhAf7PMtrV7zPZpLk 06mWFjTujNZg== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="242374880" X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="242374880" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 06:31:38 -0800 IronPort-SDR: poiGBJrP7xKDrOz1wH9U9q0mRknomnGOs5J/Q0LsJghv4L+nH4rPmM2ERkQG8N+wXqyl0ooc+8 rl1A2AyWjrGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="507342901" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga004.jf.intel.com with ESMTP; 02 Feb 2021 06:31:38 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 2 Feb 2021 06:31:37 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 2 Feb 2021 06:31:37 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 2 Feb 2021 06:31:37 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 2 Feb 2021 06:31:37 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JE7AGQAU8kx0VHQ72YZ0ngsvz6bb8j/qb3flA97NV0Rqy5EAWFzAXYVT2bYHyMeeqrFSB69L/dGbFbz5KwbwOvNA3OG4m0DqIcVj5FBw8nsLX1t0WzmjmEcE5vltwq5XqTdkcC1HSbSgIHlBrCKd0qdpAeI+eJatL3Ebdp6cdrG6ATml5JMbEbk7Xp97/9t8GP6pVURH1n5Ak5nHhdMlDEwFHyNX0Di/TaOV8oK/Yd2lRpHvDoxipRHwJE0EOcHNCCB+n3IM24MbyXssftecEHHiFMEQIO0eCVL2xnMC4Uq1DCCbXmjtX5oT9JcKVhLmZ7U5j5MYFi+iKaFLM17z8A== 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=RguwsHPPzbC0FqFrgeUYCMeaLHZwwKs6eikXDCJ4850=; b=N6SWhauL2DYMjpi396sib6Yc7VMNkhJ4OPhO+DpNEECN48SzKukNnVg+TjOWzcCXxL/5ltfkPJoJncU0ei/2AhLJ543QhfZonUje+jzLIzAS1uN5udgXH+kk1d2gsf3gDTmNqk/Txx4BmUYLNZb1Hak3iY9rTA92oMk60tXknXFCHWrU5CBNkES4uqPDMRpqkfAvvmqLo8Y/eIEXdItgJrePHGahe0HrTXXSNbUtVo/uZ/IqBVNZ5CFkD/8f8alzr9CdfE795n8IFSnfeNAY7onXad3CXCroJQF3lfctzUgi1YOJ6xeCVHur7jXj94DvhpPJSXX04c2vyC00O+FLVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RguwsHPPzbC0FqFrgeUYCMeaLHZwwKs6eikXDCJ4850=; b=zLWo2bWaNgIn7FqV/zIpU9LQcya1DBYSVu65vJ7WdD6c+sNvFG/Wak/DxELk1MVUUD7X4RS7KoIwbV6N7FLl4IxhRjrq4vcIwGvZmwSoUcwhuMz7iKATMB433Eng0qhrXssSTS5UZhoKVUuVgiwQMDTo4KCrnuT06skpWToP8yU= Received: from BYAPR11MB2614.namprd11.prod.outlook.com (2603:10b6:a02:cc::27) by BY5PR11MB4193.namprd11.prod.outlook.com (2603:10b6:a03:1c8::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.25; Tue, 2 Feb 2021 14:31:35 +0000 Received: from BYAPR11MB2614.namprd11.prod.outlook.com ([fe80::cdb1:2a0c:5860:2020]) by BYAPR11MB2614.namprd11.prod.outlook.com ([fe80::cdb1:2a0c:5860:2020%7]) with mapi id 15.20.3805.019; Tue, 2 Feb 2021 14:31:35 +0000 From: "Rong, Leyi" To: Tal Shnaiderman , "Richardson, Bruce" CC: "david.marchand@redhat.com" , "Zhang, Qi Z" , "Yigit, Ferruh" , NBU-Contact-Thomas Monjalon , "Kadam, Pallavi" , "Menon, Ranjit" , "Xing, Beilei" , "aconole@redhat.com" , "dev@dpdk.org" , "ci@dpdk.org" Thread-Topic: [PATCH] net/i40e: disable AVX512 with MinGW Thread-Index: AQHW+UWfF4nPnkE9UUui+rZ06viYJqpEqLsAgAA/9ACAAAP6AA== Date: Tue, 2 Feb 2021 14:31:35 +0000 Message-ID: References: <20210202090639.83164-1-leyi.rong@intel.com> <20210202102450.GA139@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 19eae3d0-1637-41ee-985e-08d8c7873e96 x-ms-traffictypediagnostic: BY5PR11MB4193: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PgkxMTKCPKrlIyS5LFBtQO9dq54+I0QbcbDbMPxgqvAkgv18+eqSDCb2ls+Xox9tid0N9uiVYb7yhdKKQK3KKGp9+SDYKjaZ/gpY8r6s4eaV9HFwt0LQekZBCQ+XsuwELv34THXiYNnzPuvMN2Bw8gJ+6O5fBgCSgwPJ5xBgOeCVerjoNG0MpZkmz9tEJ1fjEf8Fm6CrrdA3Tmfm/QUS9kSu23RSFGJ5SnxYuU3WWlcWmMM9pKAeS4Wm0NM02fKvl/a+Hp+w68RaFUBPLm52k8uW4ES7wWA5axtCKbtAdd/Tfj+sMcBWzHxThuGotA2MDs+AyIDnX7bHCv0D///P+Cm46sifKkubQf4NkeA2i44a0ZEQ+nAMfcip4OEFWOZI7t+B3qAHPKHEc06/GjYXf/OfQ0CJo1AkspywBnAbdbqe5ApSPR31+6mseC7gfiGSMWqeM+mqA3p6fFGAwNeJCNuqh3BHw4e0iljLNBUEHE4nCTzOADZLwl64RpySoGoNySAt0v9LBGJN0gOTFF2byuug0wtAQKXeqbh/h+VNXGo3Qx4SCHM3ekxunszNLQB3Kj2DwfwlPmiYcZBx3Y5Ns7zZsxtNs6wUG7IHE8HDaVU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2614.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(366004)(346002)(136003)(376002)(5660300002)(54906003)(316002)(8676002)(9686003)(4326008)(6636002)(110136005)(52536014)(55016002)(186003)(26005)(2906002)(66446008)(83380400001)(33656002)(8936002)(66946007)(64756008)(66556008)(478600001)(66476007)(86362001)(7696005)(71200400001)(6506007)(53546011)(966005)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?L2IuAixOfnLvNVvlTgIrGn1c30+CF8wstEzinQpsqRhw/Ewsl6DtIjSglxfi?= =?us-ascii?Q?AM8Z9AzMyAkHysRegnvJieyQvArIhDscazbMOczqbLMYKFGYaAMghFmGPPU8?= =?us-ascii?Q?5hegU0V/Z+aJK80XVTh4EkDobOb6I3Paysse7K3tr97amOQidUKALBNaoZmL?= =?us-ascii?Q?jtQAIdU9dWzd+qMTZV/uP0mQR56Yq0iIZN56e4wY+uu3qR8/R6CKDSwm2IUE?= =?us-ascii?Q?aFbGlCQ3DF7na0xM25+/pmuPFy1A532/EYHK+Li84EB6hrJLXkRP0j8Uts3y?= =?us-ascii?Q?8mqPGUY1NMCmbH8GyVQJmeLfZKwz89Grmn6L8dRXpMKhi1KjTvEhLcC55dd9?= =?us-ascii?Q?NOPwWhMbGKEmJk1vzyRo10B7xaV37KiNj81dVYZCMFlKCwjfph3ILQPAzTMR?= =?us-ascii?Q?WRTDWGQ+I5OdTk63jgYIth9hgE+NiaXYFYCKIOV4LIbSsKVruF3Arn4d+USl?= =?us-ascii?Q?4iCsenvn64ZG3VqTnSnqj8riuS6P+leFX1XkkFxJOm0d2SVLXhbQ/yg1pteT?= =?us-ascii?Q?+60gH7n7TiF6xVCCvbcNfW9Q0hbFmkfJoTjZ2a//wgv+jQ8nhbg0Dld8Z2lA?= =?us-ascii?Q?3N7HkJTcrEC99h/SMDj86SSZRB81Gp524qwJqbA5L/VI2ziVEA3y6ARnj462?= =?us-ascii?Q?eZdpBbahwjLtPc1FRfIpkX0SWa4IxZEChKksS0MvJhdI4LTCrJQBeVwq3HSK?= =?us-ascii?Q?naXxB6G47X5dszW2TLdIgSauHwouQjFFpSlZbfz5+lOOdyR2ZE54/uYMgczN?= =?us-ascii?Q?KefBx6QVOongt3E8kZZw1HAWRkThFyYvxMcrHVyUSoytlefOT8lNUk8/duZl?= =?us-ascii?Q?JHtSJ98HNPiLSI0MKfQK9N9U6uiQV70+I8pE2XBZ3M2lLw2cuxOisr6djuxM?= =?us-ascii?Q?Y0+IgQwPUOAsekHmkJdBgFM9CUpNxh2TDAWcXPijGEwMvPi5UNFBP7k8+qZV?= =?us-ascii?Q?I5EQf+T4tc16aCrAVzZWbHIAMjT5DnzRy8caV4J/9bL7ZZgMGBonbk1N1IjY?= =?us-ascii?Q?S6+QtPedPzL9khlMUJaL0+DerMYoLNkG+8ldcCQB4DYbnkzBnnzvdTISZVut?= =?us-ascii?Q?z3GgVHxJ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2614.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19eae3d0-1637-41ee-985e-08d8c7873e96 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2021 14:31:35.6215 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CEDmfOM23DXsY5Q+hvigHZqpBx2UhSVXpt/fYFbMP2XWa1lI9SCjvsHITFzbXRiKNDyFwLTJ7SbAEHIG7vo5jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4193 X-OriginatorOrg: intel.com Subject: Re: [dpdk-ci] [PATCH] net/i40e: disable AVX512 with MinGW X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" > -----Original Message----- > From: Tal Shnaiderman > Sent: Tuesday, February 2, 2021 10:14 PM > To: Richardson, Bruce ; Rong, Leyi > > Cc: david.marchand@redhat.com; Zhang, Qi Z ; Yigit, > Ferruh ; NBU-Contact-Thomas Monjalon > ; Kadam, Pallavi ; Menon, > Ranjit ; Xing, Beilei ; > aconole@redhat.com; dev@dpdk.org; ci@dpdk.org > Subject: RE: [PATCH] net/i40e: disable AVX512 with MinGW >=20 > > Subject: Re: [PATCH] net/i40e: disable AVX512 with MinGW > > > > External email: Use caution opening links or attachments > > > > > > On Tue, Feb 02, 2021 at 05:06:39PM +0800, Leyi Rong wrote: > > > Disable i40e AVX512 code path for Windows build regardless of CPU > > > capability to avoid the MinGW build error: > > > Error: invalid register for .seh_savexmm > > > > > > Signed-off-by: Leyi Rong > > > --- > > > drivers/net/i40e/meson.build | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/net/i40e/meson.build > > > b/drivers/net/i40e/meson.build index f5fc5a17e..26cd201ee 100644 > > > --- a/drivers/net/i40e/meson.build > > > +++ b/drivers/net/i40e/meson.build > > > @@ -56,6 +56,7 @@ if arch_subdir =3D=3D 'x86' > > > > > > if is_windows and cc.get_id() !=3D 'clang' > > > i40e_avx512_cc_support =3D false > > > + i40e_avx512_cpu_support =3D false > > > endif > > > > > > > This fix seems to imply that there is something else wrong in the > > logic in the build file. If the compiler does not support avx512, the > > fact that the CPU supports it should be completely irrelevant. > > Therefore, I think a more correct fix (logically) should be to remove t= he > "i40e_avx512_cpu_support" > > from the next "if" condition, and only check the compiler support. We > > don't do anything with the cpu support variable. >=20 > Moreover, this patch doesn't resolve the issue [1]. >=20 > [1] http://mails.dpdk.org/archives/test-report/2021-February/177665.htm= l >=20 [139/227] Compiling C object drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e= _i40e_rxtx_vec_avx2.c.obj. FAILED: drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_rxtx_vec_avx2.c= .obj=20 gcc @drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_rxtx_vec_avx2.c.ob= j.rsp {standard input}: Assembler messages: {standard input}:2024: Error: invalid register for .seh_savexmm {standard input}:2026: Error: invalid register for .seh_savexmm {standard input}:2028: Error: invalid register for .seh_savexmm Seems that avx2 file also causes the same issue, will send a new patch to h= ave the test. > > > > /Bruce