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 DE9EB43A22; Wed, 31 Jan 2024 19:30:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B4E34068E; Wed, 31 Jan 2024 19:30:16 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2084.outbound.protection.outlook.com [40.107.223.84]) by mails.dpdk.org (Postfix) with ESMTP id C9D28402A7 for ; Wed, 31 Jan 2024 19:30:14 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c8BFeU2cG19YjkyEIFIVGJbync2J1by17nc66R8ya/WE3CO7vWnh8VB1tstL0HnAEk/vTj0GDQo+vsQGj7IvsNgKVVzdaDeQpfAtOp5PawL9dgmEWSmrdauF9oo/TA5mAEIVJ4XdRKn0uYzfMSM1GuNOYoSzZAfV3gPIdALp37B131zlogYniBnr6/sTytgEEj3KBdjxTArxgPrDSad1RQaSzb6y3mgifbaW2tpRl4MBzzO9FObJT06AfFOVWeRJ9jhl3UqG0ut+49YjoGsxuOXIpj9isJe6UrE8BPStZ8Y6xYDaqfbCmMr/Nwrf+zlvh+eJloLXnrduqY0ge39R/A== 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=yACQ+jVxgEleMORMZt/Wmy0yayW6fSTdf+x2Mbj2nq4=; b=I9YwRfaQJ7c7AIPpaTp+DJNe3aqblOiMbgB0o166ohf0avt4EoBjkqcK6r3+kHaEHrgch4wI/l2R9YM4qqujyqSnSohlwtXYUgcz6ZGRPbzmulCO5vI4m9KQA/lUzpuEuf1ygGinHEpoG7l0Bt/9rddiVapkrp0jImI7wLmpDSvGOVb1hO25D8NWkxz44aGS6Oi1vRm4dXuhyHt4Q4F1WwrCGLr/YfiTwoXPkDRPKPvT3IqdYDdhoToZmVcSlsGlVnmPUvJhRVCW0yUaAuKFJvMa/VdwVWtm4jd9apCsjj+a//gR3DUdOBDRnNuwFrqBV4qyspHEMA5soQMdnMRoBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yACQ+jVxgEleMORMZt/Wmy0yayW6fSTdf+x2Mbj2nq4=; b=qVArxL5mKspUvZDoUC9YQZKYja9zMJUtPuLw8k+0dlPKU5yFYuIj9XiSHyaP9w3jPM5FflNm0VZtn09OfLfZ33fxTml7VchlEiB8gXYEwdZSxrWds/YkWiM8bN2WkNG+p3CzPolHhVFPNYlPzVPwcmJWGowxTylGXN+rZLHyxxS9r6jNL5nTYQeNqGWQXlhjJ2RQ8tujwLh1w2opgwR+m8+jQhPdadtUUTNG6NjCXKPDLOgut4alc/ZdV/tn6jvb3j1wrDc8dgQZgX8kercCz+kxMrA37FkfbkxOjg3FCWSdwi8BXLxoZPAxrQdXUGDWS9mLjyAkVfT+7PI2auql7Q== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by PH7PR12MB8154.namprd12.prod.outlook.com (2603:10b6:510:2b9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 18:30:12 +0000 Received: from IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::708b:e498:d9c4:94]) by IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::708b:e498:d9c4:94%4]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 18:30:11 +0000 From: Dariusz Sosnowski To: Ori Kam , "ferruh.yigit@amd.com" , "cristian.dumitrescu@intel.com" , "andrew.rybchenko@oktetlabs.ru" , "stephen@networkplumber.org" CC: "dev@dpdk.org" , Raslan Darawsheh Subject: RE: [PATCH 0/4] introduce encap hash calculation Thread-Topic: [PATCH 0/4] introduce encap hash calculation Thread-Index: AQHaUc4OL1yWEIp8Gk++frHz6YH+1LD0Qm3g Date: Wed, 31 Jan 2024 18:30:11 +0000 Message-ID: References: <20240128093943.4461-1-orika@nvidia.com> In-Reply-To: <20240128093943.4461-1-orika@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB8311:EE_|PH7PR12MB8154:EE_ x-ms-office365-filtering-correlation-id: e5b7ea5b-d748-4824-b178-08dc228aa902 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o86sjN3XmjcAE0eIG0NzsgysRrU4myuRghIDl69qI+q2IYOdDeu1b/IKR0SfhmRpsec5QyAjp2bzWBzl9ebh5NiZPlcOd0GgJwvTbc/PeUxr/evnht1MwYCBpO/1IB6scucYAr/UmiIscxlzMdBYOiSxIV8OglyV1Vb9DUcie4azM+z4MsrQw8Ct0kc5Gdu08IodYvMJ6CBw8HvdyyM6wlTcIbPb05hqt6ZoQccMILLxLnDmG6SRaSMC2D7TE3gvCVZnWBYluq6kVQ6dlwTWsfZkrhG1Xh55Fjf47XUttCoWMnuEr0tmlgc7ONWyskRaGxInDIQLI6kzCbEhO7o4OXIvTD5KX1ZRxJ/89yvGMz18BzZZ3BN/GLtwL0z5FHyEQCimMXwRN46fNfVIFUSXhG0GNTokhlIOfoOgbYw6JWvr/zIA8VyrCsmXZSNfGrL0UoStOZ3Iv7UeYRvDgzSYZwptLEaqIrIYwdCGOqKUh7DH1tBOLXZ4YJN9tlgG2DBAVGkVE57uGvikPjz+16iecoyx1TzoCiumfclXeN92QCH1k/cg2iFAbxnSjYz92SZs1jX1bbGnOgzJFeML6Zwrjl69ufknpXOtkQ1qpuOnq+8ZObHw68wc5TKVjVjB9h+w3HnbQ1MgU5fgfX8Zj1tS1sf1x2hMpz3ZKCATMlx4vVs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB8311.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(346002)(136003)(366004)(376002)(39860400002)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(316002)(8676002)(54906003)(64756008)(66446008)(66476007)(38070700009)(76116006)(66946007)(8936002)(966005)(66556008)(478600001)(4326008)(86362001)(33656002)(5660300002)(2906002)(41300700001)(110136005)(52536014)(83380400001)(55016003)(26005)(107886003)(38100700002)(122000001)(53546011)(71200400001)(55236004)(6506007)(7696005)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qDzRZbl1GkQ6oDVNBGcxZ0VxHKgQzvD4g05HjG9dRvSOK2qATnBL7lxORUtN?= =?us-ascii?Q?E709wAbdtKFCanv38ucESl6OvrZvs65CgMU+sgahtxq6+uOTMMwtuq1LQhQX?= =?us-ascii?Q?u3rhgJxEadz9SGjxc2YqwRPVLELiR6SwX8IObe296gE9KkupEAbDHsg7kUX/?= =?us-ascii?Q?hMcLOSNvUMTxJvv0VQKv9s/4VxKouKRHm74XpiDXl3aiLx7DGKC91ngvIY0A?= =?us-ascii?Q?CgOHMB15fwF5TBIaEsTRUwzYx4QX4dAv6pba0yjFQb4ZfjTaWmdtryI5kTp7?= =?us-asc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RTWMkdkhwJkT273CH7?= =?us-ascii?Q?g1mbfXPsT1Rn94NPtA5fK6tjeMP85/02nylDaaj87AK+9Cw2YgbZv3Z2b4MG?= =?us-ascii?Q?V3CHd0n5Lil8NiLl3/XiMrj9B0Titgw06/OLewMCMCKR+qqbDdQpRcSuc039?= =?us-ascii?Q?Dj83rTcPhD6rr7wOCKhjDps58Wg2vXHRFNLAPyzorV6Mq9e9bpvGGGJAHf5D?= =?us-ascii?Q?X7n/qw8WCL/Q0U2xMGFE6J8eC0VWSrTWenAqIt0kl/3FDfyfe2ntd4J9uJx8?= =?us-ascii?Q?Fm6f043hPk8r3BmordSiHZI6rFxQQOxSXSByhN2dB5EnluMBQaWwTjfCWiyp?= =?us-ascii?Q?XFnibY4wmCUwiwlsXO7IsJl9u7oXK9Yvzu8KUoJ2qM1czRitdzBumxSGbWqQ?= =?us-ascii?Q?us7dupTaF5cxYCiAXIqdBCUWJzXoyRnOyr1f0vor?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB8311.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5b7ea5b-d748-4824-b178-08dc228aa902 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2024 18:30:11.5734 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Om1NR9RJ5gGem5N5ubcxri/cUp+MTA0iLFFmhT11sglkRXqkDB8OJvzFXyITEHthn+q7VU7Y4i1OIrHZUWLlPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8154 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: Ori Kam > Sent: Sunday, January 28, 2024 10:40 > To: Dariusz Sosnowski ; ferruh.yigit@amd.com; > cristian.dumitrescu@intel.com; andrew.rybchenko@oktetlabs.ru; > stephen@networkplumber.org > Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh > > Subject: [PATCH 0/4] introduce encap hash calculation >=20 > This patch set adds the support for encap hash calculation. >=20 > It is based on RFC: > https://patchwork.dpdk.org/project/dpdk/patch/20231210083100.7893- > 1-orika@nvidia.com/ >=20 > Hamdan Igbaria (1): > net/mlx5/hws: introduce encap entropy hash calculation API >=20 > Ori Kam (3): > ethdev: introduce encap hash calculation > net/mlx5: add calc encap hash support > app/testpmd: add encap hash calculation >=20 > app/test-pmd/cmdline_flow.c | 57 +++++++++++++-- > app/test-pmd/config.c | 30 ++++++++ > app/test-pmd/testpmd.h | 3 + > doc/guides/prog_guide/rte_flow.rst | 22 ++++++ > doc/guides/rel_notes/release_24_03.rst | 4 ++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 +++++- > drivers/common/mlx5/mlx5_prm.h | 8 ++- > drivers/net/mlx5/hws/mlx5dr.h | 38 ++++++++++ > drivers/net/mlx5/hws/mlx5dr_cmd.c | 23 ++++++ > drivers/net/mlx5/hws/mlx5dr_cmd.h | 4 ++ > drivers/net/mlx5/hws/mlx5dr_crc32.c | 78 +++++++++++++++++++++ > drivers/net/mlx5/hws/mlx5dr_crc32.h | 5 ++ > drivers/net/mlx5/mlx5_flow.c | 29 ++++++++ > drivers/net/mlx5/mlx5_flow.h | 8 +++ > drivers/net/mlx5/mlx5_flow_hw.c | 66 +++++++++++++++++ > lib/ethdev/rte_flow.c | 25 +++++++ > lib/ethdev/rte_flow.h | 50 +++++++++++++ > lib/ethdev/rte_flow_driver.h | 5 ++ > lib/ethdev/version.map | 1 + > 19 files changed, 470 insertions(+), 7 deletions(-) >=20 > -- > 2.34.1 Series-Acked-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski