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 67EE8A0C43; Fri, 26 Nov 2021 13:53:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 527E24272C; Fri, 26 Nov 2021 13:53:53 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 742A2406FF for ; Fri, 26 Nov 2021 13:53:51 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10179"; a="259563363" X-IronPort-AV: E=Sophos;i="5.87,266,1631602800"; d="scan'208";a="259563363" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2021 04:53:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,266,1631602800"; d="scan'208";a="675556297" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga005.jf.intel.com with ESMTP; 26 Nov 2021 04:53:50 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 26 Nov 2021 04:53:50 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 26 Nov 2021 04:53:49 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 26 Nov 2021 04:53:49 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 26 Nov 2021 04:53:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kc358G4II+/N1OHd8ZHK+jYrN9yhqhHpyYnR6mnsROC3bgCK39E6gdQgJwzdrQVY8aDOKNf2WG8rU0Moc+bzcuhchoUlh3/fpQ87qJvzFb9fmkSCClLzgRYVgERzIC6uB5vFQMlSUJaVYAbB4vn0NlWJKubKsfcWfpeRlcNbnEMdJaR1gCEHvnRO6QEqXb2ZBbRGvicy65qP17T1WgA4sbfBuy0SKd53n5JW9ykpe/C5j4sa++z1qxUJsj6l0zesOVt2Xazlqel0oeERP9vZajw98dXFPaC9pMOEcEzpqqZToYSh+sYgi3105WcVD5+e4ZmNC/pPxTg3MvYXdd2eNQ== 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=AdS3/lHiBugxsWxGRCFgD9/pYUDlL1HonnS+gvlNUxk=; b=NTAle0PaWI4mE/nMhbQp8nAhwjYZxwkP5U1nNYoWSFR4K0QnQHrHXuRErlNv/Bpj5EMyFVFnq8eUYCQexTXfNk+wCrl4DMltZ6Amw21Drs8GvJi1oCe0Gbhz3hZPiadro2lSR3WCgykI+srlXHD4jKUC/BxWweQcy8DiCaBvQUdaHuPyzOtFDTHXFRwCPk2BWVEtrNcxzTAYxftOQCouvp0eGdoJxB6Dcss/T0nddFBgjzYpgYVBAsinaMm4mR60De1e+5wgt9EiJsQktvUmqbSj+W0pQS9SJY8WmApCVmqU+bHn7+8gVS4dVuDK6NBC3HNAkgXh3yT8kQ4cW4DysA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AdS3/lHiBugxsWxGRCFgD9/pYUDlL1HonnS+gvlNUxk=; b=wn9fDz5kOAT1yylQxdWiuVLp66CbHbRsZf/gkQy43du0zuTkKBdwZ52o23M6YzWv0oTOLvdrIaos8v0+vCu7ZDKG84cwH9cWQlG7b9CwnrvL9eKGq7uPCqI0seP7VNsuyk0juOAFVfsZi0mR92/4WY7cplL26SmlrSFHpzaQyHc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5832.namprd11.prod.outlook.com (2603:10b6:510:141::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Fri, 26 Nov 2021 12:53:48 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4734.023; Fri, 26 Nov 2021 12:53:48 +0000 Message-ID: <828f220b-1607-94ac-7cae-bb5324d53654@intel.com> Date: Fri, 26 Nov 2021 12:53:43 +0000 Content-Language: en-US To: Viacheslav Ovsiienko CC: , References: <20211123075940.5521-1-viacheslavo@nvidia.com> <20211126095116.9882-1-viacheslavo@nvidia.com> From: Ferruh Yigit Subject: Re: [PATCH v4] ethdev: deprecate header fields and metadata flow actions X-User: ferruhy In-Reply-To: <20211126095116.9882-1-viacheslavo@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6P191CA0019.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::29) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6P191CA0019.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.20 via Frontend Transport; Fri, 26 Nov 2021 12:53:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 527f7ab1-07c1-49aa-9309-08d9b0dbc9fc X-MS-TrafficTypeDiagnostic: PH0PR11MB5832: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:146; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aF4rCIvytlk8pI+QETSb+1EHa+5PU5W+ZHBHNjPaJRw7s2mqCSN4pEYhH7nCfxEH26uGL5347KO5Gy5gEzxCw7iDMNndA/1N2DIy4e24HtI7HRSgSD75A3SyaWhFuBHqP8i33CAkCfYHZ4FMhDiLQj3RQ0/a9iJKCc4uOScm80Fm6PWyK/7IpVGR5MypG/chIxCVo+DI51zUv6E25i7dMUsTrOZTow6ilXuZ7reg1gs9oVGih6K6+2ZwjIBnHjpCJwsz23dnBWlLiHot2ADUjxt/ov2vR8yxGCBcAla/WeQb03kzkaC28E2gL1M63oDOzVxtxD0O6EvidNFneTpl8oUzRYj1k/5yrGae0fS8D+kEliHYyNJIUDp8o+dZEx2XpfAvMwau9yobXjJXwt68cZL0D4whPH+2EkPrziA8BlFtS4abY9QTV2oPrSPbcNOLhccLzC4/R/VO0VBU/T10iYWd0sv8Lhj09ESO/0RW+dlUvcZmKHFMZ4seH1LEBEpNvpir5JOc83OxA2CSlncR2VhrzjUkYrT5Rr9SYaxdxIbDEfVxC9r5jY7EcUd8VDyt3ImS785lqEr5P4NUht6her6kaMGeoA2Eqd0kX5yQ6oR+jEV6Mjfy1GS6/h+C1/kNAE7botLxBGtdAx3qNqUurY4wnCguEUtR/ExLXrE6wrm8mVLvY/owUQtSaGvpThynh18mVajN1LGY6sEesjyFBA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(16576012)(66476007)(36756003)(4326008)(5660300002)(8676002)(66946007)(82960400001)(2906002)(31686004)(26005)(66556008)(31696002)(86362001)(6666004)(6916009)(8936002)(44832011)(38100700002)(508600001)(83380400001)(2616005)(53546011)(6486002)(956004)(316002)(186003)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cHhYREVabVhWdi9ia1FBZ1c0ZTQ2cmh4eHdHMDZFUmJROGh0K3pqQU1WVmhT?= =?utf-8?B?bm0zYjZaK0JlbG9hQXRXOE1UK1cyTlRBSG1VQXVuWjM4WGZrS003VEt3Q0dn?= =?utf-8?B?QklKbm1sY2VVMUxUbzZ0YzFYZ0FzMDRYTkhVdDdoU25tWU4xVVRFc3pTcFBR?= =?utf-8?B?VytwUDUzeFVwNVIxaDM3NEZielVhSVpqRUV6dThONFI0RDZFaGorWFV2cGZK?= =?utf-8?B?SWNCTEp0RmJ4R3hLeEtyZWhZOERZYTN3SkM0bmhYUTYvZDNtZkhOekV1WXRL?= =?utf-8?B?aGtCVGlta1dHSTV0QjFaUG1jeWJGRXhuVjhyeUl1ZHh5cVJ6VHhTLzZ1S3k0?= =?utf-8?B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1eWxCNkU3eHpwUEtQMExy?= =?utf-8?Q?aAF4gpRX/APVXfbLgI97hcI=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 527f7ab1-07c1-49aa-9309-08d9b0dbc9fc X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2021 12:53:48.5095 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jDnCyebQBgn7lu8FugBrFtAjJkBXKnBEpCaDTLlhXiFttMIG1CyMg070eJnKqiEru+pO2rC/z3aPpuedaSFeSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5832 X-OriginatorOrg: intel.com 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 On 11/26/2021 9:51 AM, Viacheslav Ovsiienko wrote: > The generic RTE_FLOW_ACTION_TYPE_MODIFY_FIELD action was > introduced by [1]. This action provides an unified way > to perform various arithmetic and transfer operations over > packet network header fields and packet metadata. > > [1] commit 641dbe4fb053 ("net/mlx5: support modify field flow action") > > On other side there are a bunch of multiple legacy actions, > that can be superseded by the generic MODIFY_FIELD action: > > RTE_FLOW_ACTION_TYPE_OF_SET_MPLS_TTL > RTE_FLOW_ACTION_TYPE_OF_DEC_MPLS_TTL > RTE_FLOW_ACTION_TYPE_OF_SET_NW_TTL > RTE_FLOW_ACTION_TYPE_OF_DEC_NW_TTL sfc > RTE_FLOW_ACTION_TYPE_OF_COPY_TTL_OUT > RTE_FLOW_ACTION_TYPE_OF_COPY_TTL_IN > RTE_FLOW_ACTION_TYPE_SET_IPV4_SRC bnxt, cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_IPV4_DST bnxt, cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_IPV6_SRC cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_IPV6_DST cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_TP_SRC cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_TP_DST cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_DEC_TTL mlx5, sfc > RTE_FLOW_ACTION_TYPE_SET_TTL mlx5 > RTE_FLOW_ACTION_TYPE_SET_MAC_SRC cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_SET_MAC_DST cxgbe, mlx5 > RTE_FLOW_ACTION_TYPE_INC_TCP_SEQ mlx5 > RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ mlx5 > RTE_FLOW_ACTION_TYPE_INC_TCP_ACK mlx5 > RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK mlx5 > RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP mlx5 > RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP mlx5 > RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_VID bnxt, cnxk, cxgbe, enic, > mlx5, octeontx2, sfc > RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_PCP bnxt, cnxk, cxgbe, enic, > mlx5, octeontx2, sfc > RTE_FLOW_ACTION_TYPE_SET_TAG mlx5 > RTE_FLOW_ACTION_TYPE_SET_META mlx5 > > This note deprecates the following RTE Flow actions, > as not supported by any of PMDs: > > RTE_FLOW_ACTION_TYPE_OF_SET_MPLS_TTL > RTE_FLOW_ACTION_TYPE_OF_DEC_MPLS_TTL > RTE_FLOW_ACTION_TYPE_OF_SET_NW_TTL > RTE_FLOW_ACTION_TYPE_OF_COPY_TTL_OUT > RTE_FLOW_ACTION_TYPE_OF_COPY_TTL_IN > > The following actions are supposed to be deprecated in 22.07 > and replaced by generic field modify action: > > RTE_FLOW_ACTION_TYPE_OF_DEC_NW_TTL > RTE_FLOW_ACTION_TYPE_SET_IPV4_SRC > RTE_FLOW_ACTION_TYPE_SET_IPV4_DST > RTE_FLOW_ACTION_TYPE_SET_IPV6_SRC > RTE_FLOW_ACTION_TYPE_SET_IPV6_DST > RTE_FLOW_ACTION_TYPE_SET_TP_SRC > RTE_FLOW_ACTION_TYPE_SET_TP_DST > RTE_FLOW_ACTION_TYPE_DEC_TTL > RTE_FLOW_ACTION_TYPE_SET_TTL > RTE_FLOW_ACTION_TYPE_SET_MAC_SRC > RTE_FLOW_ACTION_TYPE_SET_MAC_DST > RTE_FLOW_ACTION_TYPE_INC_TCP_SEQ > RTE_FLOW_ACTION_TYPE_DEC_TCP_SEQ > RTE_FLOW_ACTION_TYPE_INC_TCP_ACK > RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK > RTE_FLOW_ACTION_TYPE_SET_IPV4_DSCP > RTE_FLOW_ACTION_TYPE_SET_IPV6_DSCP > RTE_FLOW_ACTION_TYPE_SET_TAG > RTE_FLOW_ACTION_TYPE_SET_META > > The VLAN set actions are interrelated to VLAN header insertion/removal > and supported by multiple PMDs and widely used by applications and > not supposed to be deprecated due to potential large impact on > drivers and applications. > > Signed-off-by: Viacheslav Ovsiienko Thanks for the update, Acked-by: Ferruh Yigit We need to follow with relevant PMD maintainers to switch to new 'MODIFY_FIELD' action till end of v22.07 release.