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 F3CA342B2F; Wed, 17 May 2023 22:25:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1ECDC4161A; Wed, 17 May 2023 22:25:25 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2046.outbound.protection.outlook.com [40.107.220.46]) by mails.dpdk.org (Postfix) with ESMTP id 2BFEA40EE1 for ; Wed, 17 May 2023 22:25:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UVa1KxqJJn7HhKx8m10nf/T2aO1KYaiLO1+6DIA5sxIt8Xl/3a3tN+fiQHMgwn2Wo4Y3DCQ2/iXmHCv2dDEztTBQXhtlm8ozRgLjqRcvlzi+rRT3Ce3mY19NCg/vfor3QN6f/Ru687hH/Mn+OPXROT1Lo6E65WRaQbamkeZ5bv9U6r1Nlj3rkqt4xFEE9d62iGMSvLrKY55/8swvzeRkw4uw8MIpRxdRNSXM771nYE4Udheq1cn7x9650qyPWyws/ltR/XN6y7JMZyLSolTkc9Rkc1D+hIIazk+6a9CCWa9sueeYRvEEHh02Z9bDQl0xdioXDBd4viQPvAnXJ++uUA== 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=sPkDjeOTDgUpun8fFVpo4M2F6VQzbT8pTaEiXUxf1jI=; b=FYuJCmPgXlq0urlFQRSOP8XVYb9/DDq3ASK9nMbdKjg1DRxkVZTJwXua7uIjSfIHFFPEGOt48VjHKHcvTakbhIXKM0IOPsN1cGZXr5xGVyyplP8NteBBhozWU2WMZKjZYiEzV6XcwEhSktxOIQgiyHv13Ni1IjmD1nEdAvkaz5bq9HPFvAd0iHbcsn/1ghvLKjo4ILAvd8zO95LIjH5rwAYSiXjtxynUhj/3nz+40kyRLW1tQFYWsBTvVe0F8Y+e13sE4lHs7VC5y/rK9h1ozmZy1AzSam1IN4H78ZGEVdjMrAaOjRXIq8QpMdva3/FnmF2+fsHioxEDqGHbyv7cOg== 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 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=sPkDjeOTDgUpun8fFVpo4M2F6VQzbT8pTaEiXUxf1jI=; b=rd6bpfnKGIYtigpISfMiHWMqEM61adSn6lQJDisu88GBC43aPw8Yw4TYDlyzu7vVK0M8FHQ/bm3wMvNrpyYI96eOPTgFOfNK8iSimKjOiX8zaD6YnP/HQbQwwR8d7HJMe2YuhBwdSbS3DYbKdWt9Nlxn36rrIp7yVTRLR8DSRr70IahmcCLzW4cKJr9QjksYNacnk3FEP1yic/BYhcu9aVGxfVAufJQRVGgm62ZB6vLcItcCoF4IB1QIU5AWO/b4ANx/lnmAbwyU7BZTJwOz4Nk33rTlQhfMh0cXM+Nz4si1IOwBblFA4VCFgL2Ks507jPcjXN1aqkqnR/wAMuqKzQ== Received: from BN9PR03CA0631.namprd03.prod.outlook.com (2603:10b6:408:13b::6) by MW4PR12MB7000.namprd12.prod.outlook.com (2603:10b6:303:20a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.24; Wed, 17 May 2023 20:25:20 +0000 Received: from BN8NAM11FT070.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13b:cafe::60) by BN9PR03CA0631.outlook.office365.com (2603:10b6:408:13b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.18 via Frontend Transport; Wed, 17 May 2023 20:25:20 +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 BN8NAM11FT070.mail.protection.outlook.com (10.13.177.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19 via Frontend Transport; Wed, 17 May 2023 20:25:19 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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.5; Wed, 17 May 2023 13:25:05 -0700 Received: from nvidia.com (10.126.230.35) 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.37; Wed, 17 May 2023 13:25:04 -0700 From: Dariusz Sosnowski To: Ori Kam , Suanming Mou , "Matan Azrad" , Viacheslav Ovsiienko CC: Subject: [PATCH 0/2] net/mlx5: add modify field actions number validation Date: Wed, 17 May 2023 20:24:44 +0000 Message-ID: <20230517202446.535778-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT070:EE_|MW4PR12MB7000:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c50104e-0440-4dfa-9c06-08db5714d5b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xvhV4n59JxMJDSGXXJJMdpNdtWlFFgxO+sNTltxMCd8wqlXpPhxw+W86j4YGjnRph4cf1Ho2vtfKzm1r8VjOqFcxTETV974Mpu0ZV9HD8ln+IosG7C5Fz6wv/JkEbtz/i2FdYBSuLrCEXpw96g7ctkrB8vu3z1D5sm+W+85Mt5wg4ab0fBkpiAv58p91qJTn1Ze9g2Lcd6gAthKrrJ26W2Q3D7AG5YH8+zIRHA6eAJ6mU5mQEoVvc6koh2Xv2TZTw0uCWORYdHe6jiK+o5m+rMTcw5alvXhE/DLjTbRvooGABG7F6t6SEKNsyspSz/OzmFchJ97AsY4332QJmbjcntRNJhZqqfdoTGk59mBIiVC4OFJnzhE85ueR3MDsdrwdiNWLT6+lQvZ5kf9bkr/kceKyMDVfqPAFTLQAQMwMkJGJBCNvbujYZM5OX+7ToRtkLMn1uTmVmxbLvb/NFBoVURPIW8pDU4/DKfsqpfKkNG3vvy4Ma5IJd2Dxq6rzrChgd/aYltpexWpxfmds0JyHk1HYZY1dVZtXounkcJ01+JV01VCFdZ80Y6W0XP0QS36jDgcfYi0P7o8U+76zj851gSTVJH2Y0W9p2TYd+gKiCijRCTuAY+kqe0O2VRYtE8kvoJk8v6DdcSNTamp6NGvI03OZ2krY/7H4y2OVaX+r7KsNyYWQ1FTkCDrPmohUZIALXERRfz8YQ4aWQGn9ZL0dxw3BDZmBLAWPea+u4KgQ/9FW8mh218mHH3HeU2mB1Xqk 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:(13230028)(4636009)(346002)(396003)(39860400002)(376002)(136003)(451199021)(46966006)(40470700004)(36840700001)(86362001)(36756003)(4326008)(70586007)(70206006)(7696005)(478600001)(110136005)(316002)(41300700001)(40480700001)(82740400003)(55016003)(4744005)(8676002)(5660300002)(7636003)(6286002)(2906002)(8936002)(356005)(6666004)(16526019)(36860700001)(336012)(186003)(1076003)(2616005)(82310400005)(83380400001)(426003)(47076005)(26005)(6636002)(40460700003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2023 20:25:19.7618 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c50104e-0440-4dfa-9c06-08db5714d5b3 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: BN8NAM11FT070.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7000 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 This patchset adds validation for the number of modify field actions, when working with HW Steering. Dariusz Sosnowski (2): common/mlx5: query maximum modify header pattern length net/mlx5: add modify field actions number validation drivers/common/mlx5/mlx5_devx_cmds.c | 14 ++++++++ drivers/common/mlx5/mlx5_devx_cmds.h | 2 ++ drivers/common/mlx5/mlx5_prm.h | 3 +- drivers/net/mlx5/mlx5_flow_hw.c | 51 ++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 1 deletion(-) -- 2.25.1