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 55620430CF; Tue, 22 Aug 2023 12:36:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE12A4021D; Tue, 22 Aug 2023 12:36:30 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2089.outbound.protection.outlook.com [40.107.244.89]) by mails.dpdk.org (Postfix) with ESMTP id 5B5D740041 for ; Tue, 22 Aug 2023 12:36:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LaggVx6V2UZ1NowY9S4dpMreSKtCFyH7bC7Pv8q1F6lRjiC8B2sZl7e4s5dtJ1jvpcoVCz9mAU6d6lwwxKVXjj6VhFeoRV2ZP7uSTht5OL4QvfvMXzOFH/agjCYeHMgl2/RdwGolEZa5MnRi1ZBleMipPxCJvqGF4LT8ACrbajgFj/qxaaK+jVOB+ZXjxXOVhuE101P1OsDaj+9T69Sb9UMZP0ri0sgLvT4RrebN7KU59PiC/9FbaYQNXyCLTlJdPxMsxFAvN+fHDJqsa9Xh99bMeEEoPLfsqoDCYYfTb7gMLdO8znKP/3OSSN67zs+STjaeJP0BxdGtf+SbUF1SeA== 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=L5vDSyrpQXhFXrvwe60CT5Dt0LQjHZWHWI9eZjqYquc=; b=SB8lB5joPYnZOCmH35YJ5PpG4AymeyhSNjkzm3IgdMdAAUuxmqAmBeeJdJBNXoLIWFJfE6fCD8kV6gvhO8B8PY4/jam/RlSE+Gh68m10rXXkUgZJcglNL5X9injkMEwqGsV/QdUDWF2Wfe4b2jMN1Jhz8Edh5pKPGd403v+a5jrs8P1ISEmyZPnFJPuz9csZDGjz7AKsd98J1CokL5MHfT7MCejK1wCsi9FM7Vj+ivunsEs3/Wm2yHDiOMiuu5jm00oS2IqQUEVI2/4KXkILt5xiQipeNOgePbm/CDp2oFFLPfVsP5XrdwkGhrpGz+DJsquKa9vq6TdIfe5xKJmHjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=L5vDSyrpQXhFXrvwe60CT5Dt0LQjHZWHWI9eZjqYquc=; b=sjzT3PKfbeN5VWvqf26h8DvM/0KTVrjr/OqyOGQJo1cpwIQCdq08qrDKe3o+/nGmvtuQz/IuYDpa1atQZyeoBh9xfB9+syhCeKxoGuhqlfXc3zVO4bqJQVSZ93mcmE023GOhyudAZx8+mu0vBy1RD+cANeVomJoSYsA6yyvhIf1fR/Wd9SRVj1aDnGt73jO7L1iPoUmLAioYWL6Ly3zlscPqPfkxbRhhT6UMW96buNGEwdQA773Hkg0eQ1VkHILUOvt8YP8UFbXJo4X/4i6wUyBw6c4NVbYwGQkGcMGzhSK2ZoKUWJwJHGFC+J5SVk0arXBrXi6gLPqTkyQidGsv7A== Received: from SJ0P220CA0029.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::13) by IA1PR12MB7495.namprd12.prod.outlook.com (2603:10b6:208:419::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Tue, 22 Aug 2023 10:36:26 +0000 Received: from CO1PEPF000044EF.namprd05.prod.outlook.com (2603:10b6:a03:41b:cafe::7e) by SJ0P220CA0029.outlook.office365.com (2603:10b6:a03:41b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20 via Frontend Transport; Tue, 22 Aug 2023 10:36:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1PEPF000044EF.mail.protection.outlook.com (10.167.241.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.15 via Frontend Transport; Tue, 22 Aug 2023 10:36:25 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Tue, 22 Aug 2023 03:36:11 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Tue, 22 Aug 2023 03:36:11 -0700 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37 via Frontend Transport; Tue, 22 Aug 2023 03:36:09 -0700 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH 0/2] net/mlx5: add random item support Date: Tue, 22 Aug 2023 13:35:58 +0300 Message-ID: <20230822103600.3247680-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044EF:EE_|IA1PR12MB7495:EE_ X-MS-Office365-Filtering-Correlation-Id: b081c1a4-5781-48cd-abdb-08dba2fba2ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T4vdOqyPB4h4zFbQMCxGhPWjJwgm+RQ2jFmd6oxkCx7n6MU7h88YfWdAauQp3XJuDtcCEiW9oaF/Z++mYjptEVHF2mM4pxAj6KX5yi5aLD30uDPR3GFZzkh7NXd5t/cqITDR17z4XeqX7LarIgWe3dpxdXvhGaMUnqQC8klgxghAwPGPpuPfBFitn6fVEm5+uPCVxSbXi4ZQD9ReRVt8DHFyqHuhheXQTpEcspKF5yVyow2Oq3p/Pin/14f7Kz3TLc6tB38JgMLN3NQr51pv3/qsAcBLS3dI1jDueCa1bz/UtAxhJucbaOrONVEtpL+hXkKn/FT7Sv7wX65GP+tmHV7x7x3+hUc2Veae/ASUZPtbAXxhrrgqpitFg0QQubU/Mt0sB+HhK1GWYqTShKXJfKWh1cCZFnq4jqJ9rTQXmQjtQ7LbP7AdjIeqWh2haIvl/IDnJqTwUKye6yvI8oCSkrliJ7hcG+9pub0iGL06n39iH0z0pAfCjKPagbi8wltXBnMer8Flf4WK8uj9lAw/VKoQsa5V53xkAy0BnTH/Y0S89at2jMBMzOX99tUIU4V6uR5usit+NKYI8QYa5FQoBuvH488mzAMIUaSSoUfXIoyZB/L7vxn48g1GhcQpXEFnOwhdF07BcFXSFHdPQPn9cOqprZpanyEu4BuUDeHaBkBdxphZNPy95UJq2MbatL1cjETHm2j+2+2ZyhkElcocosk9KjZvkV8opUqbQefjGVQ= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(396003)(39860400002)(376002)(346002)(136003)(451199024)(186009)(1800799009)(82310400011)(36840700001)(40470700004)(46966006)(86362001)(5660300002)(70586007)(2616005)(41300700001)(4744005)(70206006)(2906002)(316002)(6916009)(54906003)(8676002)(478600001)(8936002)(4326008)(40460700003)(6666004)(7696005)(26005)(356005)(36756003)(7636003)(82740400003)(47076005)(336012)(426003)(36860700001)(1076003)(83380400001)(40480700001)(6286002)(55016003)(107886003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2023 10:36:25.6226 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b081c1a4-5781-48cd-abdb-08dba2fba2ef X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044EF.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7495 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 Add support for matching random value using the "rte_flow_item_random" structure. Depends-on: series-29307 ("ethdev: add random item support") Erez Shitrit (1): net/mlx5/hws: add support for random number match Michael Baum (1): net/mlx5: add random item support doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 10 +++++++- doc/guides/rel_notes/release_23_11.rst | 4 +++ drivers/net/mlx5/hws/mlx5dr_definer.c | 35 +++++++++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_definer.h | 8 +++++- drivers/net/mlx5/mlx5_flow.h | 3 +++ drivers/net/mlx5/mlx5_flow_dv.c | 5 ++++ drivers/net/mlx5/mlx5_flow_hw.c | 5 ++++ 8 files changed, 68 insertions(+), 3 deletions(-) -- 2.25.1