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 98E0A436F1; Thu, 14 Dec 2023 16:13:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A378343302; Thu, 14 Dec 2023 16:13:23 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2083.outbound.protection.outlook.com [40.107.102.83]) by mails.dpdk.org (Postfix) with ESMTP id 73906432E8 for ; Thu, 14 Dec 2023 16:13:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OzodPQ1/aXypbnW1mwKEf/AXI/RzH4rmz9G9mIZ+FhscUNQMMcBvsC8PtBldDVPmG9AdNWo5X5qz5u0QHNzVNAJJvCbARrVimrTdAyzmlhSQ9vCWDk5tlePPycrU7wD9cRt3IV80iU3reR4bN4WaFIBRNG8Ms8+TbM31DsueVp9DCTpb5uJ4rkKp0SBPHSTFVORVbLmmC5j8n/GaI6pQeHpiNok9ZXyVo5uojtMMpiiVqnXos+iAE1iZmLRKTdgiZgiYJniwcKiwko9hRWpu3/umx+RRJdHY7RWwAqWpogebROqJbS6IuqQ89GFa+/oo/rfQZ8kSLt5esvZMOeWDmg== 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=zxqiD150MGVHxCg0vOzROsDI2WYiZRiPuw9xcFmAZEw=; b=ipe5DkQE62LDXX2CzPU2X8zCBOU37GjeZjSjQGH032Ym/NXTtLNLNdPQs1VTeX7EsueNLWjoahbp740bdjPLL6elSW6T/RGng1EJQMGHE86ZFFAjHwnIoxIwxPR2HtRI4gXW3eJWXezoP4KVioKRLE6hOdCoLp1nnCv4Ka3g8UwymDvB6s4xV3xta03l+HJx4zfgF2HKU6P/bDv1NchWMTlIsA1kFFcwMZnmPoyWABTZ315HRD6dqVRldfChc4U2IEP0L3efXrgTMQGqhm1bCi1qOgVl/++iv+v+lrZ8R9IVRpwgc+ignE6YyruE6Ozc+UnYUVQ/bUgvj1996oMzPQ== 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=zxqiD150MGVHxCg0vOzROsDI2WYiZRiPuw9xcFmAZEw=; b=CUX+LcKaupP8BMdsIEfVW4np5NB+SmcHw/7VuSEFeg8frpoCNKOf/2bhGyXSdYO+yMiAhqnumboTOj21/sr2GhH5QLHPErzNFeYDaqTkkfXvft9uwlxB+aIsOaL0zgVCWSjSymU6fzDZM3RQkmoD+WKbfrjfWyfkX1ndUlPV+JFBtVuvJ84ywCnKZjVuq0SX8SFXGlfK8hVKc9T76DpwxGLwgOYSA44YK8uGeUZinbJvc+UeTGiSm3FfJJwpIPa9rKTpFUKaAG3VHni2lxQ49QHfk7Gxk42S73FNbPWhgMBI8dQfKl/V/JF3m1jqBt835l3VkXio/MOhhR14MISBsw== Received: from DM5PR08CA0033.namprd08.prod.outlook.com (2603:10b6:4:60::22) by PH7PR12MB5595.namprd12.prod.outlook.com (2603:10b6:510:135::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Thu, 14 Dec 2023 15:13:20 +0000 Received: from DS1PEPF00017094.namprd03.prod.outlook.com (2603:10b6:4:60:cafe::f) by DM5PR08CA0033.outlook.office365.com (2603:10b6:4:60::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 15:13:19 +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 DS1PEPF00017094.mail.protection.outlook.com (10.167.17.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.26 via Frontend Transport; Thu, 14 Dec 2023 15:13:19 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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, 14 Dec 2023 07:13:00 -0800 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 14 Dec 2023 07:12:59 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.8) 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, 14 Dec 2023 07:12:57 -0800 From: Michael Baum To: CC: Matan Azrad , Dariusz Sosnowski , Raslan Darawsheh , Viacheslav Ovsiienko , Ori Kam , Suanming Mou Subject: [PATCH v3 0/2] net/mlx5: add random item support Date: Thu, 14 Dec 2023 17:12:46 +0200 Message-ID: <20231214151248.1654878-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231130164001.666702-1-michaelba@nvidia.com> References: <20231130164001.666702-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: DS1PEPF00017094:EE_|PH7PR12MB5595:EE_ X-MS-Office365-Filtering-Correlation-Id: cfbe6aab-410a-4e5c-9fa5-08dbfcb734cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Pvh7/9F3qhvHh5YK9N0Rl5wxExeTTvJsTuIkroQV50Wp2AZaAThVST5RKzdoZWtthSaHnS0YODoRYY0VBkivGKcHgpdJnBaFXnPEMxaa6nlMzGPwgL4eMhO47j2HPE6vFL9qQ/eZsb4RRGwJGj3okq9wt29UwDeRk5tHNgcwb1gWUThILJ3aE8tvPegyv7kfUhDLajwumucL6TjigHocDM49B7d0OgUHqbcShHfSwowbkUPccSCmaL+GOCBKQ16euA+cCllfaN2VuijhONaSdQmXb8IwJ7r+Js5boQMtU7bOOJbSpJRPs8I5+OJzhCUfz4Wff/PoeTcGt0WbbkKHrODvfB1rCYjsu5NtvarDgs//mmC24/cdNl9xBzpWFmU+D3qibMzAeb6O4dsk5DgmRuTxUkQpVpB2TyylATCtpX1TPfjbwb3vJjaXZbou3xoRRKxdXD/3w5XafRr0ZxHV14L30JsL61RLyd5pw2j4CFiWJGsipvuv1uc44r1dC1FoS9eZAjCoH4EkUs/u5Gv63r25fd+l2Cidx+2JnJCxL19cvKtddtioug0WiT/yehK4MR/lMTIHJzp01H0v+jrhO6mdkEF6wlCsfaI7teHIzuZBsjeYtZ1b3EHjYaQ5Hh/+rXaWOKdNFRPipr1JKmnBub4cDUws3DlnOOJ7mgIMy50UQO2UiczoOc8iTDNJe23eG4B5ePZMONTdznVOGuk0w6yexZGodR9YG0xgm9+pSxU= 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)(346002)(136003)(376002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(82310400011)(46966006)(36840700001)(40470700004)(82740400003)(107886003)(4744005)(2906002)(26005)(6286002)(426003)(336012)(2616005)(1076003)(86362001)(7636003)(41300700001)(356005)(70206006)(54906003)(70586007)(6916009)(316002)(40460700003)(4326008)(36860700001)(40480700001)(36756003)(47076005)(8676002)(83380400001)(5660300002)(55016003)(7696005)(6666004)(478600001)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 15:13:19.6625 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cfbe6aab-410a-4e5c-9fa5-08dbfcb734cb 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: DS1PEPF00017094.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5595 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. 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