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 0149F43787; Mon, 25 Dec 2023 11:24:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72FFC402C7; Mon, 25 Dec 2023 11:24:49 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2068.outbound.protection.outlook.com [40.107.93.68]) by mails.dpdk.org (Postfix) with ESMTP id 758FC40297 for ; Mon, 25 Dec 2023 11:24:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mt+SwdGlG7OLWq/zE+UjPU8CwJwXI5UNEjEy00mPBlKFHihjx+YuG+YXofzRp/Ppq9fYCWqE9eFzY/ZRpZPDcI4nGuBK+sy4YIqeghwEhMNc96hkMY4Fe4CxQh88F8G2FlyzXvVTn2TPZ7Fvd6eHZeK5GSATsT4RqM/XkD/YRzu6XOc+8XMVba5IY/OZyU0ClG8SOthVqLbeqe4u8uYCdQkdr0wG1eYeBYYkPVQnbPm6kePsHYbWj/V9eWzC6r3dQlEXaR05hnQXXNzn3s9InwI9zmCoyZ9aBypsR3/aViZxMJkN5Fq1PtPmIBt8MsQxFIjvdDxqtqe7EHuC4mz92A== 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=MRb9vlPusLmb7J1WxnkjpXyvrph4GxLR00ZX4eEKmc4=; b=HYGh4wvJ75a4ykO6XpsAyZnny2xlo+4LL93UXpOiMwdejJBcYcVJ1rjEJq0bF6enu6YyeUM3L90gpT6Nk4cwKSMLlIQAJiXLC5mLGrZeR0pqrgDtt8O2OSXjfPHUBObrUz8savoSrOIj6we2w793PBDd6wVFuJB9gsSEqNwUNY1/VxdZFlg/E10EbCmTeEnviJuPa18aicWU4/kQUUGx2T894lj/WAEveId4n/gbNF2OleQJ860/NIYxOAqj/UweMNvNXHRJzI1lPIAFO+8o8b9azibspkVda+se3akzMPaIvAzji6K606wcpq55LY5IP+7pvewd2fO7EJTRqVSELw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=MRb9vlPusLmb7J1WxnkjpXyvrph4GxLR00ZX4eEKmc4=; b=Ya6CdtNuwpAkMqCHP5VAHlTz2/BjYTSmWcDvJi8HMGikihKoR9WwaTX9rMOoVGuLmvVeOEeAorv+oCDJ+N9QUNHtEnBxG3BFlnlMvh1zosQePF/rdD4tsajqoPGfVlg59S+67FF/rHRWxpjfB6So5dBzm+SmrrjqbUx04C0jXOXFvf8A9jR/phWhg2UXd8bnKXQihcGFoqlpKro3Vabm9yX2V/jCG2QMJY0M86w2ZTkVoxcghw0pqZSVixh7tFggtG/1sHuM8oKJcgrsXSrFecE6yksG63blDkxBfUIylsajJVCrDrK3WKe2+wQlrGDLXEt0piJiVb1kCq2CDQsLag== Received: from BY5PR04CA0006.namprd04.prod.outlook.com (2603:10b6:a03:1d0::16) by IA1PR12MB6044.namprd12.prod.outlook.com (2603:10b6:208:3d4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.26; Mon, 25 Dec 2023 10:24:44 +0000 Received: from SJ1PEPF00001CE3.namprd05.prod.outlook.com (2603:10b6:a03:1d0:cafe::da) by BY5PR04CA0006.outlook.office365.com (2603:10b6:a03:1d0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.26 via Frontend Transport; Mon, 25 Dec 2023 10:24:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by SJ1PEPF00001CE3.mail.protection.outlook.com (10.167.242.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.14 via Frontend Transport; Mon, 25 Dec 2023 10:24:43 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 25 Dec 2023 02:24:43 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 25 Dec 2023 02:24:42 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41 via Frontend Transport; Mon, 25 Dec 2023 02:24:41 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v4 0/2] net/mlx5: add random item support Date: Mon, 25 Dec 2023 12:24:33 +0200 Message-ID: <20231225102435.2419716-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214151248.1654878-1-michaelba@nvidia.com> References: <20231214151248.1654878-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: SJ1PEPF00001CE3:EE_|IA1PR12MB6044:EE_ X-MS-Office365-Filtering-Correlation-Id: db7c7907-59f6-40e2-b5b2-08dc0533b60d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DR7edjmnUVVvOEdOdro4xsf1/slP2a3p9JXGMRhN9WlxygQsWnwpyYtZqGF8Y1e9lAuA4l2OB4WugGJIh9p8XQ4XdC1V+8hsuCYOwIqw7/qaP4rT9pvtudOQR9LLSNYODQsiphHUhU01eAwsyocsRIYE9/s27lf25Etyya4jOG6TgA3MGSNfD3HD7xcgtmTUz2nxGrbdHXcksNA/lQJgclHanC68e99TGaOienG7FLa5Y5PAad9N8oLk/nxNLREpNyG2D/YEaTjo/yytmqm1yizv1EMcZWxyE/GKmZJ3FNn91uNG+zZ1KFArAGN8GooHmFSIwVd5Wui/HNc4lG9bEffu+ztc83myEf/cWZvgAC1lO1rlZn9+aJPaKv4cqRRqJ40WtC5r/PpIsqmEgpSjvMfkGb74Jn0p6EkBt4PJbAXs0Dl/+MkI2Sho3vEMl4XDJxEcGs6Ad3yU6/Wyz4LmAynozjCYyNa5nFoVCH4E1fJDdgdK8uY5Sc+SaUTDZmbYsZ0nAsNJzkQVo5+091IljozghFaSX6oydF6HNrf6KkI128AJ1EpT3cWi+ls/nPPd3jPTWWzFIk47C1uoVrbzpUDPzY8CimZf2shPurh5dyybCc7Rl9/kdLISGmtudeoBOmtz20FZ9Vgiju/1perJ3h5mD2Vvz1OTJnXxxLosK2p822+dJ9aBIj30pvLplf6ZDS7ga7O94mIdU0UWaEZ2XbVQgFBvQ8YV3AgZPZzT3rM= X-Forefront-Antispam-Report: CIP:216.228.118.232; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge1.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(396003)(346002)(39860400002)(376002)(136003)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(82310400011)(46966006)(40470700004)(36840700001)(36756003)(40480700001)(2906002)(86362001)(40460700003)(55016003)(47076005)(36860700001)(7696005)(6666004)(478600001)(1076003)(83380400001)(2616005)(7636003)(82740400003)(356005)(336012)(426003)(6286002)(107886003)(26005)(70206006)(70586007)(6916009)(54906003)(8676002)(4326008)(8936002)(316002)(5660300002)(4744005)(41300700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Dec 2023 10:24:43.5434 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db7c7907-59f6-40e2-b5b2-08dc0533b60d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.232]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE3.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6044 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-30553 ("ethdev: add random item support") 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. 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 | 3 +++ 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, 66 insertions(+), 1 deletion(-) -- 2.25.1