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 A0728A0C41; Mon, 2 Aug 2021 16:11:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E4984116C; Mon, 2 Aug 2021 16:11:17 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2058.outbound.protection.outlook.com [40.107.212.58]) by mails.dpdk.org (Postfix) with ESMTP id 84BA941165 for ; Mon, 2 Aug 2021 16:11:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OxUZ7yRF//68zQLXy6N0lpnkKcGcDEjclpjzdI3mKRFNoX/YdWY2oolSwA5AIFCq26MYuNQ49UCGi+xLdCXL/J3U0FhQJmaLhIWqg8te10TnV0czXnNZhNM0uWfJztpqT6f1MgkKD91Ndq52Fv02mozqMOaQBh6X/ou4EYeNiLDX7RpR0zUeW+bZOVW7tn1XJpneA7CaIqPqop6dBOy/YK1E82P69PzyYyO+sJUDJ9hpd9bpocsjsIb2JOVyaKBJRkXNO6xOiJ7Tka4y08Ug6MEXD1bglUSdMQL2AH7TLH5oD54ETCx3jSYPi8IwtMDPaprL7J8OeIRTn0zxh5kT8w== 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=hudcx26MhMVL+Pos+C6RyFFi+8PxnuS/Rrd26RizF2M=; b=ll4K74WzchNn+PpRCgD63LfP13sNKYHFWoxtxbRcD+lzmnQYle8+cUcPLVyANYXt3w01NA3PUKSqP9adNpCLolHcY3AYMtnP/5DY3Qoyg59vwx7GThzBrGtieGejAJzUPffQKe0hKiBf9CcNFfueTRjF469xG+63IrNgyyp1TtAMT19+isjZ54tAULmogpM5MpXZJEyy8TIPwqTN17FFsc73umkNCwm6RAAVJcYvRgZFTM3kqSNzfHf0+i++1KftsnEDFeMg37Vc4dgCoVlWSi5Ube1E57cPQ405GrK5Nmslg2idyuBjthNa8t4CROo33PzTAPFgWAhaBlxozsG6+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=broadcom.com 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=hudcx26MhMVL+Pos+C6RyFFi+8PxnuS/Rrd26RizF2M=; b=lkQljTdZIbqj53z/Tb8LuvGUYinZT26qASYCADCS9ESca6sdha1xMbCCubdYXnf7qqJJZ+LymvGmCMpYXtbUUG7PhgbSnaPZjbPHpNZeuTFl75XtrNVqawrJQBkD1XvtKMpeT9ooOt2HtB/WqL51lRUhYfXxgu+uPw8XBt8Pb76kEKw+XFH/kBcbnodqMUGG1wvXeUXsOYARXL5jqS3dXDi+KcVtkLjQs8eG0ELTc35IgoYUphSsRUc7oENK794q913gXow5qsmIkEdIj8Hl2pmsnZF9mu9he6o6q4Jh7gUGDFjv5t1oYsCRZi2JMn7pwm78FqWEnQMypvhnSQdPxQ== Received: from BN6PR2001CA0027.namprd20.prod.outlook.com (2603:10b6:405:16::13) by MWHPR12MB1135.namprd12.prod.outlook.com (2603:10b6:300:e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Mon, 2 Aug 2021 14:11:12 +0000 Received: from BN8NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:405:16:cafe::15) by BN6PR2001CA0027.outlook.office365.com (2603:10b6:405:16::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Mon, 2 Aug 2021 14:11:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT054.mail.protection.outlook.com (10.13.177.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4373.18 via Frontend Transport; Mon, 2 Aug 2021 14:11:12 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 2 Aug 2021 14:10:33 +0000 From: Matan Azrad To: , , Ray Kinsella CC: , , , , , , , Date: Mon, 2 Aug 2021 17:10:03 +0300 Message-ID: <20210802141004.353754-2-matan@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210802141004.353754-1-matan@nvidia.com> References: <20210802141004.353754-1-matan@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d5def3e-f9a8-4c2a-7cf9-08d955bf625f X-MS-TrafficTypeDiagnostic: MWHPR12MB1135: 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: Fp/w274UxoHH8xER44mwpsy2Ti2jupgxc/R/83LRVhkeFigJBXDlvR3cDXgwT5Ssjd9s0X/7asjY1Om1GW8qmxFUtRBrssoEYlNSJc2z0JQnIJm13gO6o1aHHaYW0mdH2s5X+pcN4Ezdi3NgwtC6sKjx92DgzYvRwjLBMK26aNDbORlnzHyhbA+1pR+TVFI4VEkN4j0xPgAn0pYzDv8e/lVBwrKcPViFw/QrHi6EuYb7Nn/h7c18LdU3+SGmCTmZu8/VnuyBChXgYxvNYQVDY4cvLoK1vev5DnPkv61VNi9lmUE9TZY/g1SJ7+4/6OwPq8qL1t6LYFTQBPHj/VsyPioL73xYHTm6Q1ShiAOAHm6Z2cXohkqg9SzSady2TFJ+kTKFgd6svtloV/EKs++3r51Kt0LvnvhCzZZA1mA0soU9drI0yJiraWPtw+ktQlam6E1mVwY81VlHXOm+oBsbwyD+dLIsz0oWLoapLRismb300PMwJvlh0xV+VnpyjkL9eDawCRpO7GzQac1AYaSfwTsEUFvlTW98ZYx58V2T9awdk812j3NR0SfBFoIwayiaOfqXuFNtMbNT+l2NNinKQC3mRQC8fzMGdVrcR5Wok76ZicXmS4RVk+WDnYmZ3rDSUIqWuwxvtdEHslaQcfFRa/zmmij99zoxntBaaV3wlfhGGQyfQ0xZ3op1mCkDx8pVG90mZA0s3skll0VtFkMDQQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(39860400002)(396003)(346002)(136003)(36840700001)(46966006)(186003)(7636003)(110136005)(16526019)(82740400003)(36906005)(316002)(26005)(6286002)(1076003)(70206006)(356005)(6666004)(36756003)(36860700001)(70586007)(83380400001)(86362001)(336012)(4326008)(5660300002)(478600001)(2616005)(54906003)(426003)(82310400003)(8676002)(47076005)(8936002)(2906002)(7696005)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2021 14:11:12.5496 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d5def3e-f9a8-4c2a-7cf9-08d955bf625f 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.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1135 Subject: [dpdk-dev] [PATCH 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" From: Ori Kam 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_modif_field DPDK added the ability to use the same function to modify any field, in addtion 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 --- 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