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 5F9B8A00C2 for ; Mon, 16 May 2022 19:50:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 553D542685; Mon, 16 May 2022 19:50:12 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id B5B934068B; Mon, 16 May 2022 19:50:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652723410; x=1684259410; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LahqwXTzl6EG/0R1zRLtr/cJ21Ln038Lj+Vs9sW97Jg=; b=f6v3ypPvCBsoFK8lmooOiYCJi/hE/GjLbaqLagV4U6sTrsZtOQnn0OMc PCoGaA6BHX6XxnkwVMWv0YnJ+4Y2AAfg0SL5eXhQ1sVd9U0Ih4XndEyUd I2mp+s9urGdO0BDmNW6xIEBKmMIeuCMbtOtt9d5ikoBOZd4gDyUDQhYqF KKMjsa0mjwsPnndwDOGyNzAZlhJlct6xfiPcRUzH6evRBOTmd5y9Cy+Ci w08vHzGaBStaWKy4Zxy6Pvxz37krPEu6LHVaU0fCJ4JfVfgXKS37e1EfF 00m72pGTlh4HUgAE0HkHHH9RvyK41R63TJ20YQDK/HiS8CLdDRXFdztLu Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="268500626" X-IronPort-AV: E=Sophos;i="5.91,230,1647327600"; d="scan'208";a="268500626" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 10:50:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,230,1647327600"; d="scan'208";a="699652061" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 16 May 2022 10:50:08 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 16 May 2022 10:50:07 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 16 May 2022 10:50:07 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 16 May 2022 10:50:07 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 16 May 2022 10:50:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MUFxa48VXaTGQ71lWAMzNwqNVgYiukdRr5h04o7qhVI4wdda1roDuJkJ1Z5Ezt8qcvNZHMWM5lMqTmsO9CnHXirO0FvBhalj/t6ijWyXn5jK7dODl2Y/Q+e64T4LBEhBfdXmDvFyWopgpI12e8D7rJLn8q8BIh246QztsdOB4sJzRJ1JUNumWbT15UNEl/motOcICXcnKEa7fiy8Lq57vdkAmjrrqrsW7ATOzcnULWFAw7/c7v/n8NovNN8JXGI8bQESMYULC1qHnSBR5Nu7lmP+f9EOyFJkUyEVeUoIeF7hXVE6eUlmS3/NCUqjE52D6wxv/LLYdhqLPTWftrs0dg== 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=XA1pfOainv5zt+vWzcpwFV3g2j3b4hbeqCADHs7ykWM=; b=RcjJA2QsuAd/nzTGl5aMIatDtKfQPWytIhBeh2H9vvW4j3gnhciuFIlxmmX0Fpo9uJMFXbd6VYWvaiDskW/Kj5pdzsHeQ8Lh6igPSimcBm5PfUwPI57FCZImMbelbjtcQu7Ss9DjgiyXoAanzCh2XveR7Ko2dAVcuMYs42CuDJvycc9RG+Sw1tbsDlin347RE4SC0umL2jl3H19Z1BcTMbLPVrjktABnBmBA1bOAcBNuCo08yc3D8lkmUKOatsjbC0v/w7YjHc6Y3G/5dju46Bgj47N8xxoyFHg2ZBVOOHG9v4jXaR+VLIrsAnnT3a+ISmKtnUkluzOxQ42G4M2psA== 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 DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by BL1PR11MB5336.namprd11.prod.outlook.com (2603:10b6:208:316::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.14; Mon, 16 May 2022 17:50:05 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::5dc9:53d7:3ece:fa2d]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::5dc9:53d7:3ece:fa2d%2]) with mapi id 15.20.5250.018; Mon, 16 May 2022 17:50:05 +0000 From: "Dumitrescu, Cristian" To: Shun Hao , "viacheslavo@nvidia.com" , "matan@nvidia.com" , "orika@nvidia.com" , "Li, Xiaoyun" , "Singh, Aman Deep" , "Zhang, Yuying" , "Wu, Jingjing" , "Singh, Jasvinder" , Adrien Mazarguil CC: "dev@dpdk.org" , "rasland@nvidia.com" , "stable@dpdk.org" Subject: RE: [PATCH v1] app/testpmd: fix metering and policing command for rfc4115 Thread-Topic: [PATCH v1] app/testpmd: fix metering and policing command for rfc4115 Thread-Index: AQHYZn3NAhDGkAPEaEKVesscHrcltK0hzaDA Date: Mon, 16 May 2022 17:50:05 +0000 Message-ID: References: <20220513035739.2792-1-shunh@nvidia.com> In-Reply-To: <20220513035739.2792-1-shunh@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.401.20 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: 023efb29-7034-47dc-498c-08da376482af x-ms-traffictypediagnostic: BL1PR11MB5336:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9Hr/m9KAQx92wARyD1eGVIKwZmPymj9lFwqBmT2JlW2OIQ2oKosQPXpUvCeF4JfVkEebAno8zr6jwz70zNIPLSan3pVks6c5VLP8XujqdcJORK56LydLW/PvYnvAQIHSrhhhGG1B2v56IZKpsDXLuJYzoJFr94ERcPQQkzDVcsvvXnY9BgftxRuxnzb8uH0EvGKMB2/PhOsuVBY2mxEjLL83pXvMNBaFyJaesNe62fPxXAZn/0YaRUxz4BCqpVCNjYgfemvU2oY5ygTNApZoQwKswW+SBCDwpubcVNbr0EgwnnWAGjmWbNAbbP1l2SqC6z53zCZ6UKiaM3LDhNZGsht5xq4yFqpCCBHaEwOxssNKS3wORbgawKC1r565JUbxGxpMQ/S+999G6LlW26aCA4iVHNz3An4xH9L1ZDBSOcjqi2hIDC2DmuP2+ZvzB+AjuEY4yaI9ngwNm/pJdfV3ALowcGp96UBICAXSPYBLQv+xW4h2a5rnRZkirvZbCXinrTedQXy7/Ml267DB6QyETIKrfiJaOV6VOZhks6uNfVuq1f8Zi7RX08J/yXvb9ErOke82tBOha1y+qKKF2rDTp5b/eeoiliHCto5jn/pU7I25YAW+AcPIJbdBQfwKRhFQjiqpTxpW/WY0Ye7bxUUMyzo7gmHpN8iV3YW65fwzQ8xSh7HPrhE9+Sfm+edJnnLTK6p91keQ6/sq9us8Eu7T18FGho6aN2GzdrbMr/JQWpA= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(122000001)(83380400001)(54906003)(921005)(316002)(6506007)(9686003)(110136005)(2906002)(508600001)(52536014)(8936002)(71200400001)(53546011)(66476007)(66946007)(86362001)(64756008)(26005)(66446008)(66556008)(8676002)(76116006)(4326008)(82960400001)(38070700005)(186003)(7696005)(33656002)(38100700002)(5660300002)(55016003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4qdU/FoWAbL3Kkkg8jwfP3e1/hJf4+oMAJRbuaONMS2dFKVedecVfo2yNmWV?= =?us-ascii?Q?EInF0kf+p1WyE9LmsuIaSxHfpu6mvV8pHQ0ub9xN4F2I3QkjDATRw7VzLAiT?= =?us-ascii?Q?8cNc0cTcix7kpr3CohJZ/ZJVdeREYGXr67Il2xiEf1lNHzjpeK8k/twoK+i2?= =?us-ascii?Q?5Pf3UDQaXW+Jo8nnbldar+cWyQV8/9+/9hTRz5ftiWqnDrIOMF550T3sSqHz?= =?us-ascii?Q?xg9swCgvYEZUfWjQ/i9rsjPhnilP0ksSy2ZgBR2FKm58CscCr3yI/0U3n3r2?= =?us-ascii?Q?faX171oKWC47H5TGe/6nn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Lao?= =?us-ascii?Q?T9Cm3e5tBal0gmgTEcNhE4QYMKaoRBy+QTkUPtb4FIu4snABYg5oc/62dL+J?= =?us-ascii?Q?66bgOsOASGQvxIvRztLwt0RiygEgGOW1qGG/bUHU5FU4dMbKtQbhwEW4zx89?= =?us-ascii?Q?hpl+4nT7ng2vaoRuxPV+yzM9kKB43gtc6Vbt3TbEwJbMQu5xslXPvjASN9Y1?= =?us-ascii?Q?j9rZ3DA/r81i43axMogzaVaS/cBt3DhxNybXqmUC63QX8f5UktSqTjQczgxB?= =?us-ascii?Q?1qVFCnEQSDA8rxlUjNkryemCZvKD8DGbTo7veP3ax+NPMOHf997/DcwduD13?= =?us-ascii?Q?ysDDSJpI8MAph1KKMNjm8gMsDVczF2wFmB4Mzbc0Dchvfz5mNkXfgC1pKSjE?= =?us-ascii?Q?JgqUMJkWq/CFpojXSqpd4RnI4Ew+plMXt8QkpfdCN8DSKLth/cVGUN1SbQCo?= =?us-ascii?Q?b8lilTK5rE0td1JPbkaiObfed2Ff6mLN1QoXNmDEnZlVeQqUB+Y+vapH4sOV?= =?us-ascii?Q?HjhCjC6rXwPuEdSRCezXfx9p7bR2KT9nwMQcDMR+4ArZYXnomzwfB355yQVr?= =?us-ascii?Q?f7SyL609IIIp9twlw2pTPdjeOvdA48c=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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 023efb29-7034-47dc-498c-08da376482af X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 17:50:05.4660 (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: qtODfSqmUmSHB3ggrL7Br5rRZjVbKFyAJRFsgr7Ck4RbBAYGEjh6poPMgNWgeT1mtovlXUzDy2op3KqITdb7qatSrVZ8MPmlhQM1ldXO++o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5336 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Shun Hao > Sent: Friday, May 13, 2022 4:58 AM > To: viacheslavo@nvidia.com; matan@nvidia.com; orika@nvidia.com; Li, > Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying ; Wu, > Jingjing ; Singh, Jasvinder > ; Adrien Mazarguil > ; Dumitrescu, Cristian > > Cc: dev@dpdk.org; rasland@nvidia.com; stable@dpdk.org > Subject: [PATCH v1] app/testpmd: fix metering and policing command for > rfc4115 >=20 > Add CLI command support for metering and policing of trtcm_rfc4115. >=20 > Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and > policing") > Cc: stable@dpdk.org >=20 > Signed-off-by: Shun Hao > Acked-by: Matan Azard > --- > app/test-pmd/cmdline.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c > index 6ffea8e21a..34410fe9f7 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -17966,6 +17966,7 @@ cmdline_parse_ctx_t main_ctx[] =3D { > (cmdline_parse_inst_t *)&cmd_show_port_meter_cap, > (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_srtcm, > (cmdline_parse_inst_t *)&cmd_add_port_meter_profile_trtcm, > + (cmdline_parse_inst_t > *)&cmd_add_port_meter_profile_trtcm_rfc4115, > (cmdline_parse_inst_t *)&cmd_del_port_meter_profile, > (cmdline_parse_inst_t *)&cmd_create_port_meter, > (cmdline_parse_inst_t *)&cmd_enable_port_meter, > -- > 2.20.0 Acked-by: Cristian Dumitrescu