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 6C022A0093; Fri, 29 Apr 2022 09:18:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09760410E3; Fri, 29 Apr 2022 09:18:38 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) by mails.dpdk.org (Postfix) with ESMTP id E3C3840E50 for ; Fri, 29 Apr 2022 09:18:36 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=JHGAGdOMk10kv//iYV96eV0C21qJOIlAJlh3pG1t0ZLiydLrukdJVfjxxswNfeUOLqMk7e8vhj4T1I4EOHadCz6qiXasfs3wewmrmC1+1T4dVwdN0jzn1+aaw9DFzuupj2oXWeJ4QDSRJKE04v1kIcXja53Fuv3ONvRdSpQKX90x82FvslMMGucdORjwJbunOh/QEnpDE1Bta/jcSdLoS5FkYG4QY7LARgvQmfxE49oQ9c/1Tb3Ra/JlDJEkU6blo+aUBBbwEeyKnnpgQvS6TXYM4QI1LHI19GQ5EEg6x/VWWTZmYVTw///hVNryqoxcSZOuT4ofv8txUflYwGtl7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vnJIJPcseZ3uWWqGdHmwKhVC3lWxTtmLjbIrrLx4Pio=; b=Mq4Cd4IAocmKeC1IudYCPW316wJ4PCnvCDVsmM/NO8khQGJKnEZPpxT9ehoD+90gxNLFnfpvgXLRQhS2lazdGmHI3pm0emUAa88hTntxAEow9FDNiN3BoS1g5r/OxEv1RAANymBNf+lXAE8Hf5RKHrzR2i2OvQBr9Z4bLzlsLdvP6BqlAijpkf9H+SI4TUptXKZkNj3ZIj5aFz+3iT3Q9NZIzIT0zD8hFqLmnmuN0tuRXfdLOe8DH2RtXaFT5UgsqH+V+gnEFKG/2ZsauafSAicz/zAx/As/XHO8tmVS7IiRFMzhyPrQ9GTb8Dz/Nx1buFJItVVbCyE/F770upKxTw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) 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=vnJIJPcseZ3uWWqGdHmwKhVC3lWxTtmLjbIrrLx4Pio=; b=LkqNnzMP2QJ2Ixln+lc9hVkRkSiRWfIi/dGS/fx25qAmfVdzRyo4JPhmnEXyq0KJyvtXjPaiIkbJlsZs0VbCVwwM9vwyqkP2zOfnHqs9/PMw29Mp02NexHkUBmBgdIetkYXQ30qY1u1WmDFC3fTxwdRhjoCFosMO7kr4Z5OS+lc= Received: from DB8PR03CA0025.eurprd03.prod.outlook.com (2603:10a6:10:be::38) by AM6PR08MB5206.eurprd08.prod.outlook.com (2603:10a6:20b:e9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.23; Fri, 29 Apr 2022 07:18:34 +0000 Received: from DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::a8) by DB8PR03CA0025.outlook.office365.com (2603:10a6:10:be::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14 via Frontend Transport; Fri, 29 Apr 2022 07:18:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass 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 DB5EUR03FT033.mail.protection.outlook.com (10.152.20.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12 via Frontend Transport; Fri, 29 Apr 2022 07:18:34 +0000 Received: ("Tessian outbound 2d401af10eb3:v118"); Fri, 29 Apr 2022 07:18:34 +0000 X-CR-MTA-TID: 64aa7808 Received: from 3e0f929b73bc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 23A06501-B6E0-4655-A923-7726CEECECAD.1; Fri, 29 Apr 2022 07:18:28 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3e0f929b73bc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 29 Apr 2022 07:18:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NJdoCOImnL6S4+z8KoTWZnrKR1KtYKSOf8EDOU0isYmoumtOprSV3H40OZU1uvgmVmB7/GepDoL1xfwhFmw6MUCcn1PqYioKsX3BgwnGpJTm4RSfxTJsDrva98gQTgnFzYvQZvh86hMjgc5GEb1d39LgdjST+0iKVNg7i3LsKdNIZCxftnyNbJwlLpontLE2UcFbSYeIpcOD2Feuz7a1TNo7yX152ftlBYWcF+J5Bja7oFyJtPSpgIipo1Xc5bcyYJLzaOvJNvvv0o4UZbcj5gK/i0615Jie6cnOvhOkn0cK+A2R71LKLYSe9/TpGAlVG+lRpS/sTa9tp8F7icm02w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vnJIJPcseZ3uWWqGdHmwKhVC3lWxTtmLjbIrrLx4Pio=; b=WNJuGmbHA+smOVrBO+PncsX+lMAz8D4XOYRTeJXF4YpFVJ5mhtmExt/+RWmoP16OWzP76z+F3vgeEOXqU4eBY3ridROx+GijpoFXfT4PtFbw8H5YOPi+d+ufTvrDMXh5ZuJ2kco5xpqQqQKhaERS2eUAUe/joDQaTAwmdxSSJZGCGnblO3AhrShFxZ1+aQ6+gaMny6liY3ac3TCDsaPb3UuU12fCcdblo6Sl14uv4Q79EiUAl0+zhwPOmoldoOTV/dfx629Zp2J8lhGgmtW+IxUH5TQk0h1GwfabXCBtV7pHD4iDyh9o1z7IrmahtdrEyLbXtIi82UB/z4GPoFdFZA== 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=vnJIJPcseZ3uWWqGdHmwKhVC3lWxTtmLjbIrrLx4Pio=; b=LkqNnzMP2QJ2Ixln+lc9hVkRkSiRWfIi/dGS/fx25qAmfVdzRyo4JPhmnEXyq0KJyvtXjPaiIkbJlsZs0VbCVwwM9vwyqkP2zOfnHqs9/PMw29Mp02NexHkUBmBgdIetkYXQ30qY1u1WmDFC3fTxwdRhjoCFosMO7kr4Z5OS+lc= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AM9PR08MB7087.eurprd08.prod.outlook.com (2603:10a6:20b:41a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Fri, 29 Apr 2022 07:18:26 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::f8d4:2ff0:3cc9:56dd]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::f8d4:2ff0:3cc9:56dd%4]) with mapi id 15.20.5206.014; Fri, 29 Apr 2022 07:18:26 +0000 From: Ruifeng Wang To: Pavan Nikhilesh , Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin CC: "jerinj@marvell.com" , "dev@dpdk.org" , nd Subject: RE: [PATCH v7 1/2] hash: split x86 and SW hash CRC intrinsics Thread-Topic: [PATCH v7 1/2] hash: split x86 and SW hash CRC intrinsics Thread-Index: AQHYWkqwZhStorrl3kqS41JpS4/JLK0GfY3Q Date: Fri, 29 Apr 2022 07:18:25 +0000 Message-ID: References: <20220427133519.17837-1-pbhagavatula@marvell.com> <20220427152232.19223-1-pbhagavatula@marvell.com> In-Reply-To: <20220427152232.19223-1-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 026577302B355B4E807422DA9B4EAAEC.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: b307461b-e7bc-415c-6dcb-08da29b078e0 x-ms-traffictypediagnostic: AM9PR08MB7087:EE_|DB5EUR03FT033:EE_|AM6PR08MB5206:EE_ x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: W3ZAhxNOsdRzWrcy7jRT9jVQLa7tQTuclQdVcpDkQ0f0XTlMqLI51vTivab2MjBmnNyyknf4CvydxRjCbl6wV8CJeTUZADQtb57hhouIlqGrfHyVqQ8zMV1J8P5UyalAUeHA8rh2hy01maNw9kOTqLWD4gzRUr6yMFDiDOMYstEIV+sFvCvRuyqrVTphAZH8TyJ4akXtHumCwcB5YWBC2R0xJfzomoue8heUkNKbXCHkuoQcLmmtCpPe4TMkc7wfu4XwjmixQh4mVVMRraRt0OxvPPM4IAXHRObjZ65QLnQGICi8uWh8UGYX0N6CcGKjoSfPh/1C9CaJ9wiNeKhgTCFhriRfkZioirKtxbZ6aLNOR8ttPsloNCyeamdyfzfNQV4b0QmL3MZ0iFODqkPL+SrBcFJ4W/BqDhlUcb1jEC0bu1p2CetaJgRvUWlT3ApT+cdn8GthYDQHZmpFsg9hkBXpRmDGjPbhkHdZGNcCZLsWo9u82Wc1LK3642T+iqH2eEeKdeoujDSIS4fWFnANrEyWQWBMWUuGdj+ZHFa58NYZHP/v6j/YOg/gXsa435u8u8W+91DeExBy0Hzw3phSTvFsA+jBubaNuXYC8vgfu+Rx6rhYtayyMDH5z15vDDsM8k4ccXHKLIOP6iEpzEjdG6hbihNhc3Qumr3B2iTO7xss1YWVoDEsBkm56ade7TQidDz2IHLqdc63W97Y+74ilQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(38100700002)(5660300002)(6506007)(26005)(53546011)(2906002)(9686003)(38070700005)(7696005)(33656002)(8936002)(83380400001)(186003)(122000001)(55016003)(71200400001)(52536014)(508600001)(76116006)(66946007)(86362001)(316002)(66446008)(66476007)(4326008)(110136005)(66556008)(64756008)(8676002)(54906003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB7087 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 45b7ea11-6edb-40c3-2c68-08da29b073d4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KQQfDesgDxA8ZlnkQuIZnn6Vx8Jo60NCJW47lrM+NKMNRb5QYZpy5eXpA3YRwGAu9RsWKnxVhZ95EgOkpapY5Zn9Ptq4q8SqWsDwpqre5e/l9FLOU8InaM5+9sgFm3tPzFYdwgzX0pfR8GWdj/xikfyEMDgBdxqqX3CZKmC08jfx/W4+Hc+Iui/vLfyu0ikUrtYzhtyTlegMoPElITeiEOL6uhc/U24thfi33KacsueI3jP7fuTmBYjT2QgzUX9QgJJ30C9CWuNi0MEXInphqjRFQIZFx2jtQOtsCO5BrejnD+3jet5Gkk08FkFUcphJoedghMOcSfs0TTfqBYGh10KhxjFGIkiNiTxJix34a49tW18qch7G+hrGCOwJVekLKVUJ6X3M1Xvh2tzd/jtogoTP0BCjGjh5n4LNV6qoVWMmyGcrWpySsbWbl2W7pKgaEzlw/J6PFQd5Q7R6RAtOQ8NqLPy+rNlU1amdbuICSTM6fqINo4R0hpbM4UfSE4TeCutf+7vJ7gCuRSqwpqBNbUuOupV4ElyjMDYXw5dF6GBOqZo04l3uS09f6OnZZ+EjDwIGpMbPc6yV0TW/YwESt088+VCosrwT275uWJr87UvoaVVYQt3W3nCVeYiU8k/sQxJhPwcqsgPxOtE4tYmZU7eGC8tvQBBoB033AwbvaZke+6mLO90AfvV9v7BrYK2e 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:(13230001)(4636009)(46966006)(40470700004)(36840700001)(81166007)(53546011)(47076005)(336012)(40460700003)(6506007)(8676002)(83380400001)(70586007)(70206006)(2906002)(356005)(4326008)(82310400005)(186003)(33656002)(86362001)(316002)(36860700001)(26005)(55016003)(9686003)(8936002)(52536014)(7696005)(54906003)(110136005)(508600001)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2022 07:18:34.5147 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b307461b-e7bc-415c-6dcb-08da29b078e0 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: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5206 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 > -----Original Message----- > From: Pavan Nikhilesh > Sent: Wednesday, April 27, 2022 11:23 PM > To: Ruifeng Wang ; Yipeng Wang > ; Sameh Gobriel ; > Bruce Richardson ; Vladimir Medvedkin > > Cc: jerinj@marvell.com; dev@dpdk.org; Pavan Nikhilesh > > Subject: [PATCH v7 1/2] hash: split x86 and SW hash CRC intrinsics >=20 > Split x86 and SW hash crc intrinsics into a separate files. >=20 > Signed-off-by: Pavan Nikhilesh > --- > v7 Changes: > - Fix build with ppc and other arch. > v6 Changes: > - Simplify rte_hash_crc_set_alg function. (Ruifeng) > v5 Changes: > - Move CRC functions to implementation specific files to remove > ifdef clutter. (Ruifeng) >=20 > lib/hash/hash_crc_sw.h | 419 > ++++++++++++++++++++++++++++++++++++++++ > lib/hash/hash_crc_x86.h | 62 ++++++ > lib/hash/rte_hash_crc.h | 396 +------------------------------------ > 3 files changed, 483 insertions(+), 394 deletions(-) > create mode 100644 lib/hash/hash_crc_sw.h > create mode 100644 lib/hash/hash_crc_x86.h >=20 Reviewed-by: Ruifeng Wang