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 E076AA04B5; Wed, 9 Sep 2020 21:30:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A79741BE0C; Wed, 9 Sep 2020 21:30:57 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2076.outbound.protection.outlook.com [40.107.22.76]) by dpdk.org (Postfix) with ESMTP id 190AF1B9B7 for ; Wed, 9 Sep 2020 21:30:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oGna1ozP3qZ0rMAIbULF7wNy1q92j/MwgXwwNmubH6I=; b=Ez6lYCEUBNrmdpf3e/NJRiIxm4QtVb6MM2pIURaKpujN79F9yadQGI3EdG3E5ua2Jwa6zDN372Rl1QDqTH1usst8TIvmE2sStVkfD1HmacScGE+unfKSxl9gADtMJuiAsLgOOVJeyVT9hmHPHGqsic586XGyAlQStjZLcOGa62M= Received: from AM6P194CA0045.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::22) by DB7PR08MB3436.eurprd08.prod.outlook.com (2603:10a6:10:44::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Wed, 9 Sep 2020 19:30:52 +0000 Received: from VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::e8) by AM6P194CA0045.outlook.office365.com (2603:10a6:209:84::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 19:30:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT045.mail.protection.outlook.com (10.152.19.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 19:30:51 +0000 Received: ("Tessian outbound 7a6fb63c1e64:v64"); Wed, 09 Sep 2020 19:30:51 +0000 X-CR-MTA-TID: 64aa7808 Received: from f37e0b10ff20.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AE18C6EA-1C4A-4C9F-A950-43EB73B24964.1; Wed, 09 Sep 2020 19:30:45 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f37e0b10ff20.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Sep 2020 19:30:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BfqBQkW/Xy2KZUSzJ1pZP5DsVdJE+bSMWPyabtt+rb/fpTlgDNETl/rLqvbUmFha0ybNirvwmi6FUK+lMFYXaaV0HONN5r8k5j6w45Fjg1R5uVNGAkl9MMcKDFcs5xvhqgOEefaPPDC0PJiVXhzS7q6sm31JnGP62Sgg9sR7UhWMvKSEUs+VTn9D1BEObZAtkRFinQ9kX9pKVH1yRnCHP+BzRCpALn7+hDTfd8t5sh1DJ4oib2VnNopLHgmOkmW+nIclrmvVq9RaROIhCP9YDsII1S8fSOtIvAIOGJxh8WRYD93//poWDjiLbM6T1Fky1HuYIcLXQTGF6P0nn2Ne5A== 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=oGna1ozP3qZ0rMAIbULF7wNy1q92j/MwgXwwNmubH6I=; b=TaSnqvS2/Uv9juWBH1W2ebWIP1GiEg5VOE9Yvel0pJUOGpZ6gavtB6nz3/pz8lmrIkRcJrj8FBpx6u9C4CjlnuGSBD/ClA58MSsHgC8UkCOVEc1UF0ZJ5IFsaLAeLorIS7v49VEgkXWDf8iZZg5oOMw/vLwhulEr8cuq9YJZdbauRwAvwuudFsOV2jjTa5K/UFhc8f8LVh6C0UTm+IAhd4987QGJB7noCjoUwvYPN9FyKjKt3cJTrcqMSxwU4K+63bq3NEmpae7fw02f7oy7H2K6+T3u3pdW9Gy0i8O7876MC2b/8DclE4Anr84quq1y4Gl+iKLQM+/zLA8oVINKsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oGna1ozP3qZ0rMAIbULF7wNy1q92j/MwgXwwNmubH6I=; b=Ez6lYCEUBNrmdpf3e/NJRiIxm4QtVb6MM2pIURaKpujN79F9yadQGI3EdG3E5ua2Jwa6zDN372Rl1QDqTH1usst8TIvmE2sStVkfD1HmacScGE+unfKSxl9gADtMJuiAsLgOOVJeyVT9hmHPHGqsic586XGyAlQStjZLcOGa62M= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Wed, 9 Sep 2020 19:30:42 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::408a:40fb:7402:c805]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::408a:40fb:7402:c805%6]) with mapi id 15.20.3348.019; Wed, 9 Sep 2020 19:30:42 +0000 From: Honnappa Nagarahalli To: Bruce Richardson CC: Ciara Power , "dev@dpdk.org" , Ray Kinsella , Neil Horman , nd , Honnappa Nagarahalli , nd Thread-Topic: [dpdk-dev] [PATCH v2 01/17] eal: add max SIMD bitwidth Thread-Index: AQHWfI0N3JVhPFghv0mjPjcIL9NesqlX/R4QgAA5NgCACI4GQA== Date: Wed, 9 Sep 2020 19:30:42 +0000 Message-ID: References: <20200807155859.63888-1-ciara.power@intel.com> <20200827161304.32300-1-ciara.power@intel.com> <20200827161304.32300-2-ciara.power@intel.com> <20200904084518.GA1627@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20200904084518.GA1627@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 9A538E83B6149D4591E24206DFBA1CA5.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.110.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: eed1cdd4-5fd5-4099-e549-08d854f6dcde x-ms-traffictypediagnostic: DBAPR08MB5814:|DB7PR08MB3436: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: woMLw6a1G499F1PK79nNo5Nxk00kXgGQbu9ycp7INXxg/qdGNJn6B6zsFzP8hc8U41qEtOw/Gxk6DV4KVgQ8OFKo/oyY15ZPg73Ijq/5MnOHH3qRQ2DwHP2OIWhTO/0ZtTg54EXCEZXphpXsgx73b1xp5H71+IXQXyjhGJk37OYfsYl88W5AXz2ob4w2jh/eEFlzMbp9K4MiF7ZV6l3vUkyA/CYQIv6DF1k0MSJMmnsCvYSzDBzG66mBFCKSGplWq2Mp4S9UawOzZfcpTLWo7PSxiEOnnvUN/aji7xcQvNbkYfpGmUlj6AojTks4mj0RklqM1R8K8M/82b2hVN0W8A== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(366004)(39860400002)(136003)(376002)(4744005)(54906003)(64756008)(66556008)(5660300002)(76116006)(478600001)(186003)(66476007)(86362001)(66946007)(66446008)(6916009)(26005)(7696005)(9686003)(2906002)(55016002)(8676002)(71200400001)(4326008)(316002)(33656002)(52536014)(6506007)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: WIElI1iq9Va+XfY8anMGaTwKsiH08JpQcZrTKrgnR7hGSf4fAqaJR/ZB7uYWYt4Hj1/2rAnlym/MTGpHrrpVZhyXs6AgtcdSXR7Cs9Q4jalUAqg+HUzxfZqphm7vtnXglrCeMK3EoQhL056skm07YIN3wx0RqJdMqZDM2XVl34ltxTUz6c+62VI1AshtgrWYekW4gRJCQX6cPuBCZZQOptgHUD+oCd8L4YCF5RVPzoSDb8aHeDMVBpys20dEXTBtsPgoxvoLDtbQdgxPSyGnMO7aa8JR2HiY54/yt+9rntjSsVNqUzfjQj0XY0A/eycZngdr+4Zqwzoh2JMEjNDLE15JqdKw2I13RXm8k6/xmADBIJsOLT+/rLNrJ/zdZhQ5kThJJWrxJVl4C9SbMeclwTXgP+ULUL14kSecdwQvNCO+3JN0l562672qX8WZpxhPuNT+ZG3QokQvHw/hs6m6w6cKXiQAWvhoerQD1F/bPizCoPfl06OUo6bppQFYzandNVugzwSdHVUtDJTpQRB2uVuKXHFYv/oNbsjrGrN8lYWCUNl1yfdhPKTCxlldKC5/h+5K6BE9khFQgFd+vNm6E3/cv7T28cPimu0a/DsT6C3NOu3S4iMVZ1pAhRDzlj/+TDejJ9ZKBMiy9U7wG0UydA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5814 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 176662e9-1287-4d81-2ad0-08d854f6d77b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TiftXQeJGtXHfaeDR1YTc/oQBCpBmdW4bcSGScXEnmAGkWMCf6zuJ8UL5vXG+29RAy1DkPvwfuCdD6kM8++r2dpOaEgzR6eLm/lHmKIIDwXxVbt3sEj9ix/VASrB7hT4AY9l9cd7ihwz8YqfU2MMjMxammgW6+Qrbg7u5SSOdMpo8Qlx7gd1LK1f+17lZjPtpbHNZzeXS2HLXzrk+UXepWE59XdGhL8d18bQVjWI4Xj7yLfuST/ocf9RvKn9+UBKGhoq8H4KVxIuZLZTyJvFCp2YGsx3GtQIbM6fKZz1B1SjLp32UV4CDjRNjAzvDVfHiBVOf9M0NVN/ERx5ljuyHIbIKivKefcmIVteXLVBiMfVWY67eUZ/8JKQ/FqbrmMQmHgVv3/ltnFWI5O7dp/Omw== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(396003)(346002)(136003)(39860400002)(376002)(46966005)(186003)(4326008)(336012)(8676002)(2906002)(55016002)(8936002)(70586007)(7696005)(6862004)(9686003)(36906005)(316002)(54906003)(4744005)(6506007)(26005)(86362001)(478600001)(70206006)(82310400003)(33656002)(5660300002)(82740400003)(52536014)(356005)(81166007)(47076004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2020 19:30:51.6078 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eed1cdd4-5fd5-4099-e549-08d854f6dcde X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3436 Subject: Re: [dpdk-dev] [PATCH v2 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" > > > > diff --git a/lib/librte_eal/include/rte_eal.h b/lib/librte_eal/include= /rte_eal.h > > > index ddcf6a2e7a..8148f650f2 100644 > > > --- a/lib/librte_eal/include/rte_eal.h > > > +++ b/lib/librte_eal/include/rte_eal.h > > > @@ -43,6 +43,13 @@ enum rte_proc_type_t { > > > RTE_PROC_INVALID > > > }; > > > > > > +enum rte_max_simd_t { > > We could add a RTE_MAX_SIMD =3D 0. Arm platforms can use this to choose > SVE. > > >=20 > Is zero the best value for this? Would setting it to MAX_INT or some othe= r big > number be better, in terms of comparisons operations, or does that just n= ot > apply at all with SVE? I suggested zero as the bitwidth can be specified from the command line. It= would be much easier to input zero vs other number. >=20 > > > + RTE_NO_SIMD =3D 64, > > > + RTE_MAX_128_SIMD =3D 128, > > > + RTE_MAX_256_SIMD =3D 256, > > > + RTE_MAX_512_SIMD =3D 512 > > > +}; > > > + >=20