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 6834DA04B7; Tue, 13 Oct 2020 13:58:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FACC1DA79; Tue, 13 Oct 2020 13:58:45 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 3C55C1DA5D for ; Tue, 13 Oct 2020 13:58:43 +0200 (CEST) IronPort-SDR: PIPs4AvcQ+0dBw25oMdmx3pzcR17ptOFgrZdR6YyHdGhVpq9268KPWDhBL+gZASiZAqSzi3Fld 6/wD5V3DvyTA== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="145213137" X-IronPort-AV: E=Sophos;i="5.77,370,1596524400"; d="scan'208";a="145213137" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 04:58:39 -0700 IronPort-SDR: 8JOIYUkuI6pf/PXJwMwUYAofeAeLHTeuaBIlLLE5relWyN94uO7Nggb+7A11ECC+jV3m8CuLbx KCSPp5gNLrdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,370,1596524400"; d="scan'208";a="356977104" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga007.jf.intel.com with ESMTP; 13 Oct 2020 04:58:39 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 13 Oct 2020 04:58:39 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 13 Oct 2020 04:58:39 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 13 Oct 2020 04:58:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jv5gAvjOTJ8qWYq8z8jFt0GPT405fx3q3FB7qPe3z5OXL7fh3mH1MAd+j1zfy3wv6Ck0hq1NWLgUYBS9V+93k/RnvpD7Sh6qH9vfvy3vdBIGSx44xFmQWqJ1kNnOac5eIpOPG+stcnTL7FMTM9lGoGWk+q4eVixnpmeaEu7GZBlPdMyoQswPjVk5Qe6xilFfpCLTpY7fzDL9+3Viqz0POfaWRL66pqY4dPZWuONFa2oQDbrKwYbDnEGMJJOIf6J+3UzFdC9Qg938NUb139fESWPYhY76L+gfgxGwUIiNhEhwPPBWWwUIliP1Vid/NhGcTFhj8aaPcWasST6TTz1Rkg== 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=crHLAwFPIxhH8/YxgE7sV843w0ZGdHpwUMIlV+OYuo4=; b=WmIwY0bFC13PS+gJknmp7BA4SP3W/eP7hd8MRtJFFt6Pr6xBCOLB/fgKgnKgC0YT5vG7n6704jpHfR+7m9Y2D3ZEjsWYrodZLPVu7h7XTSXfjBPItAwMXZbSSY6/GoqygGfJwSxQoikHXh9vYVRWirWXhyxnIvoGP8TJVYNCvcwiG2GK+1Y34E0seDDOHmDHV9gF3JI7ijOfb32oNqkz1x5lrNkN0fY5GQ35jBLvJ8VmrguzypePYvW+FR/+UkA7buFsRh5W3nV7Xg4NjERb2SYDxIytnjiuprltzuBUrSMoG4TvON/15HbtuVlVPh4/d4wcNlbwYpyjmiQOTxefQg== 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=crHLAwFPIxhH8/YxgE7sV843w0ZGdHpwUMIlV+OYuo4=; b=lRVBNktp8BJ6NpcrQj08T0icAm0OjEJKrxYLRgsueFf7pTzlbqRqQ3bt2l6t/BmQ/MwAcEt6we50+VhL8gFwsPtQBlX77AnvLeVpziwUDLkO1nIwDftRZD+MUrw2hNjrL5ZexXTNzvzqFTRvK1LH+LdXYi6Xz8Ovois6p8HTorQ= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BYAPR11MB3190.namprd11.prod.outlook.com (2603:10b6:a03:7b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Tue, 13 Oct 2020 11:58:27 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b%3]) with mapi id 15.20.3455.030; Tue, 13 Oct 2020 11:58:27 +0000 From: "Ananyev, Konstantin" To: "Power, Ciara" , "dev@dpdk.org" CC: "viktorin@rehivetech.com" , "ruifeng.wang@arm.com" , "jerinj@marvell.com" , "drc@linux.vnet.ibm.com" , "Richardson, Bruce" , Honnappa Nagarahalli , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , "Kadam, Pallavi" , "Ray Kinsella" , Neil Horman Thread-Topic: [PATCH v5 01/17] eal: add max SIMD bitwidth Thread-Index: AQHWoVCuk29qsHAb9UmrZIKanGrb26mVbQOQ Date: Tue, 13 Oct 2020 11:58:27 +0000 Message-ID: References: <20200807155859.63888-1-ciara.power@intel.com> <20201013110437.309110-1-ciara.power@intel.com> <20201013110437.309110-2-ciara.power@intel.com> In-Reply-To: <20201013110437.309110-2-ciara.power@intel.com> Accept-Language: en-GB, 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: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 24df662e-e052-4b96-2e07-08d86f6f4bc0 x-ms-traffictypediagnostic: BYAPR11MB3190: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aLKjHkwqFbXZLi5PU3Y6p5+QYaGwRGOpBiALPjxMPRtsqqefaJ5ASKxvCZ7hq4mpWRLN7edDTxyDJtTzS4jHxCVnycYRssgMwwnuE3xu1yZiHRhdcp4kTQj+QR6f+/oB+akCzgx7t2QIyfi0/JTKXsy3HkVV3xIuLVhNMA231l+dJaJHE0DkvvUrM3L0Pswmf9OBPvZr71TkXGiJ0MWeg0gtSfQ/diZHSU2vVNGLwjEJxdyG3f/glQWk1dQ6VtXc0VaIDPXzgrCoid7UVUFPNeQRqcAd1f+DrRjXoHU77IId+16FBW1UYaHDOa3EqJHq x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(136003)(39860400002)(396003)(52536014)(478600001)(6506007)(8936002)(83380400001)(71200400001)(66446008)(66556008)(66476007)(55016002)(66946007)(5660300002)(64756008)(76116006)(2906002)(316002)(4326008)(110136005)(33656002)(86362001)(8676002)(186003)(7696005)(26005)(54906003)(7416002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: GyU5Xni5IgZBdrHdr7ZunQZX21qjRkHV3+rnOBNZizH2lOExhG0NMpaGnb84Cd563ZcSPgDEgwQvSONt5sQduXbSwcuOHdyoGFgw3HO2c8R5Hh+DBW0d0ZY8T0f6cd4c62euBMew8anxLpFDufSk3HW/fH3AQxkeHJp2dYnrtiU02egamQLY+76dJmDFGLcKzMhVCJ4tfGIFUwtB1bb/+AoudUvQxVNBpEvbgdY4VN1nqy+vDQOD9SMZ0HXs2+XicDHOXbIWYMfgaC7g3A3eRcRnp2vt79sD7+PR8QgrIhslLctcUgCpSVzMSKbVyRRKJmeFMOVqGWhiAw/7xpMQhDgqnQlzfQ9eW7rdY22c9RzYIMTVSSRIxsIjl/CqUfjE/v6Xb6KK1D1vWVZQVSo5UuLo44+shxTHTsJm1XHDexwxKSgdv2hHdmd54uk3TtfLCor83byPL/tAjdZacL4BATlwR3Z0KJ7QRWAQBsEBRCbs06onnXjHbx7kcwIZ9bWwX/6P7QBQRoi+LsQYfHEFuSbLWFNxndMzoUPM6zoOOPEv8ZU92oAc9T5W9ke0YAr3TesHGPhrf9w2EVKpTmBCMYyYJSCj1pgjSAxoei4+fnSi04Q9QUlnA6+0KojagLyBgLyBsvoqigAxl17sJUOkag== 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: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24df662e-e052-4b96-2e07-08d86f6f4bc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2020 11:58:27.4484 (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: y1i7d9mam5S1dU6Z7zv7J1zrzGqkcwnWpE88NaAxBIV5sAi3uQ6GCnzZKjC3XFpYEgPFHh6DA90c4qke7chrr8oSvuoeAPfDJaiivzNtv40= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3190 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 01/17] eal: add max SIMD bitwidth 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" >=20 > This patch adds a max SIMD bitwidth EAL configuration. The API allows > for an app to set this value. It can also be set using EAL argument > --force-max-simd-bitwidth, which will lock the value and override any > modifications made by the app. >=20 > Each arch has a define for the default SIMD bitwidth value, this is used > on EAL init to set the config max SIMD bitwidth. >=20 > Cc: Ruifeng Wang > Cc: Jerin Jacob > Cc: Honnappa Nagarahalli > Cc: David Christensen >=20 > Signed-off-by: Ciara Power >=20 > --- > v4: > - Used RTE_SIMD_MAX instead of UINT16_MAX. > - Renamed enums to better reflect usage. > - Added functions to windows symbol export file. > - Modified Doxygen comments. > - Modified enum name. > - Changed RTE_SIMD_MAX value to a power of 2. > - Merged patch 2 into this patch. > - Enum now used for default value defines. > - Fixed some small comments on v3. > v3: > - Added enum value to essentially disable using max SIMD to choose > paths, intended for use by ARM SVE. > - Fixed parsing bitwidth argument to return an error for values > greater than uint16_t. > - Removed unnecessary define in generic rte_vect.h > - Changed default bitwidth for ARM to UINT16_MAX, to allow for SVE. > v2: > - Added to Doxygen comment for API. > - Changed default bitwidth for Arm to 128. > --- Acked-by: Konstantin Ananyev > 2.22.0