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 3BB33A0093; Tue, 23 Aug 2022 15:34:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCE1A40DFD; Tue, 23 Aug 2022 15:34:14 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B3BA740DDE for ; Tue, 23 Aug 2022 15:34:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661261652; x=1692797652; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=UP5g9ZOrN+OWSfF4zORtkkpLbY7LDmkXhIabQbKdoYk=; b=SYH9IYT3wsZb4/5Ht9eZWk40KbK2bRQoR0RnC8c8/q5kz/BCsjpsdMrb j7CmVotIhI6uyY34LST2iz4dSP43kYVMNcEDcqI1SgyTF0GNg5VmackuF VWl1FVamZndnAwQzJ1ibmvPnEzcdCAiyeytePDwYfp8VNt9zcn3suH4b7 Lsn24RlLvxroP7B4/EH+sfi07Gz//1dDxFdxamVvEqu8Ty3fY5PntCKyU iDyL+qgDs2MplIlP7BaqtzBBwKtLYS+6FiCUSP8Gckrx7yPMD6thD+d8l tXVM8PrCxIU5rty28Us7fOvT1YSgmiolE1cTHSUjRu3JYxWq8ZtlrNPS4 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="319733575" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="319733575" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 06:34:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="751688191" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 23 Aug 2022 06:34:11 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 23 Aug 2022 06:34:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 23 Aug 2022 06:34:10 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 23 Aug 2022 06:34:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xl/efgw9dBORmF8S3JYYNELqRTDG0Tq4xZ9q41y036xJmjuATE2CIz03ZORWk+6DvsOxsq5dGWLfZEYpysIi9kQHuM8596dw89CLliteKtWqgNsCNZXZ/oAodLSoPOF+7rxMcUSOE8TdshCecPUnGul+NwaichmzGvxiWqf6N2OGNdSc8O2gK07zkiOHc0zxFVKSgMH2ZYBQKJjkUg/7G+u+mbFY3+vIfr8Tf0Gljrq2OYqCs8bNPlX+8HchMUPWwGwZcD6dobz95h0rkXN+8j3P1HbR76H5HdM/ljpqJaUJM3CBmy44K7CfPTCMpeeGItE3JR343gUQqV9l1xf+0w== 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=xfpKRGqaC6M3eWeLuqPNhFtXmIaP2IiBGaaKQekdaK4=; b=GzDFcQciWxGfp5h7KBLnWSdX8qy2d3SrymMMblbpF95YRPuQQkMw0fyL5bn8joayoQER2imtu/tS/5/uPv6DgfvJ1d4Tew/KREOEh11xTjxkOkTe8gHb9PQwTkUd9dHB5WJ9XJimmfTyWmM/iOUPY5MWpjPz1k7TVHboA0qcW7wiko9ezxuAiH+Hp28MjPcDTu1R1Hc5hXYHWX/MP9eJDaECSIk6h+4myQuP0nWTy3u3nO4Tz5EIdyoz1iKnaS0Pg5CcWlZPxJ5H6R54/DyE2cMutTNJdxjfblMfeDCGcSHRF1nMJDp+VcIkb2danVSmt128++347410USuvFbo7/Q== 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 Received: from CH0PR11MB5724.namprd11.prod.outlook.com (2603:10b6:610:101::22) by SA0PR11MB4606.namprd11.prod.outlook.com (2603:10b6:806:71::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.18; Tue, 23 Aug 2022 13:34:09 +0000 Received: from CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::9089:f5aa:b7cc:c237]) by CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::9089:f5aa:b7cc:c237%9]) with mapi id 15.20.5566.014; Tue, 23 Aug 2022 13:34:09 +0000 From: "Dumitrescu, Cristian" To: "skori@marvell.com" , "Singh, Aman Deep" , "Zhang, Yuying" , Nithin Dabilpuram , Kiran Kumar K , Satha Rao , "Singh, Jasvinder" , Thomas Monjalon , Ferruh Yigit , "Andrew Rybchenko" CC: "dev@dpdk.org" Subject: RE: [PATCH v2 1/1] ethdev: add protocol param to color table update Thread-Topic: [PATCH v2 1/1] ethdev: add protocol param to color table update Thread-Index: AQHYttp1h8pmNPRy70aXTwRvwyQOMa28fBhQ Date: Tue, 23 Aug 2022 13:34:09 +0000 Message-ID: References: <20220707065743.76932-1-skori@marvell.com> <20220823102255.2905191-1-skori@marvell.com> In-Reply-To: <20220823102255.2905191-1-skori@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 157dfb05-46e8-48fe-9fd8-08da850c287d x-ms-traffictypediagnostic: SA0PR11MB4606:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iO5+Is1HTyuFWmkKsKYVbn8zI7E0FbmyAbFgyWq2ydMQN6HGqrJV3dHO2lQDTuILk6ICnSmHRezRSFhHCb+AC8hv14cqQH0NGie2BSlGoTeTson1n7XmJY5I8ihFGrYEoa6gT0XKrOyjgnpiQ/WIx1gsKdg6ClUQzdr8Kt/sAO1/7OCDIA6Z+DNDd91Ug1S5XVTt2w0H3aq0HomefJPU3ipHANU0LZodiIfveKO2nsGYti4gvHDnD5PEawCfQq24zocoK3D7jAEBVBZo82LRCOi6QDxpUyTTQezkc4jUNfvxwYNSaNkHegAbtvhPi+nH/e4eElWysr3eXMgM3mFh10GZPZtEdBwb7B3wVgpsstwBL70qvlcNTIhO7Rh+3IKHqLzPjKE3T1fUvrfrgMaYfI3bpa1eHegftUigy71opL7jRfLWIlBq9wevTF/EfN8gKwH/tvTl8QsCIIgp/xMWT32gaO+9ckPRBzzGWiz+zi6m6TW/bq/LXH40UKUKt26H0ip2BV+AegAee8MJvwqNNnvzV2ZXCO3yHHWPb/dxFhaQPitHYyIt5tnRqINRq6i8asHqx/dd2zWEPD9W7jykBB362xf9Ynk0Xk6z/Vhv2AwaG80fAE+7l0+gnYqj9Duxvt7lfnIRbFuLrQw/i5DeYcLKnOJbgqwr3RQJ+/GCWoe6FryL6hjSBp6KVlldejl07nzasPwVWvp2b8/kAxlS38xeJLgveCo7X9onEPmAwHZ+qSrgXiynktQ+9jqGiWtfpmIxLm/8hI2gZLtfWlmIone+7oaZiSucUmBMGXPV4qo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5724.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(346002)(136003)(396003)(376002)(39860400002)(38100700002)(55016003)(38070700005)(110136005)(66476007)(66446008)(64756008)(66556008)(71200400001)(316002)(8676002)(4326008)(76116006)(66946007)(5660300002)(9686003)(26005)(33656002)(7696005)(83380400001)(86362001)(6506007)(2906002)(53546011)(15650500001)(186003)(478600001)(52536014)(122000001)(41300700001)(82960400001)(8936002)(921005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dgtVQFr6cMTiNmKjyReN6RnCo3ecs+7ZCWgWywJp6xu8h6ihLWzt/sZR5LgO?= =?us-ascii?Q?aW+ebGkeOeL8DHTvvjnSRA8p+nQOr5DBonTCVEXsFnzlDu8ENl1bPt4Ohb/a?= =?us-ascii?Q?ikVWKkV6d6NvA+CNXtkOhcYPoWMDds/sZWLS7opONr0iJnHETjAS01JO5rhR?= =?us-ascii?Q?Nup5qia0BJzPLGsDYbiRp6xr4e+KAe7wFDSWG1dAUMReQotpY5CzkD8A+drE?= =?us-ascii?Q?VmI9P6p+JPn5LnW+hehZaMF9N+FFv8PgkLRZCBKeTw/hoXOMzIocHNsOdFeT?= =?us-ascii?Q?1F2khRyaTteU4iFkqowbdx9F6gPjzksO1ii8Mcz96JW7L43ssgaQw2lBdQpw?= =?us-ascii?Q?ig13QVnTEguCebFmu6ZsDJfJcUEdqyoN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DX97M8SrTc5/iJpSQnbryvL7pWyv3f+HMK4tkeYe5YykDBW5NSQOq5jr?= =?us-ascii?Q?IVsIGoHvAIwGXvpncdd/nGN15lqE259Fcwu4pIXlJO5IfH0Ce5KRNyL0glAX?= =?us-ascii?Q?Hl2ouhmqcYjH/kTxhfSJwhMQ608t19OC+Iwl3rihlvQESGXuKLqgrZIzKCWc?= =?us-ascii?Q?8I/vZrgw9HjkbpUJb0O3NT06/M/rAK0KE2vXNVNq9YcdyNQNayO8EvS457HU?= =?us-ascii?Q?yn1oXFNf9a5rmXMD3MQbG4UNHgjTa4W+btATvL9t+xGag4PINSfuRZIUBSjh?= =?us-ascii?Q?UmI5OsoytKXO6onMnSD1mY1h7pWJLugBziocwBXl60pPBal7bL6vxrZlB/2h?= =?us-ascii?Q?Sw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR11MB5724.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 157dfb05-46e8-48fe-9fd8-08da850c287d X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2022 13:34:09.1301 (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: f5btgFDJhSW0K1dulj0SGNgv6zTF606eLOQB/6Xz4xPHaX9csKIq+Q4/hXjs3CVCkX7sVrNqw+3GkHRA9Y194o+mAr9qgeiLWICbcWCadBY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4606 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 > -----Original Message----- > From: skori@marvell.com > Sent: Tuesday, August 23, 2022 11:23 AM > To: Dumitrescu, Cristian ; Singh, Aman Dee= p > ; Zhang, Yuying ; > Nithin Dabilpuram ; Kiran Kumar K > ; Sunil Kumar Kori ; Satha > Rao ; Singh, Jasvinder > ; Thomas Monjalon ; > Ferruh Yigit ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: [PATCH v2 1/1] ethdev: add protocol param to color table update >=20 > From: Sunil Kumar Kori >=20 > Using rte_mtr_color_in_protocol_set(), user can configure > combination of protocol headers, like outer_vlan and outer_ip, > can be enabled on given meter object. >=20 > But rte_mtr_meter_vlan_table_update() and > rte_mtr_meter_dscp_table_update() do not have information that > which table needs to be updated corresponding to protocol header > i.e. inner or outer. >=20 > Adding protocol paramreter will allow user to provide required > protocol information so that corresponding inner or outer table > can be updated corresponding to protocol header. >=20 > If user wishes to configure both inner and outer table then > API must be called twice with correct protocol information. >=20 > Signed-off-by: Sunil Kumar Kori > --- > v1..v2: > - Rebase on ToT of dpdk-next-net-mrvl/for-next-net branch. > - Remove "Depends On:" tag as dependent patch is merged. >=20 Acked-by: Cristian Dumitrescu