From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D030F1B68A for ; Fri, 13 Oct 2017 14:29:14 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Oct 2017 05:29:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,371,1503385200"; d="scan'208";a="160128486" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga005.jf.intel.com with ESMTP; 13 Oct 2017 05:29:11 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by irsmsx105.ger.corp.intel.com ([163.33.3.28]) with mapi id 14.03.0319.002; Fri, 13 Oct 2017 13:29:10 +0100 From: "Dumitrescu, Cristian" To: Hemant Agrawal , "dev@dpdk.org" CC: "thomas@monjalon.net" , "adrien.mazarguil@6wind.com" , "Wu, Jingjing" , "jerin.jacob@caviumnetworks.com" , "Singh, Jasvinder" Thread-Topic: [PATCH V3 3/5] ethdev: add new api for traffic metering and policing Thread-Index: AQHTQ0e+JHRYFKooWk+zNnHNgIxJsKLhtutg Date: Fri, 13 Oct 2017 12:29:09 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891267BAD0BE0@IRSMSX108.ger.corp.intel.com> References: <1507208974-180500-2-git-send-email-cristian.dumitrescu@intel.com> <1507301136-131382-1-git-send-email-cristian.dumitrescu@intel.com> <1507301136-131382-4-git-send-email-cristian.dumitrescu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH V3 3/5] ethdev: add new api for traffic metering and policing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 12:29:15 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSGVtYW50IEFncmF3YWwg W21haWx0bzpoZW1hbnQuYWdyYXdhbEBueHAuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgT2N0b2Jl ciAxMiwgMjAxNyAxMTo0OSBBTQ0KPiBUbzogRHVtaXRyZXNjdSwgQ3Jpc3RpYW4gPGNyaXN0aWFu LmR1bWl0cmVzY3VAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiB0aG9tYXNAbW9uamFs b24ubmV0OyBhZHJpZW4ubWF6YXJndWlsQDZ3aW5kLmNvbTsgV3UsIEppbmdqaW5nDQo+IDxqaW5n amluZy53dUBpbnRlbC5jb20+OyBqZXJpbi5qYWNvYkBjYXZpdW1uZXR3b3Jrcy5jb207IFNpbmdo LA0KPiBKYXN2aW5kZXIgPGphc3ZpbmRlci5zaW5naEBpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFJl OiBbUEFUQ0ggVjMgMy81XSBldGhkZXY6IGFkZCBuZXcgYXBpIGZvciB0cmFmZmljIG1ldGVyaW5n IGFuZA0KPiBwb2xpY2luZw0KPiANCj4gT24gMTAvNi8yMDE3IDg6MTUgUE0sIENyaXN0aWFuIER1 bWl0cmVzY3Ugd3JvdGU6DQo+IA0KPiBPdmVyYWxsIHRoZSBwYXRjaCBsb29rcyBvay4gRmV3IHNt YWxsIGNvbW1lbnRzLg0KPiANCj4gPiBkaWZmIC0tZ2l0IGEvbGliL2xpYnJ0ZV9ldGhlci9ydGVf bXRyLmggYi9saWIvbGlicnRlX2V0aGVyL3J0ZV9tdHIuaA0KPiA+IG5ldyBmaWxlIG1vZGUgMTAw NjQ0DQo+ID4gaW5kZXggMDAwMDAwMC4uZjBmODk3Zg0KPiA+I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