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 EB2E743412; Thu, 30 Nov 2023 17:32:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 604C940277; Thu, 30 Nov 2023 17:32:46 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2042.outbound.protection.outlook.com [40.107.220.42]) by mails.dpdk.org (Postfix) with ESMTP id 1A46C40266 for ; Thu, 30 Nov 2023 17:32:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KXqz/Dv5+ArKBnVujZRPgnayeRZNP1tZinth9urwFuuNk86KAFryl5Marf0WYSE7omn5Tw6s49LGxP6O/ZJ6I6gkQltr32zhjhl6egDlqLRjpFQefq9BQWmCKmGdkmwha/1zGAAOLUtLQpxpatWgQkPdRhS7xhBCt8QrqwCLwWVpN26e5wA8OKAPsf++3x0zKZLV+RyxNMtuvy4oR1mC6+OM9z8kh+3Q/X8JAZnrqGXK4NuikIPUEvjB9jDgFysgB5nx6Szo4geUcxQptT+r0MSUcL8J4zULOK2WIwaumFc8EDIwEbBeduuEJRVNV85N572RTESGQdVnkrbzvnydwA== 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=1Pc+HcQ8oB4OQ9EXi8v3CnzOCvdPE+DcrbosVyqc6Mk=; b=ExyhXUncTd36n0ZV2Anit267Aw1tdoQ9jLcmKRhBjTh9oxks3AUoKTPdKhHszPwXFKA+uZSaVYqvpQClA+ohg7NDZxssbhdt7JtALamH4begZbFYELhhnYezkBsM9XAP3jghQBk1wpE70MGa+gN6r4ijg1lZuDfsn+EL2FrzPLbc7/NSijO19sd0/y9/fz2hoUCwkI7uM4FCm5qN7q5eVaZWYcGrBwV6PTTr6BDsf9eOtDf6Th8awz4Q2tRlW41BF+oituYmvElD/bdmEgB0auFCffdlJ9g2O4nkAE8V06xMkuoHfRD1s1DUfAqqor+JhNecX7paH5mUXBB3UqXkrw== 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 (0) 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=1Pc+HcQ8oB4OQ9EXi8v3CnzOCvdPE+DcrbosVyqc6Mk=; b=plnKFcp/H+0w1okV1AeSTPzlHiGpe0q+tMGY+UqzB/OiIlVktv4c5CTsRCmPGfLag/xtrdtvsGKmIRA1G3CeX7EaBtKINDlfjossOUPwN2gQBYtt8fswW0PfF4VSUdRMFJWGQKYD2iZSkNnbE5wtsu7A5jV4Uf7MQHH3zegVLbjH4oLgrr7rh7FUewFbsgQKGSnA6kn8I7W2tEFIDUkEFCr0PLV23JR/gUAvVgwkdgaqeT3KaSvoisJnyKWJiZ1929eq/Kmk2UOX3gQYC8xnpHZvnQXCh8brO0zFx0r5Da9zq1dO7CV8Q72/mFIWTbGXQbtIMYQx6wR6Hr4FrDy9vg== Received: from MN2PR18CA0002.namprd18.prod.outlook.com (2603:10b6:208:23c::7) by LV2PR12MB5871.namprd12.prod.outlook.com (2603:10b6:408:174::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.23; Thu, 30 Nov 2023 16:32:40 +0000 Received: from BL6PEPF0001AB71.namprd02.prod.outlook.com (2603:10b6:208:23c:cafe::ef) by MN2PR18CA0002.outlook.office365.com (2603:10b6:208:23c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.26 via Frontend Transport; Thu, 30 Nov 2023 16:32:40 +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 BL6PEPF0001AB71.mail.protection.outlook.com (10.167.242.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.17 via Frontend Transport; Thu, 30 Nov 2023 16:32:39 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) 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.41; Thu, 30 Nov 2023 08:32:22 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 30 Nov 2023 08:32:21 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41 via Frontend Transport; Thu, 30 Nov 2023 08:32:20 -0800 From: Michael Baum To: CC: Ori Kam , Aman Singh , "Yuying Zhang" , Ferruh Yigit , "Thomas Monjalon" Subject: [PATCH v3 0/2] ethdev: add random item support Date: Thu, 30 Nov 2023 18:32:13 +0200 Message-ID: <20231130163215.666239-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230911074149.697944-1-michaelba@nvidia.com> References: <20230911074149.697944-1-michaelba@nvidia.com> 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: BL6PEPF0001AB71:EE_|LV2PR12MB5871:EE_ X-MS-Office365-Filtering-Correlation-Id: 8fad0bed-f592-4369-f7a2-08dbf1c1f868 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z1CjxmeURTKfvptHvlRMfkLiLZ+RuG+Ws4Cck6yVog9IyZJE+6swVSXQQD1dzn1qSlKIrlYf3Uj7P9K4Q3PFYLgnr1x6MjlVBG8hwOnMlNqsn1DFH+L3Qx6EP7ADjA4es+S6wk5riMbZzTGXwBDYyWLUDTn21SwVCQ2FJpwQYK+6zZhXUueh0pSmErKO5xwzmqeoZ/BrXs1bYgJJz0Yqsvuo/rO+V9VrpOQnavzADptxmj9HEhfQk7DgGGk1z5gHM8gP6wx+TXMBmE+mS46eGFNgOB4nRiBMGiLB0QFzS7eCwwmrVKczvtFDvAckDHBMaZpN3OglD2Ew4tx24w44Ew0JHXZLFbY6sY73iAB3ZMSSmpP6WAH6KddR/F5ZvMF/s7tHmVzBKz+2cHLHjJS0qj0zKqBmX9K2egqnMtFOJDHrJsHeNKL1UIZY82FR7jhIOgT6GlOBcFT0h6+6UOfQkKd0Nl9RUyRwFm+6AXyYRJYr+gGtqti1VMiF8mvbQTzkIr4V+2VacEjjx1WGrnuGLZQBQZxcJ/DLB5XqRRdvhUifGQKhghxxppjwEMb+Y26s05NeQMOAPCMShv3AmlojLJv2ygzW/K2YH+Ze+2O1aFtsOdxKHzPO12j+/+5Otdd7e7F2BsNK8gTsWd8SJL6NjadFjvgA4vCr1xRUxfoD8GDV4GorJKdqWs2dPdDEER7rodEcMAUQMP02MxadD8Vc8W6XsdhG7qh57b3Han2DmsSC4OcpTPKHwxXvKU4qB0sS 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)(39860400002)(396003)(136003)(346002)(376002)(230922051799003)(82310400011)(64100799003)(1800799012)(186009)(451199024)(46966006)(36840700001)(40470700004)(6286002)(1076003)(478600001)(2616005)(47076005)(336012)(7696005)(26005)(6666004)(83380400001)(2906002)(426003)(4744005)(54906003)(5660300002)(70206006)(6916009)(70586007)(41300700001)(316002)(8676002)(8936002)(4326008)(356005)(7636003)(36860700001)(82740400003)(36756003)(86362001)(40460700003)(40480700001)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2023 16:32:39.9636 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8fad0bed-f592-4369-f7a2-08dbf1c1f868 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: BL6PEPF0001AB71.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5871 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 new "rte_flow_item_random" structure. This random value is not based on the packet data/headers. Application shouldn't assume that this value is kept during the life time of the packet. v2: - Rabase. - Fix copy-paste mistake in release notes. v3: - Rabase. - Move release notes to the new release file. - Improve documentation. Michael Baum (2): ethdev: add random item support app/testpmd: add random item support app/test-pmd/cmdline_flow.c | 28 +++++++++++++++++ doc/guides/nics/features/default.ini | 1 + doc/guides/prog_guide/rte_flow.rst | 13 ++++++++ doc/guides/rel_notes/release_24_03.rst | 4 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +++ lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 35 ++++++++++++++++++++- 7 files changed, 85 insertions(+), 1 deletion(-) -- 2.25.1