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 7FD3B439C1; Thu, 25 Jan 2024 13:37:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 002EC402AB; Thu, 25 Jan 2024 13:37:32 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2070.outbound.protection.outlook.com [40.107.244.70]) by mails.dpdk.org (Postfix) with ESMTP id 3315C4029B for ; Thu, 25 Jan 2024 13:37:31 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fUoOy0Pv6J3wUeDq9z8l+q0Ec70nlHKVywNODEIoRwMTKjFD3y35PRVagGW4WJ9r7SmWb3gSkBfDIrdFWvyuYnR/k8UJnwHeJzEzIA6STNp28DL7FFUFU/qzcFW70+T6FtXBSOCfDDVuTZbDYrGs05i6IBqPit7h9mBgNdaFv4vyt/zADKpXfun23Jy62P/bdwxzaQxwCUIQH69XTtwplfESxHDy4eYy4iuWG/K6K9Y7MP1B7tCBE5mXtcLulWKKOfPtc6BxPB95ct7pxWX5yus8kyzF9ZffoWZrvr4KXnidDqBxTl1kLt72/aPm30l9FnRuOrTZkaZxMujanygWag== 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=btj1avuOQ2fnEzLxT9kEk9f+7fgt1GG1WJ/bO5DRQNY=; b=Gwyxuhp0XTgk5n9UPbn12e/9OWTruSM9cFkgvq2e6GXEC+CKeU1ib37gNMWW2/XUTR3mA/JCJEYj//M0pZsDzUieiJFhZ8avmskkcA+rixgnjU0bdMS2/EvwW9sannAVqlMx6Vs7bCQJjskDtBwSdJ3jUvH8lUE5FYE8QSNoKkCs6AhVmRgT+ASLLn/bz5M+lxtKgNfUFue4f0AE2n4VqAw48PFhtFhUuP6sPDXUNJ3g+BX3CNWmRtM8xB4rAoQq8gV14N5l562Kd6WfYDKrUdZfK0KjeJsOH8Knq3N/vTugfKiCiiWnVCHpP/Q1bPBCjWnhupaQHqumXSfm0DlB4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=btj1avuOQ2fnEzLxT9kEk9f+7fgt1GG1WJ/bO5DRQNY=; b=F49qPzDmzStk2xjzMJC9w+iC4xlIG8g/dSnODnT53CKeetbjgxHl6PutHm9BbXtldpPU28uqEZRrLuGFxIOI5Evy28A527Z46CtAuP0JT1mKmZKmbuimmLHMS7M8FfhMKupaqNQ1qgYCT8pHmYloac9+qjC8eoa+MeS6m363p0mD9SlhcLk5JWa8+PBGrj8ttIfJXn9Rz30K2z55+mMVr6TddjEDr8E3ghPza+qHNORNF/39QBGTPRnK58zbvBVGDOsKOIPJTD7slzx4E7fKxGPOkr0OvOMMUtmdqbtgoe5w4VP7gd0JCyCmn2INv6G6QKQ/wzDLk5oTTGTtHNDROg== Received: from SJ0PR03CA0266.namprd03.prod.outlook.com (2603:10b6:a03:3a0::31) by CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.26; Thu, 25 Jan 2024 12:37:27 +0000 Received: from SJ5PEPF000001CA.namprd05.prod.outlook.com (2603:10b6:a03:3a0:cafe::1a) by SJ0PR03CA0266.outlook.office365.com (2603:10b6:a03:3a0::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.26 via Frontend Transport; Thu, 25 Jan 2024 12:37:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF000001CA.mail.protection.outlook.com (10.167.242.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.16 via Frontend Transport; Thu, 25 Jan 2024 12:37:26 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 25 Jan 2024 04:37:15 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail202.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.41; Thu, 25 Jan 2024 04:37:15 -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, 25 Jan 2024 04:37:13 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v5 0/2] net/mlx5: add random item support Date: Thu, 25 Jan 2024 14:37:06 +0200 Message-ID: <20240125123708.571526-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231225102435.2419716-1-michaelba@nvidia.com> References: <20231225102435.2419716-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: SJ5PEPF000001CA:EE_|CO6PR12MB5427:EE_ X-MS-Office365-Filtering-Correlation-Id: baddd944-15f5-4bc5-cdb7-08dc1da2636c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mu0DsE6AA5wSaiq19qsBTVYAJ94g+8nZqZmebpDgY28VcTnmDwhpNoEzrAIYvEMS5zDceSAKVYnByWLAZplWVpl/4IbfAETtDKNdu0bmhz/VVwA8QL4O6CqZ//yg++5fo7KlLdfi++Z2TjffA+OA1Vn1MV6Vd+VRyFvrieubpLJ95KwARe69311M7GLRiBKbq2R134+76cEuoFyrZTJWrgxlNXw0YE66hgLzQGGvJbxTNMv7v54VDWbEsstf50VKuEt7HBx45Xw6wnccwu9wx6rRwkecc1CTVDkNC+5HUmaVvmFoUXC9MpHFeD1g2Ud5IeKMg6wcmnr19PNO+pLgluTAG8t9Gd88jXvQxpn/wgfPz2evaYqiY8MU+ro6q3m+AowPCURRbiZCyeUT3Xx3bcrbQ0LYpKMeXp89ma88Yaj47r/nW9D8mAgeVN1Ev3r4twGK8KyycIlpRsP7RKX6Q6BzehYDe8zlfPgmQu0KqrygJegW7dV8uxkbDGjKgSH+ZUVFjDq6Me3EtNJVrxHB7vX/3foC4M5zyJaJLlp7mxveXqbQHyMQg7+Pi9udCWZ7w6MilO7oeeHqlwLe2+j2EG/LXlpApLrOCV48B32r9cBcJf3I/iashiIsA49sgIxVEE98IjwO+bQpE2TQW3agIsSyb5qGLZeMTK4/HbTm2QDXoYxT0JbWQxWJT5ryhPIJkPZWUpGdrPUcFrNOf0IyCGnLGeVWAvHrSbOM0jxDmZhmGG8ZGNXM9Rg4E1sgHXh7 X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(136003)(396003)(346002)(376002)(230922051799003)(186009)(1800799012)(64100799003)(82310400011)(451199024)(40470700004)(36840700001)(46966006)(83380400001)(36860700001)(2906002)(47076005)(4744005)(36756003)(41300700001)(86362001)(7636003)(82740400003)(356005)(54906003)(7696005)(6916009)(316002)(70586007)(2616005)(478600001)(70206006)(426003)(6666004)(5660300002)(336012)(8676002)(4326008)(107886003)(6286002)(26005)(1076003)(8936002)(40480700001)(40460700003)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2024 12:37:26.8343 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: baddd944-15f5-4bc5-cdb7-08dc1da2636c 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001CA.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR12MB5427 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. v2: - Rebase. - Move release notes to the new release file. v3: - Fix typos in commit message and release notes. - Update limitations. v4: - Fix using same value for both "MLX5_FLOW_ITEM_NSH" and "MLX5_FLOW_ITEM_RANDOM". - Add "Acked-by" from v3. v5: - Rebase. - Remove "Depends-on" label. 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 | 9 +++++++ doc/guides/rel_notes/release_24_03.rst | 1 + drivers/net/mlx5/hws/mlx5dr_definer.c | 33 ++++++++++++++++++++++++++ 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, 64 insertions(+), 1 deletion(-) -- 2.25.1