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 1370EA052A; Wed, 27 Jan 2021 09:30:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A521B140D1B; Wed, 27 Jan 2021 09:30:39 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 37BB5140D1A for ; Wed, 27 Jan 2021 09:30:37 +0100 (CET) IronPort-SDR: 5rtmadI7tqqAxrylefMA9bt5g+HcmSVyRcxXvRYM2+B2qV3mEBkLwJlOUZ/E51vE/FVojKlYRh +9B/PYTSixOQ== X-IronPort-AV: E=McAfee;i="6000,8403,9876"; a="198839399" X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="198839399" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2021 00:30:36 -0800 IronPort-SDR: mFTXo/SRR7j1ujPD/dzqc/2+ecTCUPj/MC5WzIOKFwHy0f3F7KmD6MCtg2L8mzdiKz1x2ogwbo C/B322MdV/BA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="473084363" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga001.fm.intel.com with ESMTP; 27 Jan 2021 00:30:35 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 27 Jan 2021 00:30:34 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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; Wed, 27 Jan 2021 00:30:34 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.52) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 27 Jan 2021 00:30:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dA4tvNXmpgzdakZVCNJT2iVNwHFs8ddM6bKkCvN1LhLc5GnmUzcIzsvGgpNVEk+iIz5nDqR+CMpyIOwdXlIIZuM8tPePV+FmwBHQQeFRQI/wYkdnIy93jXkcK4KFxPnp6NFWkxo3mqFg1mRWzGmOJyjuTS3FvqLqn+vJGnvdvcVRgzDGwI1nw984PYEnvvG/1+4og0XCFGYx6ryaulDWflVDC4oLQfYShYKQwN3ZBx7eBBEyFm0kNAfXLTNApl0yyPjvvwYO5DEI73DfUotfE3pY88eXPb3PvPfhtNgGn5uLl1OMP1OhzAGk0LnX8B//mQkXkCpTmiAvWyekwZ6iOg== 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=Q1GB5HbN7Lz8rZHc3Zo2V/L5lg+Je9bJDo9sllH/3uk=; b=cTOTaeRcBuJyItxPYxW0/i4PWgX3YOkT79UpeCDsB8YV443odHs2OTObuYEmHKLuziPPGH1M6cZFcqztaYeT1pzz05tjJMgvzpZ/MK678Mx/cDIWK2tKrz1vep2lYWh8gHoJOy0C/AaZAUmAFCHXiPeitxIRQEKRQotvh2645ITcTkgtq0PWzRriUNp+FsPyPbwlA1PVO2YRB0oz8gkn7NvkHzP+IKa49p3aT6rCBtzbCA1KQsoTQcvRUIy/SsLT0DnY4cqMpz+GVd8Q40UjB7UF3JqA3Ew4qPWzVyYkJ3bqEK5kHO9PoC8n862jZszFQybmOFv3bn1hSKTC5K36Iw== 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=Q1GB5HbN7Lz8rZHc3Zo2V/L5lg+Je9bJDo9sllH/3uk=; b=gX5Ak/vm7OvZmsXgh7SQzX1B/aN0WkpmizWEx1sHfrd3yY2/Mi2Qk5h9uh1ntC1Qj6i6Vg+07cKBojB0jPRlCMhAMyO9BO2Hj9RZQvkz+mTFWA6DVYtBRGM5sXORg4BtTLP0UPRTdIeNAJYgqY0yUwUAOaZ5YQ9KjOILxjdn4x0= Received: from SN6PR11MB2621.namprd11.prod.outlook.com (2603:10b6:805:59::15) by SA0PR11MB4621.namprd11.prod.outlook.com (2603:10b6:806:72::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.14; Wed, 27 Jan 2021 08:30:33 +0000 Received: from SN6PR11MB2621.namprd11.prod.outlook.com ([fe80::70a0:3c2b:45d9:fa0]) by SN6PR11MB2621.namprd11.prod.outlook.com ([fe80::70a0:3c2b:45d9:fa0%4]) with mapi id 15.20.3784.017; Wed, 27 Jan 2021 08:30:33 +0000 From: "Rong, Leyi" To: Tal Shnaiderman , "Zhang, Qi Z" , "Kadam, Pallavi" , "Yigit, Ferruh" , "Menon, Ranjit" , "Xing, Beilei" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix mingw build error Thread-Index: AQHW8/xgKSoB3CtKcEaCFlNvG9Cyzao6Io+AgAECLnA= Date: Wed, 27 Jan 2021 08:30:33 +0000 Message-ID: References: <20210126153819.63625-1-leyi.rong@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.200] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a50eb49f-0a05-4e07-d9e0-08d8c29dd03b x-ms-traffictypediagnostic: SA0PR11MB4621: 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:3383; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cylHrOIfAeuSYfp0D9NaxDgDvpAKHjSZbpnCzbuESCZoTmBnBr8/F5ooshJnilTDwvgegrrRkkPXimv6U3PRgkDS4kzImLgMKP3oVUNxbRQDNfoYSy85onvnHxRhEgpWr3toXA2GtJPJbqs3jjZApJtJM6pTJ0iWSPKfbnk/0/RN6Cd2qRFwOS41JUbtA1zq5xRolTc9gf7XZstTnzwEqNUt3qqLqiuK1btXPW9BVGUxyIr2Q1WdRZe2R+K0pYtnAnCBClnGpv4baM60l0CiH76urAwyHD0B1CEIO67V1AmRqNXyTP/V1XgsM0xHMkI5Juvnac4+xCQtrBOOP+2AjEnfsNaAjc/iWslWpnX/lWPxvwZpspV7glyZws12oT1E3ibzPFCdJbqEJf0l+cqSg2ALP17mhPGuGeaX7B2+VO1baAH2weOzBGWLi8LBQBmS x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2621.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(376002)(39860400002)(346002)(396003)(55016002)(5660300002)(66476007)(8676002)(6506007)(66446008)(8936002)(9686003)(76116006)(26005)(4326008)(53546011)(66556008)(52536014)(186003)(64756008)(2906002)(6636002)(83380400001)(7696005)(921005)(66946007)(33656002)(110136005)(86362001)(316002)(71200400001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?tWJHS3Fls1rtS29sizIU6GGuaggMHJBaQRtTatGCCWUNqLg6T7cwTZmrjrhH?= =?us-ascii?Q?pC5T25uUTa2fD5Q3pECIeTy6vtR8EOaPrKWZZHxyCpES2JruwNKvGrLAbWvZ?= =?us-ascii?Q?NdbZCWSDAJ8BSx3wdPnqyGqqvXND3PcAHdPhqf2zThX7lzyFvEg4U9aS98xr?= =?us-ascii?Q?5g5OBuO0sVrLdWgiF1QrlXiwUbe+r8tpBJekKvvf30sL3R0L1ZRja2Bg7sJd?= =?us-ascii?Q?7hX+tP7s+agP4I6AKMDwQHaekXjoCHGlFHNyNTheH1G6bhWvWjBE28afvh3P?= =?us-ascii?Q?SJXuBFF3y6VvFhqAslDi/rgNxRgj8IDfIJ+QxUtVefsU/qhU5TLQmF+qXQHJ?= =?us-ascii?Q?WdqTRq0laehlrO5nsnbLcAZx2S6D6TmtjQmro1Lc3W8O63AvNWj8omq7oU79?= =?us-ascii?Q?gZSchJQMqzBWcVxHbXcfnIF9e0a7Ufgi98I2cDQttZHcZrvnu+Heo01h6Ukg?= =?us-ascii?Q?7m9dD042Rq+mZIwnHyXPEWKqOI9bOrau34UIjGC6Z6oBoHDxlr7fhyXwiPtQ?= =?us-ascii?Q?vSK+eykgb6jHPCBSrAv9wwUZHsCcYtXCd269roqzcnxtfx2Zde/1FHttPUt1?= =?us-ascii?Q?Dy8HYFMtzI6b0FWLRov2Gfu/3vxVQZms706SjZ6aCd7CZS6q+JSYMCEbPyX3?= =?us-ascii?Q?aojMhbSVKi04JtqUtczOtUkrBf1y3Ickb/K5ZIENrQm2E7sgjBbwi1KFRPv9?= =?us-ascii?Q?KYOS/TNrPjzZDxRa0SpY18t4ay6ePTUn+Dor0A9fhQE9fWlGoiRNqsD1wf0k?= =?us-ascii?Q?/rsKkTNORH3JSxAZCcClh1GTgJRI9Fmxu5iTUDFAGfhz/vdC5vn3lj5ZLQwI?= =?us-ascii?Q?6AYmPHqXhoqkq35TuqeziaYyVYXGAUP6+vf5RMh3KCmXZuqoKw+/v0rYIzMU?= =?us-ascii?Q?cw9V3EBoHuT/iQgbaabRlbjEXzbbaaYKXMhqHt1SXWzJ86qBxdc45gVn+/6v?= =?us-ascii?Q?YsW0l6UzIxdtyiTuRBY4oVyxZWk86Xqkv1RBR4LehCOWJYR0Kj+z7SSPQ0v/?= =?us-ascii?Q?BB0HDhRTBpsS+KZRMWXDWqvcQ/fAzo17ZkmOjrOsU0gT3ogvdoTaUsa3BJvL?= =?us-ascii?Q?EiXVHhIh?= 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: SN6PR11MB2621.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a50eb49f-0a05-4e07-d9e0-08d8c29dd03b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 08:30:33.0513 (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: 25SDQ0PongffE6duDwQRLlQHrzlQu/x5UE2S/ufn9DlC1318XrLSLArXE3iMqvqCghO6LRZv3CEjAVwM3dkaJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4621 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix mingw build error 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" > -----Original Message----- > From: Tal Shnaiderman > Sent: Wednesday, January 27, 2021 1:04 AM > To: Rong, Leyi ; Zhang, Qi Z ; > Kadam, Pallavi ; Yigit, Ferruh > ; Menon, Ranjit ; Xing, B= eilei > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] net/i40e: fix mingw build error >=20 > > Subject: [dpdk-dev] [PATCH] net/i40e: fix mingw build error > > > > External email: Use caution opening links or attachments > > > > > > Disable i40e avx512 code path for windows build to avoid the mingw > > build error. > > > > Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path") > > > > Signed-off-by: Leyi Rong > > --- > > config/x86/cross-mingw | 3 +++ > > drivers/net/i40e/meson.build | 2 +- > > 2 files changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw index > > 4c15a7fa2e..48a82b457e 100644 > > --- a/config/x86/cross-mingw > > +++ b/config/x86/cross-mingw > > @@ -11,3 +11,6 @@ system =3D 'windows' > > cpu_family =3D 'x86_64' > > cpu =3D 'native' > > endian =3D 'little' > > + > > +[properties] > > +c_args =3D '-mno-avx512f' >=20 > Should be in a different patch since it effects the whole project. >=20 Sure, will be split in v2. > > diff --git a/drivers/net/i40e/meson.build > > b/drivers/net/i40e/meson.build index c0acdf4fd4..c9a1a50407 100644 > > --- a/drivers/net/i40e/meson.build > > +++ b/drivers/net/i40e/meson.build > > @@ -54,7 +54,7 @@ if arch_subdir =3D=3D 'x86' > > cc.has_argument('-mavx512f') and > > cc.has_argument('-mavx512bw')) > > > > - if i40e_avx512_cpu_support =3D=3D true or i40e_avx512_cc_suppor= t =3D=3D true > > + if not is_windows and (i40e_avx512_cpu_support =3D=3D true or > > + i40e_avx512_cc_support =3D=3D true) >=20 > DmitryK already mentioned it previously; you only need to disabled MinGW6= 4 > since clang isn't seeing those errors. >=20 Yes, will support the case when clang is enable.