From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2C64F1BC04; Fri, 19 Apr 2019 18:39:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2019 09:39:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,370,1549958400"; d="scan'208";a="137200268" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga006.jf.intel.com with ESMTP; 19 Apr 2019 09:39:12 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.44]) by IRSMSX152.ger.corp.intel.com ([169.254.6.225]) with mapi id 14.03.0415.000; Fri, 19 Apr 2019 17:39:11 +0100 From: "Lipiec, Herakliusz" To: "Yigit, Ferruh" , "Wiles, Keith" CC: "dev@dpdk.org" , "rasland@mellanox.com" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] net/tap: ipc add check for number of messages received Thread-Index: AQHU9grBPAiDHOhlMEa9d8WgU34xX6ZCJ+sAgAGFtsA= Date: Fri, 19 Apr 2019 16:39:10 +0000 Message-ID: References: <20190418171923.570-1-herakliusz.lipiec@intel.com> <448da202-d87a-56ef-211f-4f97415ff47b@intel.com> In-Reply-To: <448da202-d87a-56ef-211f-4f97415ff47b@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWFhNDNiOWYtNDZlNi00ZjI3LWE4YWEtNTk2MGExNWMwZDE4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaVwvODFsT1ZtQWgwRDhQVkh3cmsrZW45OW5rTk9NcWhiaEExS2g2NzQ5cElaajRlN2dteEg5ZG9BZDJpXC9ZcEhBIn0= x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/tap: ipc add check for number of messages received 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, 19 Apr 2019 16:39:14 -0000 T24gNC8xOC8yMDE5IDc6MTMsIEZlcnJ1aCBZaWdpdCB3b3J0ZToNCj4gT24gNC8xOC8yMDE5IDY6 MTkgUE0sIEhlcmFrbGl1c3ogTGlwaWVjIHdyb3RlOg0KPiA+IEEgc3VjZXNzZnVsbCBjYWxsIHRv IHJ0ZV9tcF9yZXF1ZXN0X3N5bmMgZG9lcyBub3QgZ3VhcmFudGVlIHRoYXQgdGhlcmUNCj4gPiBh cmUgdmFsaWQgbWVzc2FnZXMgaW4gdGhlIGJ1ZmZlciwgYW5kIHRoaXMgc2hvdWxkIGJlIGNoZWNr ZWQgZm9yDQo+ID4gYmVmb3JlIGFjY2Vzc2luZyBkYXRhIGluIHRoZSBtZXNzYWdlLg0KPiA+DQo+ ID4gRml4ZXM6IGM5YWE1NmVkZWM4ZSAoIm5ldC90YXA6IGFjY2VzcyBwcmltYXJ5IHByb2Nlc3Mg cXVldWVzIGZyb20NCj4gPiBzZWNvbmRhcn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dXJuIDAgd2l0aCBubyBtZXNzYWdlIGluIGNhc2Ugb2Y6DQotIGZhaWx1cmUgdG8gc2VuZCB0aGUg bWVzc2FnZSBvbiBiZWhhbGYgb2YgcmVtb3RlDQotIHRoZSBjYWxsZXIgbm90IGNhcmluZyBhYm91 dCByZXBseSBtZXNzYWdlLg0KSSBwcm9wb3NlIHRvIGFkZCBhIGNoZWNrIGZvciBuYl9yZWNlaXZl ZCB0byBuZXQvdGFwIHNpbmNlIHRoaXMgc2VlbXMgdG8gYmUgZG9uZSBpbiBldmVyeXdoZXJlIA0K ZWxzZSB3aGVuIHJ0ZV9tcF9yZXF1ZXN0X3N5bmMgaXMgY2FsbGVkICh0aGlzIHdpbGwgZG8gbm8g aGFybSksIGFuZCBhbHNvIEkgdGhpbmsgdGhhdCByZXR1cm4gY29kZXMgc2hvdWxkIGJlIGZpeGVk LA0KYnV0IHRoYXQgY2FuIGJlIGRvbmUgaXJyZWxldmFudCBvZiB0aGlzLiANCg== 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 23092A00E6 for ; Fri, 19 Apr 2019 18:39:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE7D21BC07; Fri, 19 Apr 2019 18:39:15 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2C64F1BC04; Fri, 19 Apr 2019 18:39:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2019 09:39:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,370,1549958400"; d="scan'208";a="137200268" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga006.jf.intel.com with ESMTP; 19 Apr 2019 09:39:12 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.44]) by IRSMSX152.ger.corp.intel.com ([169.254.6.225]) with mapi id 14.03.0415.000; Fri, 19 Apr 2019 17:39:11 +0100 From: "Lipiec, Herakliusz" To: "Yigit, Ferruh" , "Wiles, Keith" CC: "dev@dpdk.org" , "rasland@mellanox.com" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] net/tap: ipc add check for number of messages received Thread-Index: AQHU9grBPAiDHOhlMEa9d8WgU34xX6ZCJ+sAgAGFtsA= Date: Fri, 19 Apr 2019 16:39:10 +0000 Message-ID: References: <20190418171923.570-1-herakliusz.lipiec@intel.com> <448da202-d87a-56ef-211f-4f97415ff47b@intel.com> In-Reply-To: <448da202-d87a-56ef-211f-4f97415ff47b@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWFhNDNiOWYtNDZlNi00ZjI3LWE4YWEtNTk2MGExNWMwZDE4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaVwvODFsT1ZtQWgwRDhQVkh3cmsrZW45OW5rTk9NcWhiaEExS2g2NzQ5cElaajRlN2dteEg5ZG9BZDJpXC9ZcEhBIn0= x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/tap: ipc add check for number of messages received 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: <20190419163910.gy3tAgdt2tpLpyR6cWNkwCjY2F3E8HG1BcGsJJvOSNA@z> T24gNC8xOC8yMDE5IDc6MTMsIEZlcnJ1aCBZaWdpdCB3b3J0ZToNCj4gT24gNC8xOC8yMDE5IDY6 MTkgUE0sIEhlcmFrbGl1c3ogTGlwaWVjIHdyb3RlOg0KPiA+IEEgc3VjZXNzZnVsbCBjYWxsIHRv IHJ0ZV9tcF9yZXF1ZXN0X3N5bmMgZG9lcyBub3QgZ3VhcmFudGVlIHRoYXQgdGhlcmUNCj4gPiBh cmUgdmFsaWQgbWVzc2FnZXMgaW4gdGhlIGJ1ZmZlciwgYW5kIHRoaXMgc2hvdWxkIGJlIGNoZWNr ZWQgZm9yDQo+ID4gYmVmb3JlIGFjY2Vzc2luZyBkYXRhIGluIHRoZSBtZXNzYWdlLg0KPiA+DQo+ ID4gRml4ZXM6IGM5YWE1NmVkZWM4ZSAoIm5ldC90YXA6IGFjY2VzcyBwcmltYXJ5IHByb2Nlc3Mg cXVldWVzIGZyb20NCj4gPiBzZWNvbmRhcnkiKQ0KPiA+IENjOiByYXNsYW5kQG1lbGxhbm94LmNv bQ0KPiA+IENjOiBzdGFibGVAZHBkay5vcmcNCj4gPiBTaWduZWQtb2ZmLWJ5OiBIZXJha2xpdXN6 IExpcGllYyA8aGVyYWtsaXVzei5saXBpZWNAaW50ZWwuY29tPg0KPiA+IC0tLQ0KPiA+ICBkcml2 ZXJzL25ldC90YXAvcnRlX2V0aF90YXAuYyB8IDIgKy0NCj4gPiAgMSBmaWxlIGNoYW5nZWQsIDEg aW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9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