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 56283A0524; Wed, 14 Apr 2021 05:23:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEFED161671; Wed, 14 Apr 2021 05:23:42 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2052.outbound.protection.outlook.com [40.107.236.52]) by mails.dpdk.org (Postfix) with ESMTP id E652116166F for ; Wed, 14 Apr 2021 05:23:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dTJB8LGyYvUu0svMykP8X9Ior9ehiGaaULqACTEO1j0qLOaJTBXpQrhUwdB1W0oCO3jruCOa5cPKoBwov0GUb68MIeDLLw9+IOrvpu12+h9VtxK3BVSTuLgAS9Hw3rWq38Xpny7+WIjNDOu8CWCk995tFC58ZqGy5hg39v163vVgaUxl8yZCqgHFg3vyBOfCvKMp9z+sb48PgLqyNmJpmFUvufWBCbyQTY9HYY7CcaVzf/QBpQw+0iblPJ5SDBRVoTAlujDG/Op2L+2Pg5KPNFllWdkDUYZoQnYIgPuPly6EuIXhlREHybG3RFHVboxZJNCS8wmabqwpAm1fL4G4EQ== 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-SenderADCheck; bh=eaSmsKugvXE4WKAzvhw5jvk3Dmrx/DHRcgNBRt4BRYI=; b=Pi5k+GJC2Eep0XWk0KbkpT2scmyb2KNzTQjC6G0fnXcj4Iq5mRAnTVggcA78ITAJznXtbxysXI6fvxJl+Ff61FtVCW1ZIpmtEey2kDClKpgcV8yxMFJb48UWJi94Tc3apL75kPYoU/pYcPAMHeAlzSn67wNezTjCObvSCm2evQvC3vGDSYElwMB9LVy7m1ROAJG38MNU0yRg5ewgX5V9kM+3ovkWDe9p9yRHmXvz+sKN6XUQbLbGhp5fbQWixf2G9kC9O8mzt/ET1CPBgywSptgkkEck3nWQ5ArFHwSho6HrXpD2dfeVJfWp5v+jRNwOA9PTQl+58f68n5iEJiKI3A== 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=eaSmsKugvXE4WKAzvhw5jvk3Dmrx/DHRcgNBRt4BRYI=; b=iBbeQv9JsOY1ygYualn0CSLkLvxNHBg6z4FhwVeDvzVK9QpZEjwPNwgSbVrixrnWGwprRkpjjXu5WexY3VeQXZXWHFOxOGk0p3P9wKUfdQ5mbxig6D1xIFftRqSW25c/ERMbrcSeYwKY12NWYZDcBWbORA2A3G+6fc2ol76WD8lQZc6bwK3B/p8cSGKkVOsSuN2Sf2zwXdnEtzdXCQ1a6S1qu8EAkDWihIH+/pE6IykdgQtPQnNX0BPqK/APzo9PUHRkrRme1KBMQoDWCjOztkA5tPVeAZgrjnb3tqMUI1F6YkobZIO+fMWtX6Ga2oEnqkh0bhdV2or7qx69p862Ug== Received: from DM6PR12MB4090.namprd12.prod.outlook.com (2603:10b6:5:217::11) by DM5PR12MB1577.namprd12.prod.outlook.com (2603:10b6:4:f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Wed, 14 Apr 2021 03:23:39 +0000 Received: from DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::fd19:da7e:347b:87da]) by DM6PR12MB4090.namprd12.prod.outlook.com ([fe80::fd19:da7e:347b:87da%4]) with mapi id 15.20.4020.023; Wed, 14 Apr 2021 03:23:38 +0000 From: Li Zhang To: "Dumitrescu, Cristian" , "dekelp@nvidia.com" , Ori Kam , Slava Ovsiienko , Matan Azrad , Shahaf Shuler , "lironh@marvell.com" , Wisam Monther , "Li, Xiaoyun" , "Singh, Jasvinder" , NBU-Contact-Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Ray Kinsella , Neil Horman , Jerin Jacob CC: "dev@dpdk.org" , Raslan Darawsheh , Roni Bar Yanai , Haifei Luo , "Jiawei(Jonny) Wang" Thread-Topic: [PATCH v3 1/2] ethdev: add pre-defined meter policy API Thread-Index: AQHXMG/6WKfCw1dBMku6N3SDr+BMy6qzWRhQ Date: Wed, 14 Apr 2021 03:23:38 +0000 Message-ID: References: <20210318085815.804896-1-lizh@nvidia.com> <20210413001428.1999959-1-lizh@nvidia.com> <20210413001428.1999959-2-lizh@nvidia.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [139.227.253.12] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b266e8f-6c68-45b3-04d5-08d8fef4b244 x-ms-traffictypediagnostic: DM5PR12MB1577: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QzgKaiOuAIGOOkET8gbC8fgL1mlBMfr6CCPV3W7oGQbZBByhFo7Qz80a1/7UhRyK1b7l7ezeHXI03CWLg7BavDlxdEV6gkzvkLnNH3bEsFkbX4z7ZOaFcD1cW690aZN9FbAN3zqAqrtXYy47ZyIjid8sfGOHFtllR/7XsAdyLFWwbu70W5O2keqPcPyTteHrNX8LCRXeQNrurYCQQnAn9wYiD1cyZOTlNciRikopPrenvKd1rWdnCo5OM/Afv3gvrWoQYtOgC19zxL48JMqTds5ESuC0RNGWC+0+qu2Ienvl5kh/P79ayMSR7fWDIQUnW1BtZWABnQ7S/mNPlF/EFpWjfoD36p661HlYrCLiveMnRXXennBOD6zuVuGrA2Io3FGE7IpIJSYrov+27cNJb6/ZQDPn4agyIFIFOE2R5iXtVuesu/EtA/kuhZZ55ebCfoR6Onqaiih6qn4J4N6aiJFeupqCIFvQ6ZyF7941fDIJq+SkyUYRC97SKU41mGlyrG/TkzR0O6CDvcMrYrNqcDa+54flKXEbcP0xwYI75o19nPxWLZ2ZFjtKgDwCqtdJFLyn8s8ekYLZbyEVWOvoZf5CoIV+vMF2nNfBygzcVGs3pOtWEKq+nWGGMarEdLAcG+bFj/uuNZuhnh/VFUKcV3d/IBhRnlPGBgNR/XQyMsukUzYQGiw3v21VdXR2nj27oz/yVp401VlFJvo3HIx6Tu7vMPSd4KITVAbgNgpr03M= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4090.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(366004)(396003)(376002)(966005)(4326008)(478600001)(55016002)(9686003)(921005)(2906002)(86362001)(38100700002)(76116006)(53546011)(66556008)(64756008)(71200400001)(316002)(66476007)(8936002)(5660300002)(122000001)(66946007)(52536014)(7416002)(8676002)(7696005)(26005)(107886003)(186003)(66446008)(83380400001)(110136005)(6506007)(33656002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?UG9HOGl6NmpydjJjZDYzcmpSaURkRnB4YjZady94YW13Nm5mL3poSnZMRUZv?= =?utf-8?B?SXJSRFVqQjVlSVp2RFFpcWNGYkhpY3BidndYZFMvSzd2ZkVvTk1sdUcrb2Mr?= =?utf-8?B?Sll1bXhJK2EzYUVyQncwaUd3NnI1ZHhESEFrNVVDQ3c4WEpJQ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eXlvdWdlREg3NDNPakNUbi96ZDdPOC9MbnNM?= =?utf-8?B?Z25La1M3Q2YyUUdYaWZWQmVWUWRpMkZMaS9Oa1VGTmg3M0x0Q0pBc2ZEaks3?= =?utf-8?B?ditrVSsxWlJxTkNzaUFSR1A0Z1dMajBMZFVvcVZzR1BISjRUcTFWT0hYTHFR?= =?utf-8?B?SnVUcE5jMUVQOXdPRG5NdkRwcS9VUTdzR3drd3ZVNFFiN2I0My8wUmxOeUpH?= =?utf-8?B?bzhETTd3RnQrYkhKVzZBTll3SWNJZitvblRmSk5XdlZaaWtnQVVHcGhGYTBK?= =?utf-8?B?SmU1ei8vc3FsZS9UQTFPQ2pDUzk2Q0pWVGQ3Z0dIRThWRU43VG9SblVLaXN4?= =?utf-8?B?YlFhdlNYN3RIOExDeXFBWXY5YzFnQmNQSGZzWG1vZGdpdEtIMnVHT0xoT0RO?= =?utf-8?B?aXNwMnRJS24rV2FsdTBIOWp2NVZURi9jNTlrNFdDWmJ0enRwYU5hQnF2QW5Z?= =?utf-8?B?a2NHOStvUVJobjVPR0tWYU45eWJ6YXBnYkRtZ2M2dlRLV1BUR3F0V0s4L3Rz?= =?utf-8?B?NFhZRjdSTlVKY09RdDR0NklDN04veVZ3Z1lOUi8xSG4zWE5RdmRLZUhncisz?= =?utf-8?B?MURhRUpHRkFqbFd3eGJnbGp6dWFWdUhaeHUrVEtJM1B4ck9LZXpleVlPcHVV?= =?utf-8?B?TlBrRGN6ZWk3S1F2NTZDRDRtY09EOWQ5Y1VHRGVWbElnMWJZMkVGNkhjT01p?= =?utf-8?Q?qAj1lN2zQzHFNrJPnA2/IoPw5HdLx+1c+uiuIWR?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4090.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b266e8f-6c68-45b3-04d5-08d8fef4b244 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2021 03:23:38.8027 (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: UPU0CQDXQni7yvDz03PtqAgI05Cs7YRTximH1uNWoEgYc/HsG1XlpT430C7O5HVh X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1577 Subject: Re: [dpdk-dev] [PATCH v3 1/2] ethdev: add pre-defined meter policy API 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" SGkgQ3Jpc3RpYW4sDQoNClRoaXMgcGF0Y2ggaXMgZGVwZW5kIG9uIHNlcmllcz0xNjM1MS4NCkRl cGVuZHMtb246IHNlcmllcz0xNjM1MSAgKCJBZGQgQVNPIG1ldGVyIHN1cHBvcnQgaW4gTUxYNSBQ TUQgIikNCmh0dHBzOi8vcGF0Y2h3b3JrLmRwZGsub3JnL3Byb2plY3QvZHBkay9saXN0Lz9zZXJp ZXM9MTYzNTENCg0KQmVjYXVzZSBSVEUgQVBJIGNoYW5nZSBhbmQgaXQgbmVlZCBjaGFuZ2UgUE1E IHBhcnQgdG8gZml4IGJ1aWxkaW5nIGlzc3VlLg0KDQpSZWdhcmRzLA0KTGkgWmhhbmcNCg0KPiAt LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEdW1pdHJlc2N1LCBDcmlzdGlhbiA8 Y3Jpc3RpYW4uZHVtaXRyZXNjdUBpbnRlbC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEFwcmlsIDEz LCAyMDIxIDEwOjE5IFBNDQo+IFRvOi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