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 D03EBA0C41; Tue, 3 Aug 2021 10:59:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E65D3411CC; Tue, 3 Aug 2021 10:58:32 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2062.outbound.protection.outlook.com [40.107.244.62]) by mails.dpdk.org (Postfix) with ESMTP id 7A078411C7 for ; Tue, 3 Aug 2021 10:58:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QDMyi66fTy7hT5nYuJHR3CycKCqttcrybb+ULG20B72uyURJQtj5CD5rZF0X6FLqTzrlm3Stsgi4KyZjKZjTPxIn/cnj8RlgOBJUJgl/aSU50rzCZiR+nGZ3P1uHyJq/Hb9xb77tViaA8cmu8gZRslpxTraMkl85U0v3VdfVtI/ViD7sB4K+rGikl0We29WHcHjpxfQtmozDgHGq94umuR7VwvUk8x0m0qqEHfHJiqsA0RW9nUKulKTBLZJGGrnYej1KIBetlBmm/FLpzMIDULKBi6AHV2URlBugzlWqoFub3mMs/raWtx9cRdR4Iiy3h7iOZOdVY0+nOjHpWdSG6Q== 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-SenderADCheck; bh=B2bFb7c+Ei9RCc3D2IYlbXto2ELj9uypekXpqB5cy4s=; b=YFlY4YBbxl9pKLuhjKouF1vkFZJKDMSlZxKBDjxLzRuYGMSxq6pNWrFIPC+C36y1FHNEzXYM/hSXc2AcQClnmJCnauuoOVB1+TrSKyKjoIl07Gca6hI8OLwfvIUcV7/2qd6vkvSMJhjoSOkExSox574UfLgh2pNCvGwGo2ykNjRpYeGAlXFCdOEL0UdkMPUW5BCYq1huyJYO1GCSTBNMgBu7asEe72lXFRQbIzYZ2888VlgzTcJDTX8KRbOX8qkY0WsFAZ6QTr7YyV39cxexr6lSJO7jwIeTpyAVQEmuQQpq6YQox5XKT1/eoIP50z8/lIcntH2F+oNG+tVHnQDlfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none 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=B2bFb7c+Ei9RCc3D2IYlbXto2ELj9uypekXpqB5cy4s=; b=fq4xs/P+s0IFirhxij6FccItFCuQzrk051jSEcCRz+nrdSWAGPvgjEuDYv8uqe6MrFHXNhLEocdwoRso6euc+KKbvUNyfPzdMKxdPqE5EcIkGq4Aonoz4fJNWqbAB3KaY0tsDT7SgsptD5O2b+xUU+uAdM4+bkDlS/8c+3RsBGIbkYx5RgKZBSQt2vqfOAYNHXquS2DJX9rtxrp9hHiJozdt70Yr4v9elD2j/e64+I6P7kykiG+6UQZxfr9scF4Lc7dE/+fVAdsoK+UTRiX7trOxNjJ3zY9uzRYfBTkxq6qk+JEI0t9BKMA2m/L7i4xVU+FyIwK6BGpeRtWuijkTug== Received: from BN9PR03CA0579.namprd03.prod.outlook.com (2603:10b6:408:10d::14) by BN7PR12MB2642.namprd12.prod.outlook.com (2603:10b6:408:26::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Tue, 3 Aug 2021 08:58:27 +0000 Received: from BN8NAM11FT013.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::a5) by BN9PR03CA0579.outlook.office365.com (2603:10b6:408:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Tue, 3 Aug 2021 08:58:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by BN8NAM11FT013.mail.protection.outlook.com (10.13.176.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4373.18 via Frontend Transport; Tue, 3 Aug 2021 08:58:27 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Aug 2021 08:58:26 +0000 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Aug 2021 08:58:23 +0000 From: Ori Kam To: , , Ray Kinsella CC: , , , , , , , Date: Tue, 3 Aug 2021 11:57:54 +0300 Message-ID: <20210803085754.643180-2-orika@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210803085754.643180-1-orika@nvidia.com> References: <20210802141004.353754-1-matan@nvidia.com> <20210803085754.643180-1-orika@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4b7f76d-ec11-453f-282f-08d9565cdbe4 X-MS-TrafficTypeDiagnostic: BN7PR12MB2642: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TY+h8nNv190dZsKSUNjONVZ4kwCOsQUtcdbycJRY0XQbz3rswbwWcCeJVAR4zzkTHE/LxujsRL0Qcs2GTicC40LFWphi5uWMVohj1ShvQiwgy+L1+wUq+G4rG9oQum7ubVxjDf0qykKUfzMx+Nprwi7bTkZx4t3Vtw/ckqClPTcVMzz3YyQRdT60/LH5dISxLJ3QRtQukipH4RS91vc955CRp+TSmznjBaF0svpwyFs8EZySOvbvpaPWrDmDMeyhW9IZzELtYtuAap0/qEOZhTg+40xI2pm/hN9gl5413cZdv7BTVmzRdIWwgtDt9WbEkTAXw7XXi/vRYVhYSlqpEfXlclQijwNe+7nZ+afVUQTyaRRbKYRF86wDwga64xiyv8xssMSn3GB7yuYlWjNtiGikyVgOXrAyyZEsGyEqQqcFx7SM6FfrZWerRD1kk99+1yr6x1Bpl49fBAzytvubUpLxlftURTrkDDbBY67NCuYuQW0nX8H+rYSgdUErTswQrzgf7wPwpweNoBEOERU3ttVQaI+boFp9DyIBN/T2eU9H93vC7MkEuH2ur3vCL9WArbUwrY5cozf2U1isb5gpNVvd5HJ0tyPI0l0zL5Yz5+VOr69Htd7AMAuSyemCsyq1HrzGz4xfGfz0NtQrnh0x3WniQRr9Gq9X+RTMK3Jt1nE43i+QRWo4L3V/Y9v4lLNC+NB3eDLCDaKSXQTeFz0KLg== X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(39860400002)(346002)(36840700001)(46966006)(2906002)(8676002)(86362001)(82740400003)(356005)(83380400001)(16526019)(186003)(26005)(47076005)(82310400003)(6666004)(8936002)(36756003)(336012)(478600001)(5660300002)(4326008)(55016002)(110136005)(316002)(36906005)(70586007)(70206006)(54906003)(7696005)(6286002)(2616005)(1076003)(7636003)(426003)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2021 08:58:27.4119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4b7f76d-ec11-453f-282f-08d9565cdbe4 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT013.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR12MB2642 Subject: [dpdk-dev] [PATCH v2 2/2] ethdev: announce moving to general modify function 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 Sender: "dev" Currently there is a dedicated modify function for each field that the application wants to change. For example: rte_flow_action_type_set_tp_port to modify destination port of UDP/TCP. rte_flow_action_type_set_ipv4_dst to modify destination of IPv4. A new function rte_flow_action_modify_field DPDK added the ability to use the same function to modify any field, in addition to be able to modify the value based on different field and not just immediate value. Signed-off-by: Ori Kam Acked-by: Matan Azrad --- V2: Fix typo. --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index b530616281..77491c322f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -162,3 +162,6 @@ Deprecation Notices * ethdev: The struct ``rte_flow_action_modify_data`` will be modified to support modifying larger fields than 64 bits. In addition, documentation will be updated to clarify byte order. + +* ethdev: Announce moving from dedicated modify function for each field, + to using the general ``rte_flow_modify_field`` action. -- 2.25.1