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 2730B4372F; Mon, 18 Dec 2023 10:08:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE7F140276; Mon, 18 Dec 2023 10:08:49 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2040.outbound.protection.outlook.com [40.107.96.40]) by mails.dpdk.org (Postfix) with ESMTP id A27DD4026A for ; Mon, 18 Dec 2023 10:08:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iP0nh3hlPanRvdtn9Lt9u824JPprWIGOXSQCX5ttfHPF8LUw3s/t0kxo7OzPczbsuaXq65DCaqkWvwdozWnEYr2MNwqfKnKqjhkyNDIJXeyVbELagTUhkpk2pMZTKgZCxflAPoOuSQEXjTyYf1YIbLKN/alpUCg3Bx9B89PGfE4ytBPAJWTk5EnfTOdwhzIlJRYtDez453HenS8vrQgdw8z+JjqgeexIHsV9zTmjUc6/TvZ2r2vdRvyEpgguODI2mB2DbCCzJCJ3z9jo8R6zgsGGghurSjHsyi/bceOP4qPnyPl82gmlW9l1B/ytIi2Hro6/9LfuLXxzaWfNAuGxkQ== 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=wlb4cJiOhW27cB4QjVFyXhCx3YjhVoz2SIlR2aIbKmw=; b=lJtsXx2b+yamWSEvnE+mdzdPXluMo1YQBI+zKyU/pM/fJMxrBIxXr1b8TQbyH5c5Q3etQwTPDRP0I2am9zxGnd/4wzgaBFvepCjKzkBeSc913UgIAwLAOG9loMrxKCfO1igaIH338FGIlboQlCLASa6/RoL8xMTHCYjxSOd4wDmfV1XGVCqUD/CHDo1Bm2NgsWLqb+mK7ME23eP53LG5a5u1OEcy+cIgYY1fTdIZ9cEXaOYdv95iJ3lTDPn9XRLWm0Zgj3RZ+YtEmPqG57Q17hrrKXqlrwhc0Ookdfm/nhgudh0xqEeI7Kudl5s4uoLe8eeu0ovlduIb7CHPB5Mk9w== 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=wlb4cJiOhW27cB4QjVFyXhCx3YjhVoz2SIlR2aIbKmw=; b=K5R/Fu0auNUBLLtAUaILJsn+vSEvotEr08VY8+0jJUu+AyzzGz2h50YQScR9N/VcScVuRkCVVP7YGVXnlrikG80XTWLNGnVvmPlsu3v+OEP8ZIqq7A+qJErb3Dm7e739ZCGnX43j4KSJU04EKTnyumCr0U0Qvns+OjJPgAN+YL3Nkdn7kIXv7a/W7gLpv+OvEsMIwWSvMYPEBgHEBp1Th7cSFWWOTqwaURjJ0fUOmSG3nt2lKLxt+mLMvuTCc3LWkt36Qcp4bYZlp+5OPHQtrDl8JH2b/EKMoIzm0W9DECMSH5NKVzxEfYjTtj+mEu2qLKKHoelVpk66RJqRzoxwOA== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by CY8PR12MB8338.namprd12.prod.outlook.com (2603:10b6:930:7b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.37; Mon, 18 Dec 2023 09:08:46 +0000 Received: from IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175]) by IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175%3]) with mapi id 15.20.7091.034; Mon, 18 Dec 2023 09:08:46 +0000 From: Dariusz Sosnowski To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Slava Ovsiienko , Ori Kam , Suanming Mou , Erez Shitrit Subject: RE: [PATCH v3 1/2] net/mlx5/hws: add support for random number match Thread-Topic: [PATCH v3 1/2] net/mlx5/hws: add support for random number match Thread-Index: AQHaLqASwVeJdWF+Yk66QzVPH3C2sbCuxeVw Date: Mon, 18 Dec 2023 09:08:46 +0000 Message-ID: References: <20231130164001.666702-1-michaelba@nvidia.com> <20231214151248.1654878-1-michaelba@nvidia.com> <20231214151248.1654878-2-michaelba@nvidia.com> In-Reply-To: <20231214151248.1654878-2-michaelba@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_|CY8PR12MB8338:EE_ x-ms-office365-filtering-correlation-id: 839cbc71-eb4a-40af-c820-08dbffa8f0bf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iz1CTX+upuL4WIrT+4KieJpyrnDgtmq80Hjndv4dVpoj40rOomZ/zaFGfecekJdKv1CDJpYlw7eHG/RvhzdDcalLdcdRSa4IX+0qs71gYdG+GYISOE+n8bvbrSCZtgkp3MdEsncc741VuYDKsbFCU8Rjpuxi+FwhKyozZu2bBiIeBywL1fxfqr9XaPv2gAmdDcT8tJ3hN7S2vNdaFAmX9gv0+ljFhdoBiCg+8QjhiZA9U3ZZ7S72bOaFrT04TjF5v6vLnAAHxM/IPQkZaenPnj3gk72rCrjgw1WF7FoumLJYLcAge4yxsh4AOuPULOvKqI2tnLGtLOIY5LjhNBD9IJq6P0IAsqhZxbl3mbXm8E86fMebCjO1ILeo/B2XA50qCKhCKdL7HwA9QNS6Tx1pB2B16Q+K+BPUHCKUVrVRJa7isUwZKnbwCuCCBpiE1/ZceAtqxcRHWoUe/vaGVrRyVdWq+QuAlhBrY84iUhNNQUFOJKH3G2ytyPWyfpdUdV/KB/Y3UVs+LIqmxr1BBQxOxAYWfAMzuAwWSPBpwHLfP7HqB+++zssD5Qv4U0yawnhOPLspdkoecmXkfvN3AeDtymqXdaddibJC2Zu3UDZNDQsRpyQG26ayGf04LMpWGN2Q 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)(346002)(366004)(396003)(376002)(39860400002)(136003)(230922051799003)(186009)(451199024)(1800799012)(64100799003)(38070700009)(66556008)(54906003)(83380400001)(55016003)(76116006)(110136005)(66946007)(64756008)(66446008)(66476007)(4744005)(2906002)(38100700002)(52536014)(8936002)(4326008)(8676002)(5660300002)(71200400001)(53546011)(7696005)(6506007)(122000001)(9686003)(316002)(107886003)(26005)(478600001)(41300700001)(33656002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EAe555qzp25GNtx2cNF4omgeTGsX0f2B3TGkg/S9TOcnnOsJoHdZAfurh8l3?= =?us-ascii?Q?OJ+zrB0Dn/MCKIVKZfJaAsc9G5PETXC4bw6zwc3QUpPE1eWx/2ztwkxN3ySb?= =?us-ascii?Q?TEarjZbjO7BUofrLv4PbOhhUWCLg3g3wLMvKWPVR/a6lwW4vDz2GrMFFd74t?= =?us-ascii?Q?pB4Ne2E6iXkQpHjYzGdc7pEmgyTaKcUpv0BhXF04uJkIt3hSsQ5EUXLkjPoY?= =?us-ascii?Q?OQpN2xWMpszyjsqxZOKiBjlaW88DbVMUSumg7woanBWnI23KgMd954YQ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81eCROx3TMFFbwDwgPqZzxdkvaupHBR6zoEHiahY9l?= =?us-ascii?Q?/1uJUyGwxDMJkztc1x9PKpjnkjYaY1xmAoFh9mvcgDsR/qbvqdMp/oBhdbFd?= =?us-ascii?Q?HAqpqVZmtxTDjKM/pVSlHQBIzehqXG7g5JB9PNMyFu08JWmwyI/eHVvdyW5q?= =?us-ascii?Q?5B585cIOO2QqvpkQzFh/4IwFKfHQRtswxJMmPPl2uj60dGepAXTZGYh5ufSh?= =?us-ascii?Q?oyuHVp9HyoiVPKEkzrt/yruwBBlCKzj+Zdh41KRbGUBHYaHh5Xwi1B8+9SUL?= =?us-ascii?Q?hnoQCuULEu4lrNfY/3QvyMjZENTpG53HBRGXG11SaqmLw9sTiBAWZCjn6t50?= =?us-ascii?Q?uFuUpPbEU/YT7ygZqM8ASTJujpZvTZl/YKHiSJmgqKfCyFkLaOK8UUD47J77?= =?us-ascii?Q?aCH6HykiaV1ZiuZUGtdcUggyvU6iTuy7Ne022sTN?= 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: 839cbc71-eb4a-40af-c820-08dbffa8f0bf X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2023 09:08:46.1637 (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: vlughGQSBUtydUbkGL+YZ04OPHRMnv/FijueZTtSwxo7CpzhYrRV4fqVXaJJDmPChbFzJGxVBE5ffDPskeO4UA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8338 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: Michael Baum > Sent: Thursday, December 14, 2023 16:13 > To: dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam ; Suanming > Mou ; Erez Shitrit > Subject: [PATCH v3 1/2] net/mlx5/hws: add support for random number match >=20 > From: Erez Shitrit >=20 > The HW adds a random number per each hash, this value can be used for > statistic calculation over the packets, for example by setting one bit in= the mask > of that field we will get half of the traffic in the flow, and so on with= the rest of > the mask. >=20 > Signed-off-by: Erez Shitrit Acked-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski