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 9DDB3A0C43; Tue, 16 Nov 2021 11:05:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 422844114F; Tue, 16 Nov 2021 11:05:09 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2060.outbound.protection.outlook.com [40.107.212.60]) by mails.dpdk.org (Postfix) with ESMTP id 7811241149 for ; Tue, 16 Nov 2021 11:05:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fiqgsR0LimRSxuyCts/U9pcpthTuwZOTaJJ97Q0z5CtR2vWXiFy8c0M1T5uC4zc0J1YVq0NNS1gi1u+sxU3X1rtzQGAS7E4MtOHioCbeBa+7iaOOZJ0kk6Z16ifBa0hUKn/WwePQBrzvcE60Q+kduZ31rvzTc+8F3iMPJ7LZgarhio1fXP9iUUnCDVVF8ikub3pzxnsnxBRyA79qSCDnUjZpx/fB6D7UycigjcTrOZPKPC6M/41cIEJA295xuLVqsQLn7xU/rigQ3BtptSTfDiIQ04w8FsLlMPeE/uAvkYiREan+UGmc8q+ZGL6QdNL8ROFW/1+RiOEo8czrHVpFog== 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=YfdpbqIXGSZuXUMTfa3jm70dbUECOJmkyc3fPqi5c68=; b=How0LjT8h2o2sAiC1ohIsr60LyAZV8NF/32c7wfIPfyWWcgbm6z35UeAR/+nMNR7T+MZa1uKSJ+C7VO6BG17rzNx7+A4lk0pmH6koPtXl+qCdHeaudteuGlS/ySGHgvX8Jnm0xCztRWQvMDmszu6N13s1Md38BuWTJ5w0d4NhMTjQx5ZWsaN5LV9szO4SoAjsvhl7374XGh8r/9ePnZh77U7IAlOHQ6YQgXUeZppNABmci6hu2k3h54jlozAgilFtUb+gUvzCQD/Zs8aFget3CGKUzUicBihEId0y+lFFl1xshBLxdRnhSfvTqexphRxr7d0OOn2ces6iF4zFp8oUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=YfdpbqIXGSZuXUMTfa3jm70dbUECOJmkyc3fPqi5c68=; b=qgr0vpfFXTV2/6nCdd8dBRmlUGIwZOoZxSYZRpi09daF3xmj4DiUX60q3GRXGfhfYB2pBOKedoQ6H9XvSxhGWwUB4M5uBxl/Is4hlgYFuClEVAmmgnfF4lf4ErWLoCcEok7rplBpDNrxwi8WDtfxa0RMUB+zqgr8k/bM8SLtEtZljB0ALCDuluZRnz7kAFO2//U/30SCOufiZckM6IvavPf64Qmu5Zgvf+FAavcC4kDm3pgbQpg+71nc1vHmmqzofxtBJZ1vVLo45fZtV3m4bcXFakv+IMApYq8GwTTmXDsads3WqLodz54BE7kt8WHVf/8nVMzyOZx8KazO9tgbUw== Received: from DM4PR12MB5039.namprd12.prod.outlook.com (2603:10b6:5:38a::18) by DM4PR12MB5071.namprd12.prod.outlook.com (2603:10b6:5:38a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.20; Tue, 16 Nov 2021 10:05:06 +0000 Received: from DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::f5f3:1b05:a7d5:f88e]) by DM4PR12MB5039.namprd12.prod.outlook.com ([fe80::f5f3:1b05:a7d5:f88e%7]) with mapi id 15.20.4669.015; Tue, 16 Nov 2021 10:05:06 +0000 From: Wisam Monther To: Rongwei Liu , Matan Azrad , Slava Ovsiienko , Ori Kam , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Raslan Darawsheh , Haifei Luo , "Jiawei(Jonny) Wang" Subject: RE: [PATCH v9 2/5] app/flow-perf: support meter policy API Thread-Topic: [PATCH v9 2/5] app/flow-perf: support meter policy API Thread-Index: AQHX1wfMItQdeWIcykKQiKNs6/TpfKwF80ng Date: Tue, 16 Nov 2021 10:05:06 +0000 Message-ID: References: <6177033.fEpqbVaury@thomas> <20211111142340.2209292-1-rongweil@nvidia.com> <20211111142340.2209292-3-rongweil@nvidia.com> In-Reply-To: <20211111142340.2209292-3-rongweil@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3147cf8e-acf3-4fd7-f141-08d9a8e890dc x-ms-traffictypediagnostic: DM4PR12MB5071: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: B6ttyUKkBBUh7+xWF8EwXr9yHmleXvh+HLyZZyfSskKW3S+BwjxN1SCa8AyxOUi9Um9ua4dnq3J5uSTKw8HA4JMg/iySAjVc0rx2MtSq/wVi6xIfnSGl7J/OaRFNHPqrHhfD0F4AhH9ifRXimc7RjOIxuWYgtN8/XR32q+MUoKhYph3kroGBpKgwA8Q84TihNypVoD9obvhuEmYGPmi17dQLTcRkhwJIWp1xNzctsPzk2v1Gc+GZ1nNDKyUZmkr4TBWTCWU9Tl5Xrnmg1ZegWhZuZLatOZtG6Fg+5Sm3aBMVcP7yemPOu8ogY2FURgspl0JxpXqWqx/Co5dwepwaZ0mADDm38kAbst72TMqrxE4CDA27XBZV2R3HYzdJ4juntt+0EPhqqS+RkBm8ABNmshyVjXPrYPjKKTVWYYsLvmTEjIA6I2noF2K6MA2swZ5doW8fvnCF5ojPjmA+50PK+fDg+4lU3UPebvLGpoDrAUK+klJA76ek/4VUGdidetWuAb1qaJefQCoBw4sD46+bNj1mYy1LgQFiMcybM2ZtoOiX0cdFQSNxfqN5wyPsEBoWYoYkAelfdNDSGQSs9f0A3Yb0PHYM2ZAV7KP3MBNSFl4PwuK9/xKZK0hJDVZm2RfFSujHBu/9jrqCyL72dp8RF7hjZroOsSgUaY2lBJPFJdcWbZlqyXGY22VzpwFHjPkuwpT82vMg2S67KhqpayFYFw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5039.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(186003)(26005)(316002)(2906002)(4326008)(52536014)(5660300002)(38100700002)(122000001)(54906003)(64756008)(66446008)(66476007)(66556008)(66946007)(53546011)(110136005)(76116006)(86362001)(7696005)(55016002)(33656002)(6506007)(38070700005)(8936002)(4744005)(83380400001)(9686003)(107886003)(8676002)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mYdShuiJVQvCm2GHweYeA8HfARieU4/cNppFxWgADbeTlBJ/PvK119Z/r2+C?= =?us-ascii?Q?G+utaL7owLjTb8I4RcX2kV/QpWvBX3RiHiLdSx3dAleyVCJeuRApyNEA2sGi?= =?us-ascii?Q?9r09Kb9M1c44Y0Suv0XStFhxPg9VJxU29fh99x7H/wBze0XENzjBVu2RAK+t?= =?us-ascii?Q?Tm3lO1G4Wz04GWQ46ActJL/d4BCHQ7e42vxVxY2uctFckKOow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yPe/oJ3b2ZioQI1uAaVCupXjGc+gyo0+1lDPZRuo?= =?us-ascii?Q?ZD7ndhrwjj7kY+B0o1H1O9349hEEurvNaLM90jlCcYjDLPCVb6xETCDRQfKT?= =?us-ascii?Q?HNb/m4RiZT5VX59VUSXW89ZLh4NUuKnKGUPIkyEwAq7h8S7qvfgtoUUpsKRh?= =?us-ascii?Q?eF8zbER25WJ9tUkW5EJ8SZzOZTzjrX3PcgjB5hBgOVVODsCe7iS4J5buvzv4?= =?us-ascii?Q?NcrxpNpnTBjWXI6mSUfrB5l2QIlI9HmvfqiT/8FmTdxikiET037qBnKwxPck?= =?us-ascii?Q?0juAbt1ZyapQu17TAF1eGoAEBnsv/Uzz/eqoJ9djJJMFaA0x9zkbl1704rFK?= =?us-ascii?Q?O4Y4Hh3WSrkA6qMLYDE2oMbtakTUdmCxhTgKDDaiTXEBB6P1JCmYlRmy4VHP?= =?us-ascii?Q?/C/cfDNbKg3yFXXjwoojV6GiOc8AKkKwFf1CU1LddhxjJUdbPfce3s0a+ha/?= =?us-ascii?Q?v5mE6iVVZPuhsGiTLmNgiMzo1NR6AdW+bjCo8vTYs3sMWTSZUVCHTEdUQmb/?= =?us-ascii?Q?Dw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5039.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3147cf8e-acf3-4fd7-f141-08d9a8e890dc X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 10:05:06.4211 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Rsgnpd3EDQzldKlWp/NikmGF7qXL16OBc7dUswnTZ5OKhhzpyXfn6iumE+jjCw6RSt6PWEuPABdWulxJOPngTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5071 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 Hi, > -----Original Message----- > From: Rongwei Liu > Sent: Thursday, November 11, 2021 4:24 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon ; Wisam Monther > > Cc: dev@dpdk.org; Raslan Darawsheh ; Haifei Luo > ; Jiawei(Jonny) Wang > Subject: [PATCH v9 2/5] app/flow-perf: support meter policy API >=20 > Add option "policy-mtr" to indicate if meter creation will include policy= or not. > Meter creation will keep unchanged without it. >=20 > With "policy-mtr", the policy is introduced. API create_meter_policy is t= o > create a policy. API create_meter_rule will use it to create a meter. The= value > of it is used to specify meter policy actions. >=20 > Signed-off-by: Haifei Luo > Signed-off-by: Jiawei Wang > Signed-off-by: Rongwei Liu Acked-by: Wisam Jaddo BRs, Wisam Jaddo