From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6258F2BD3 for ; Fri, 29 Mar 2019 21:04:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 13:04:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,285,1549958400"; d="scan'208";a="145022331" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by FMSMGA003.fm.intel.com with ESMTP; 29 Mar 2019 13:04:20 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.7]) by IRSMSX151.ger.corp.intel.com ([169.254.4.91]) with mapi id 14.03.0415.000; Fri, 29 Mar 2019 20:04:19 +0000 From: "Dumitrescu, Cristian" To: Eelco Chaudron CC: "dev@dpdk.org" Thread-Topic: [PATCH v3] lib/librte_meter: fix divide by zero for RFC4115 meter Thread-Index: AQHU3kzWjpUil/WSWkyhVQktjmCsWKYjGGTQ Date: Fri, 29 Mar 2019 20:04:19 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891268E85FD62@IRSMSX108.ger.corp.intel.com> References: <155299743267.6865.5001245009415554669.stgit@dbuild> In-Reply-To: <155299743267.6865.5001245009415554669.stgit@dbuild> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTBkZjhhODAtZWFkYi00OWExLTg0ZWEtMmFjMTkzYWRjMzFkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR1BxcmNxNEZwU2lXOTg2bnRPN0ErbnVQMkE0c1FRRmU0c3BkK2F0VWpyRWFSRFNHMnRLRU9kTW94K2xzYXhCaSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] lib/librte_meter: fix divide by zero for RFC4115 meter 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, 29 Mar 2019 20:04:23 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRWVsY28gQ2hhdWRyb24g W21haWx0bzplY2hhdWRyb0ByZWRoYXQuY29tXQ0KPiBTZW50OiBUdWVzZGF5LCBNYXJjaCAxOSwg MjAxOSAxMjoxMSBQTQ0KPiBUbzogRHVtaXRyZXNjdSwgQ3Jpc3RpYW4gPGNyaXN0aWFuLmR1bWl0 cmVzY3VAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFtQQVRDSCB2 M10gbGliL2xpYnJ0ZV9tZXRlcjogZml4IGRpdmlkZSBieSB6ZXJvIGZvciBSRkM0MTE1IG1ldGVy DQo+IA0KPiBSRkMgNDExNSBhbGxvd3MgYSBtZXRlciB3aXRoIGVpdGhlciBjaXIgYW5kL29yIGVp ciBjb25maWd1cmVkLg0KPiBXaGVuIG9ubHkgb25lIGlzIGNvbmZpZ3VyZWQgYSBkaXZpZGUgYnkg emVybyB3b3VsZCBvY2N1ci4NCj4gDQo+IEZpeGVzOiA2NTU3OTZkMmI1ZmIgKCJtZXRlcjogc3Vw cG9ydCBSRkM0MTE1IHRyVENNIikNCj4gQ2M6IGVjaGF1ZHJvQHJlZGhhdC5jb20NCj4gDQo+IFNp Z25lZC1vZmYtYnk6IEVlbGNvIENoYXVkcm9uIDxlY2hhdWRyb0ByZWRoYXQuY29tPg0KPiANCj4g LS0tDQo+ICB2MyAtIFJhdGhlciB0aGFuIHVzaW5nIGEgMCBjaGVjaywgc2V0IHVwIHByb2ZpbGUg ZGF0YSBzdWNoIHRoYXQgbm8NCj4gICAgICAgY2hlY2sgYXQgcnVudGltZSBpcyBuZWVkZWQuDQo+ ICB2MiAtIFJlbW92ZWQgY29uZmlndXJhdGlvbiBjaGFuZ2UgdGhhdCBnb3QgaW5jbHVkZWQgYnkg YWNjaWRlbnQNCj4gDQoNCkFja2VkLWJ5OiBDcmlzdGlhbiBEdW1pdHJlc2N1IDxjcmlzdGlhbi5k dW1pdHJlc2N1QGludGVsLmNvbT4NCg0KQXBwbGllZCB0byB0aGUgbmV4dC1xb3MgdHJlZSwgdGhh bmtzIQ0KDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E8BF4A05D3 for ; Fri, 29 Mar 2019 21:04:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0ECD92BF4; Fri, 29 Mar 2019 21:04:25 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6258F2BD3 for ; Fri, 29 Mar 2019 21:04:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 13:04:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,285,1549958400"; d="scan'208";a="145022331" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by FMSMGA003.fm.intel.com with ESMTP; 29 Mar 2019 13:04:20 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.7]) by IRSMSX151.ger.corp.intel.com ([169.254.4.91]) with mapi id 14.03.0415.000; Fri, 29 Mar 2019 20:04:19 +0000 From: "Dumitrescu, Cristian" To: Eelco Chaudron CC: "dev@dpdk.org" Thread-Topic: [PATCH v3] lib/librte_meter: fix divide by zero for RFC4115 meter Thread-Index: AQHU3kzWjpUil/WSWkyhVQktjmCsWKYjGGTQ Date: Fri, 29 Mar 2019 20:04:19 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891268E85FD62@IRSMSX108.ger.corp.intel.com> References: <155299743267.6865.5001245009415554669.stgit@dbuild> In-Reply-To: <155299743267.6865.5001245009415554669.stgit@dbuild> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTBkZjhhODAtZWFkYi00OWExLTg0ZWEtMmFjMTkzYWRjMzFkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR1BxcmNxNEZwU2lXOTg2bnRPN0ErbnVQMkE0c1FRRmU0c3BkK2F0VWpyRWFSRFNHMnRLRU9kTW94K2xzYXhCaSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] lib/librte_meter: fix divide by zero for RFC4115 meter 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190329200419.B-9u3zlMNg8ra-xLpUbFRIvKRdAa-VuNAhjBlYtC_dM@z> DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRWVsY28gQ2hhdWRyb24g W21haWx0bzplY2hhdWRyb0ByZWRoYXQuY29tXQ0KPiBTZW50OiBUdWVzZGF5LCBNYXJjaCAxOSwg MjAxOSAxMjoxMSBQTQ0KPiBUbzogRHVtaXRyZXNjdSwgQ3Jpc3RpYW4gPGNyaXN0aWFuLmR1bWl0 cmVzY3VAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFtQQVRDSCB2 M10gbGliL2xpYnJ0ZV9tZXRlcjogZml4IGRpdmlkZSBieSB6ZXJvIGZvciBSRkM0MTE1IG1ldGVy DQo+IA0KPiBSRkMgNDExNSBhbGxvd3MgYSBtZXRlciB3aXRoIGVpdGhlciBjaXIgYW5kL29yIGVp ciBjb25maWd1cmVkLg0KPiBXaGVuIG9ubHkgb25lIGlzIGNvbmZpZ3VyZWQgYSBkaXZpZGUgYnkg emVybyB3b3VsZCBvY2N1ci4NCj4gDQo+IEZpeGVzOiA2NTU3OTZkMmI1ZmIgKCJtZXRlcjogc3Vw cG9ydCBSRkM0MTE1IHRyVENNIikNCj4gQ2M6IGVjaGF1ZHJvQHJlZGhhdC5jb20NCj4gDQo+IFNp Z25lZC1vZmYtYnk6IEVlbGNvIENoYXVkcm9uIDxlY2hhdWRyb0ByZWRoYXQuY29tPg0KPiANCj4g LS0tDQo+ICB2MyAtIFJhdGhlciB0aGFuIHVzaW5nIGEgMCBjaGVjaywgc2V0IHVwIHByb2ZpbGUg ZGF0YSBzdWNoIHRoYXQgbm8NCj4gICAgICAgY2hlY2sgYXQgcnVudGltZSBpcyBuZWVkZWQuDQo+ ICB2MiAtIFJlbW92ZWQgY29uZmlndXJhdGlvbiBjaGFuZ2UgdGhhdCBnb3QgaW5jbHVkZWQgYnkg YWNjaWRlbnQNCj4gDQoNCkFja2VkLWJ5OiBDcmlzdGlhbiBEdW1pdHJlc2N1IDxjcmlzdGlhbi5k dW1pdHJlc2N1QGludGVsLmNvbT4NCg0KQXBwbGllZCB0byB0aGUgbmV4dC1xb3MgdHJlZSwgdGhh bmtzIQ0KDQo=