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 094464383B; Fri, 5 Jan 2024 10:05:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1EF1402BF; Fri, 5 Jan 2024 10:05:06 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2063.outbound.protection.outlook.com [40.107.94.63]) by mails.dpdk.org (Postfix) with ESMTP id E5735402AC for ; Fri, 5 Jan 2024 10:05:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBaXL74J8TuHJoM9umHBUS0jhwc6tXF6+MYG11arOgnlyVTaAskFnYqg0Rz3X0ZUKRidcD3fg/pTMxJWit2LYpN3jbJG6lhiOZ3iK+SLOleWeEcjPUQ0pGoRJkS3SDvb/pegg2UJia70VBOm5z7ksGVA8wIhDutHP+Du0MO0g7SSIxGqmLL4Y0G5uhvZt1i16vzgVanE5Ykv6TH+QxHMtAnzEzzRkwXpajKTCYwzI6J5keCQgJCXgYEBFbQBw2xk6JstIWSnKGmSUrprapeCOnWT2HjWqBOwFSM5ZoDayfBL7jmrEJJRpmd+jT8N++AIgZ5aO+v0jXxePVyg1GGoFQ== 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=LH21Gx5jZS2BiwwBk4T4pIR8P4+pIHeoI/mRHv63dCg=; b=fLDWQM5m/UBVBIdkMBGSy9El5uU2/YRm/ElQAa0NNFga+S9d4SQTKyI6Ra+IwfFYA+3IW0I4Z0/upObW/vwx6fW9CJfAooxxoGGjT0IP9EsuuJl6UWURRlLABurKM7t0EEFG8+YlqhKxBZKzxFCeyg/b/ZZt0SJ9OnuO/SYp54COy3fFxBVMvl8ZCcb69sHooV02BSXn0/4wbLTPrYCt3VbHF1Z1pxLGFtwkfEXkoV8WBCVe/VYsW7gpKPHHcRpjfALraJgC+Kasx2fIejGRrmPtKFj/U19iruNbOugEpWeS88CXRP6xcqErGS/BvOMkqpQCxDHzhpiqKSD8YS+48g== 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=LH21Gx5jZS2BiwwBk4T4pIR8P4+pIHeoI/mRHv63dCg=; b=EJi6j/cxJe8J0qwJsNWNF40ttEWsnemMbjaDICMeSamshx9uTBVBAGX3ZG8jrONMBWrTkSKEkyhAoO7UcunXgywaKASGzwNHyLzW7TslZjwn+uC8TEg6pdCKKWvKFec+awRrT/mB0AV8/NQGPxbY3cO6TzdLAqgmw2RtqF6xe3VqnCarGhLCJlbuIEIjqEXWaec7bYuWqcOTAPoJ7mFjHAqOwoBR6jPdNqWoiJNyL34XkCvT3EbHcI4yHutXXim4lMQq06SoXOI+dioKobfJIRu8J6KZCjqjmFuo8zzCATgyIvAr0gTqi2RNBeyY63egGckJDc40ImJKAnnm7hPFog== Received: from DS7PR12MB8324.namprd12.prod.outlook.com (2603:10b6:8:ec::9) by DM4PR12MB5795.namprd12.prod.outlook.com (2603:10b6:8:62::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.16; Fri, 5 Jan 2024 09:05:01 +0000 Received: from DS7PR12MB8324.namprd12.prod.outlook.com ([fe80::7328:6856:2009:2cff]) by DS7PR12MB8324.namprd12.prod.outlook.com ([fe80::7328:6856:2009:2cff%6]) with mapi id 15.20.7159.013; Fri, 5 Jan 2024 09:05:01 +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 v4 1/2] net/mlx5/hws: add support for random number match Thread-Topic: [PATCH v4 1/2] net/mlx5/hws: add support for random number match Thread-Index: AQHaNxyXPEXLK320dUqsGX1OexKHCrDK/eRQ Date: Fri, 5 Jan 2024 09:05:01 +0000 Message-ID: References: <20231214151248.1654878-1-michaelba@nvidia.com> <20231225102435.2419716-1-michaelba@nvidia.com> <20231225102435.2419716-2-michaelba@nvidia.com> In-Reply-To: <20231225102435.2419716-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: DS7PR12MB8324:EE_|DM4PR12MB5795:EE_ x-ms-office365-filtering-correlation-id: e20dcd72-9bbe-4cb5-5219-08dc0dcd662a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o7YdOhjBcwQ4c1xtBhHz5OfKyhs2KIOSZkUfNY1wjyVZYvoMj1k00pep0spAIHK4O9LaPTXvK2/BZbXGynMPan5xj/MF0rtd+QF+s7bHprU09UdsznQeaykIX27dJzGow8eXv/66+XgnwCu4a/s7rrdLq2jk9JVqI7+Ht2ADXkBclnNwZLwq6i71AAgq+8otxDR3u79w5rfP0mB6xuiDOGW2e7V/GNsDLAfNolZ+4D6LtP6K9XopeNcL1YMbS0u+DTu11EOHXJK+Eje8b33O6mdk4cnaDpdzRCTUanE3r4cWw0mhq3kvY6uJcyzHVEt8veWLdVQM0LrdFgcc8+ngURWM6URLCsuT7wxZ8epxkupscAselN6L79fOkxzZWh3UqD92WfFKWsvyCw9LRvoZEKa7SQbnMKi+W1djcj2qKJ/UaB4vX4GLvOTqnlhhuUq4vB5+NS2Eto52k6tuoRRa8IPL0y8o+vCkqOIa9bgG25+eQ/9V7RoBWzrdygBHi/c2ykqAqrZs1B+ZhMHicr6T0rywCIJ3kVk1/97iFpcF5tMM8uwHjInzxDzFK+RujJs2h9hdbWHE+XppXhQzBqIaR6siNPgGOW2bXsr9qtMJwU6Y4PdHPMHqgb/F/tVvl2hQ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR12MB8324.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39860400002)(376002)(346002)(366004)(136003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(66556008)(66476007)(66446008)(64756008)(76116006)(66946007)(38100700002)(122000001)(86362001)(9686003)(6506007)(55236004)(53546011)(71200400001)(26005)(107886003)(7696005)(5660300002)(4744005)(2906002)(478600001)(110136005)(33656002)(83380400001)(55016003)(54906003)(316002)(8936002)(8676002)(4326008)(52536014)(38070700009)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vb/WcPk1VadifQYZis/ZiYQzvX/2Zaar1ECT+hjIr1BfBkzx8t2Oklol5zME?= =?us-ascii?Q?gMrpyZumews3q1arNpLnnFQpiLWoxEOMq4vYpuzirSvmMD70ewu3lMnFNgwR?= =?us-ascii?Q?4vtBYOUfR/s7NScVY2gICofUU4mJwSQbW+UiTAmXrlo+r2LaXlXz++F52Cmz?= =?us-ascii?Q?bsClHaGnVxMkPWO7wOxElwFQzubcLwwTyihEmXLZ2F5A1IUEhp2Z3rMxipH5?= =?us-ascii?Q?eiVvZYNQvQManW9CNcPcluysACrQZX/C1ul28osiROCvEDVpie0X1habdSO2?= =?us-ascii?Q?aQ4PGXczTz6zvnKL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w?= =?us-ascii?Q?M1co1xvpUwI+5IZFDwNN7TkDPEC77KTMKHe5CKc2BL5M62JPEr8M7y8A/3wW?= =?us-ascii?Q?BzYeTM2PDkuhx55Q+rdTxvvW8hOY+EJkV08c+2OnhqkLlGUpI2dCOVYdUaw6?= =?us-ascii?Q?Jsv9Tm/IcuuS9+08wGBBkBSAMSMD2Ts4VrtavaZIgZCFaPzgUxI2UUeqxNES?= =?us-ascii?Q?ATT54ouoONTn0RRm5XmeKSQXa6J0+orLrsouoYB9exx4ulYMHbm2l8L0f5/q?= =?us-ascii?Q?X9Wdm25a2dGQ79jJD3cfyBfYCrurbRlShh3+x1ub+dxbyVryVWdKRnDy6S8R?= =?us-ascii?Q?fg+vLnYAiZ0gk6jPVrb3DLVKMRCOfKBn5Y3d8ObMf6lElfRUG8Rpse6tMNom?= =?us-ascii?Q?sp8cqjHqQip9gQxYx7mZdpq0TaHKgsI92p14i4vU?= 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: DS7PR12MB8324.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e20dcd72-9bbe-4cb5-5219-08dc0dcd662a X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2024 09:05:01.2931 (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: 7vG6eLdQYgFMIE329NE7cOC4OP3+XRfy3J5siG6WTaTkzDBBQGe7l6IZuS2lM8c78dF3DwAMJCSLXeLzzrTiiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5795 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: Monday, December 25, 2023 11:25 > To: dev@dpdk.org > Cc: Matan Azrad ; Dariusz Sosnowski > ; Raslan Darawsheh ; Slava > Ovsiienko ; Ori Kam ; > Suanming Mou ; Erez Shitrit > Subject: [PATCH v4 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