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 ADE44A0547; Tue, 3 Aug 2021 20:05:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A887411A7; Tue, 3 Aug 2021 20:05:35 +0200 (CEST) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by mails.dpdk.org (Postfix) with ESMTP id 5A24E40E3C for ; Tue, 3 Aug 2021 20:05:33 +0200 (CEST) Received: by mail-qt1-f182.google.com with SMTP id a19so14552880qtx.1 for ; Tue, 03 Aug 2021 11:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+CgqaeMru/f4fkuLHE7JJm8oQ51IDoZqVc4z06VK8n8=; b=E5jFud2vZOu4qIbU0QaOa7q9Z2iKgjtWzXogJYb11GoAwRBqsALZ50ofAzWozogBYX kur5N1/jnSH4RML0pqBcU6h+PTWriEuJNKkffxcmNkEa8oJ1kpwjjD1FYpEXmTY/+AM2 8PKXf3QzL4PLJUpGgFsRlKdnOVZDU49YconiE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+CgqaeMru/f4fkuLHE7JJm8oQ51IDoZqVc4z06VK8n8=; b=pPLSCoTDxrItqPvOzQgYslr6TRcuvOp3vjdJAysmllp9RUJfBfii3Ag8LeDI+Azj45 AVDugB5YHTCTo0qcFJW1RQe+zWsDxK7Mx+vWW9WWfdPpRaInpKaYPYcS32anSCFnYz+s D15AD5Kta7xz6vYHCNbO+rgxapR0ru86+6fPSlDYcfBpcm54oWP5GzgmNLqAbj7KknNr TST8u0uailw6wUqE4F11XJueSuaicNqBceZiK7OW0HhE0Zya2ciLY0taI0CavoJbnCXd L6K0FqO1+vgtpZN/gea2gGKTgAmNeCcFC08gKACoOyuCGE0z0UTU0w8ThfEgG1sj37AF 6dBQ== X-Gm-Message-State: AOAM533GvBF/xYL/pX+pxwz4GIVReSEfPsH8V63eIc1gIEbLS4aX3VQE FWWXApbBVTKK20O/1RJ6dW4uf8GVSWbM3HE5VFxWtQ== X-Google-Smtp-Source: ABdhPJxzzMZ78dzozsWINXlvnZ1AJFMT7XkhGBSXCtx0tieKP7PxJy4Nn3mLlpydgGikgIhTbwFeY98dV8GaP5PZ4R0= X-Received: by 2002:ac8:4794:: with SMTP id k20mr19724117qtq.371.1628013932645; Tue, 03 Aug 2021 11:05:32 -0700 (PDT) MIME-Version: 1.0 References: <20210802141004.353754-1-matan@nvidia.com> <20210803085754.643180-1-orika@nvidia.com> <20210803085754.643180-2-orika@nvidia.com> In-Reply-To: <20210803085754.643180-2-orika@nvidia.com> From: Ajit Khaparde Date: Tue, 3 Aug 2021 11:05:16 -0700 Message-ID: To: Ori Kam Cc: Thomas Monjalon , Andrew Rybchenko , Ray Kinsella , dpdk-dev , Slava Ovsiienko , Ferruh Yigit , Matan Azrad , Raslan Darawsheh , Akhil Goyal Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002a0f2605c8ab8873" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [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" --0000000000002a0f2605c8ab8873 Content-Type: text/plain; charset="UTF-8" On Tue, Aug 3, 2021 at 1:58 AM Ori Kam wrote: > > 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 Acked-by: Ajit Khaparde > --- > 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 > --0000000000002a0f2605c8ab8873--