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 33CD1436AD; Fri, 8 Dec 2023 20:31:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 093DE402BF; Fri, 8 Dec 2023 20:31:14 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2049.outbound.protection.outlook.com [40.107.93.49]) by mails.dpdk.org (Postfix) with ESMTP id D6FE940144 for ; Fri, 8 Dec 2023 20:31:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bii/AL2tzVB0ihWGjgKWY8Hg5OT7QBEVUedEqYptQeSuz0v+31lBEwht1eEOr+0Dgt750vPliVIDlMbUMREHMIL4ip5QbUSdH9bq745eMyiAavZGU0d39RXTs0PLXf4dYbdY3VS8Ap7qYM3QiTocC3tMYPOPODhtMPKQzwYPdTjHkXTzEj4Yb+PhDe2r2Yf0BL0YcN8+ItV73slcSJEu33tUvN4KK2m6mnDggg9OIk1nemUKfmuhIcAxWJuMm9gkEiAiA1fXDBOJSI7RQpRiY6UE7zyfowr1u0F5NMJ+7fFhtqk43+Oufu9AJwuB3tFJ3bjVTAHQn9umH0ZdGAvu8w== 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=clApZiyQzu/CEWyOSFYL6tJ8oISQspgks2yqTZiTpas=; b=M03f9J9SjuKrUNsOGjkI3ZZI+PrDfe+42yhkDHmuXhe+VbeVt8s3FT0aIUXUJHVd2b8cDtecpXRKDXjs/9/oV5lv6nW8UyxfTZ7tZBKGrGTrU+PhDTRrqnBlFr36JTl4u+zkvx4y8uOk4DLtUwvaSGw5J6UCYTHAcH/wBHE3FftC8VjPt/siU+k+DPFJGZkdZzIYq0AzLIB8CFC180XIyfF2cnubI1RnGz1BI+VwMoiuGOFhb/2chvBRfWR7LG8xcc/ZvSdpyY3bFHwHefX8LDdH/BgW9+OaA48NNDpTS5TifVBmG7uQuNPcXjMEELcXLwwypYAX595GI6S6xA9Tag== 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=clApZiyQzu/CEWyOSFYL6tJ8oISQspgks2yqTZiTpas=; b=cKfGfs9FLDHmw1Pn+owHhH9+ohyKtOzcpPYbyFPEHthSQDu6ko1Xosf1xwBMcfQ4w3jcexbLUcERK5p+bokxF8emAZISGngso220CYJNzEl1D550SfgQfSRx8mdofaE1UI/eXerUEvh6TNXiHwolTWPMYYD1HSRpF3ri6T7ZZylYSzobjMxpD8d1fuftyxuGVwhF92yDHY5qqGxj44n9roOajnVIOt94+rgwk7z8E0MXZx6sAcKtItgeNdSlb2rOalox9KBtORnG/OnxRUGGEACM5APaSJ7ftffikZoPtby1RgFBaxtLQhQtTLwH9mbYgU84/KOOFFGIgD/7TvPUIQ== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by MW4PR12MB6950.namprd12.prod.outlook.com (2603:10b6:303:207::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Fri, 8 Dec 2023 19:31:07 +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.7068.027; Fri, 8 Dec 2023 19:31:07 +0000 From: Dariusz Sosnowski To: Michael Baum , "dev@dpdk.org" , Erez Shitrit CC: Matan Azrad , Raslan Darawsheh , Slava Ovsiienko , Ori Kam , Suanming Mou Subject: RE: [PATCH v2 1/2] net/mlx5/hws: add support for random number match Thread-Topic: [PATCH v2 1/2] net/mlx5/hws: add support for random number match Thread-Index: AQHaI6v2asyXlVMR80GQlzzWnMAGzbCf0klw Date: Fri, 8 Dec 2023 19:31:07 +0000 Message-ID: References: <20230822103600.3247680-1-michaelba@nvidia.com> <20231130164001.666702-1-michaelba@nvidia.com> <20231130164001.666702-2-michaelba@nvidia.com> In-Reply-To: <20231130164001.666702-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_|MW4PR12MB6950:EE_ x-ms-office365-filtering-correlation-id: bb4dbfe3-da3f-468e-813c-08dbf82439a6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u5nLM9KH+KJYidXJVwvr3qJkiXzl0U5T2qA1EJFqNOibr0vRev5IN3w8z9JCfwcGcM7EAeMuqkI215U3TUt+h8SGm1l43SlkMW0rgO3xnGUnuUITktjm/fHFjv3hfNttYpYV/HNYIvg4W1RKOVdGPN3mV/Pa1y/0zFj3rSmn5qJN+INtGE760w4jIFARgkcQaoYOGikGxmLvBLaDtnljR+1/uaNbY+a/Za2QOSBZhjAHHv54SdmRPGquXF+XNBYn1aH6czPFBbBaT9Hd6vWMdsyRcKvISQQZQNBRfQALdZQ4NDKzfXczG8/PLN060mhBmplAEnpOPuLBioCxZaTV2lmX3jMU4BjUd1eZwoe8tTPVpU2Lvo5RijY6AgAsa6+YcUyQv+j5dQ+dcGMmMzIcEBrmE/F9WgUcplj634JsviNARquBSXOJho6s5gRZd9uc3MKmN1SbPZJ2sZfNt68YQ+oTA2828SwfqWsepZ1D8ZoGgacrBWh22yWbpGifjTD+50PPhvwJpAwS1EFhJ5AtUYipxCvIpMO0fkkyQZV4pC/sibtWkaH5z+KMmgrkr+AMSRTNHZqFVgm0Q3Bjy9ynk7s3d3sLZw4QZGg/wAt/bg/gM9zWn6dmPMX80xLEbCrJ 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)(39860400002)(396003)(376002)(346002)(366004)(136003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(8676002)(8936002)(9686003)(41300700001)(33656002)(26005)(86362001)(55016003)(38070700009)(107886003)(38100700002)(122000001)(55236004)(6506007)(71200400001)(478600001)(7696005)(66476007)(66556008)(64756008)(66946007)(66446008)(2906002)(76116006)(6636002)(54906003)(316002)(110136005)(4326008)(52536014)(4744005)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sqGYl4pHdQjA7UEU5AyNObW1ol5n/CVYRJkY5RuTo8enxV88NyckVu4lazBl?= =?us-ascii?Q?56mDWcRVMHFpBr2Z2aDsZS3CThHbeu/Ox5O3MXi8DbLve/7fBPUup/5ps4ds?= =?us-ascii?Q?L++l3LlyXDqLl/hn3xTQa2Sfs2J1SBp4TXXQORuhNQUHQupS8xAi1MLvAym3?= =?us-ascii?Q?6HeEAcT2DQDdbPrpUrT1Rpb8mfL52MIhVa7pKwLMnglLTeaaac3w/dcNXEx6?= =?us-ascii?Q?c5dgn0TO3JfGCButOEGONLPoLjFqT5mXk4xAPu4cw/1+4wST/RLyrtU2A/I0?= =?us-ascii?Q?lJpdE9Yapo843kA0UK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vH0p3SJH6FQ5v?= =?us-ascii?Q?LjHzXs/yDlVrPjkqbWfh9TqXFrDYrK6gJjpL1JdEuzxRsOR1gc3E0SkdHkTx?= =?us-ascii?Q?cgRbTPa2IJXWRLeuiUiynydwSHa6N9t1dQbg3xCMyGYw+dtG1lvBJ6lIszDi?= =?us-ascii?Q?4LaD87UrSOfx5Dnh9HFIQzSSBCwQe6GBpmxBBKJayT8SUqVNYmU4eB4uGQP5?= =?us-ascii?Q?uYzzfgK3yQtIkkFFz1AnI/rTzLmUJAfJ57yaY9lJ7fyNSjMpvasBdAm9IDpu?= =?us-ascii?Q?WptNnLBAVXdnuawvp6RNbNk2JZIKd+BhEmEt3gWDPZ4BzySpFZlCw9Vnbl5k?= =?us-ascii?Q?QCtwblsJQ1l/coD4g2zMTtZ+F0MwhqazyS1TPA0XcEeewMshLAfJZpRzlp7w?= =?us-ascii?Q?P3Y/ANw2S1DKI9Vli7tm9lCqiZm+Dnjh51iDXavN?= 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: bb4dbfe3-da3f-468e-813c-08dbf82439a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2023 19:31:07.2624 (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: rbpedoGvLzIvqh4jr3RiGoIsSGsYk3mN5mH8mta/RnqddEJrHWgTRiuhk7N0dJKAj7gkMQTWYEiVMCKe/XBrLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6950 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 > 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 filed we will get half of the traffic in the flow, and so on with= the rest of > the mask. Looks like there's a typo - s/filed/field Other than that, LGTM. Best regards, Dariusz Sosnowski