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 9CFC14C74 for ; Fri, 10 May 2019 10:20:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2019 01:20:53 -0700 X-ExtLoop1: 1 Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga007.jf.intel.com with ESMTP; 10 May 2019 01:20:53 -0700 Received: from orsmsx122.amr.corp.intel.com ([169.254.11.68]) by ORSMSX101.amr.corp.intel.com ([169.254.8.212]) with mapi id 14.03.0415.000; Fri, 10 May 2019 01:20:53 -0700 From: "Rao, Nikhil" To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "jerinj@marvell.com" CC: "dev@dpdk.org" , "matias.elo@nokia.com" Thread-Topic: [dpdk-dev] [PATCH v2] eventdev: fix Rx adapter event flush logic Thread-Index: AQHVBlliUMWd7NIBBUaZ0CGTjuw2FqZjoaIAgABjzJA= Date: Fri, 10 May 2019 08:20:52 +0000 Message-ID: <1F668163772FA946975B9466A9DFF729EDE0655B@ORSMSX122.amr.corp.intel.com> References: <1557376797-10609-1-git-send-email-nikhil.rao@intel.com> <1557377440-11616-1-git-send-email-nikhil.rao@intel.com> <69c88aac-b86e-2cfc-4f13-7ab40a47fafa@ericsson.com> In-Reply-To: <69c88aac-b86e-2cfc-4f13-7ab40a47fafa@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTBlNDU2ZGEtMzY4ZS00MmM4LWI0ZWItOTM4NGRmMTBmODljIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicW8wNDVDRnlcL2ViK2dBOW1IT1QreUJKUlJETVRVdGtPa2k1VjZZWklBVFQ5bGJidm0xUU9GOGhxbXdFY1QzK0EifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] eventdev: fix Rx adapter event flush logic 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, 10 May 2019 08:20:55 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF0dGlhcyBSw7ZubmJs b20gW21haWx0bzptYXR0aWFzLnJvbm5ibG9tQGVyaWNzc29uLmNvbV0NCj4gU2VudDogRnJpZGF5 LCBNYXkgMTAsIDIwMTkgMTI6NTIgQU0NCj4gVG86IFJhbywgTmlraGlsIDxuaWtoaWwucmFvQGlu dGVsLmNvbT47IGplcmluakBtYXJ2ZWxsLmNvbQ0KPiBDYzogZGV2QGRwZGsub3JnOyBtYXRpYXMu ZWxvQG5va2lhLmNvbQ0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjJdIGV2ZW50 ZGV2OiBmaXggUnggYWRhcHRlciBldmVudCBmbHVzaCBsb2dpYw0KPiANCj4gT24gMjAxOS0wNS0w OSAwNjo1MCwgTmlraGl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QuIEp1c3QgbWFrZSBtYnVmcyBFVEhfRVZFTlRf QlVGRkVSX1NJWkUgaW4gc2l6ZSwgYW5kDQo+IHJldHJ5IHVudGlsIHRoZSBOSUMgcXVldWUgaXMg ZW1wdHkgb3IgeW91IGFjY3VtdWxhdGVkDQo+IEVUSF9FVkVOVF9CVUZGRVJfU0laRSBldmVudHMu IFRoZW4geW91IHNoaXAgaXQgb2ZmIHRvIHRoZSBldmVudCBkZXZpY2UuDQoNCllvdSBhcmUgcmln aHQsIEkgd2lsbCBwb3N0IGEgc2VwYXJhdGUgKGZyb20gdGhlIGJ1ZyBmaXgpIHBhdGNoIGZvciB0 aGlzLg0KDQpUaGFua3MsDQpOaWtoaWwNCg0KDQoNCg== 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 96098A0096 for ; Fri, 10 May 2019 10:20:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 583AF4C8F; Fri, 10 May 2019 10:20:55 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9CFC14C74 for ; Fri, 10 May 2019 10:20:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2019 01:20:53 -0700 X-ExtLoop1: 1 Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by orsmga007.jf.intel.com with ESMTP; 10 May 2019 01:20:53 -0700 Received: from orsmsx122.amr.corp.intel.com ([169.254.11.68]) by ORSMSX101.amr.corp.intel.com ([169.254.8.212]) with mapi id 14.03.0415.000; Fri, 10 May 2019 01:20:53 -0700 From: "Rao, Nikhil" To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "jerinj@marvell.com" CC: "dev@dpdk.org" , "matias.elo@nokia.com" Thread-Topic: [dpdk-dev] [PATCH v2] eventdev: fix Rx adapter event flush logic Thread-Index: AQHVBlliUMWd7NIBBUaZ0CGTjuw2FqZjoaIAgABjzJA= Date: Fri, 10 May 2019 08:20:52 +0000 Message-ID: <1F668163772FA946975B9466A9DFF729EDE0655B@ORSMSX122.amr.corp.intel.com> References: <1557376797-10609-1-git-send-email-nikhil.rao@intel.com> <1557377440-11616-1-git-send-email-nikhil.rao@intel.com> <69c88aac-b86e-2cfc-4f13-7ab40a47fafa@ericsson.com> In-Reply-To: <69c88aac-b86e-2cfc-4f13-7ab40a47fafa@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTBlNDU2ZGEtMzY4ZS00MmM4LWI0ZWItOTM4NGRmMTBmODljIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicW8wNDVDRnlcL2ViK2dBOW1IT1QreUJKUlJETVRVdGtPa2k1VjZZWklBVFQ5bGJidm0xUU9GOGhxbXdFY1QzK0EifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] eventdev: fix Rx adapter event flush logic 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: <20190510082052.IU5flU25tjS9EAI-TlPX8KwyTuVEVvsXLL40-Ovbfew@z> DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF0dGlhcyBSw7ZubmJs b20gW21haWx0bzptYXR0aWFzLnJvbm5ibG9tQGVyaWNzc29uLmNvbV0NCj4gU2VudDogRnJpZGF5 LCBNYXkgMTAsIDIwMTkgMTI6NTIgQU0NCj4gVG86IFJhbywgTmlraGlsIDxuaWtoaWwucmFvQGlu dGVsLmNvbT47IGplcmluakBtYXJ2ZWxsLmNvbQ0KPiBDYzogZGV2QGRwZGsub3JnOyBtYXRpYXMu ZWxvQG5va2lhLmNvbQ0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjJdIGV2ZW50 ZGV2OiBmaXggUnggYWRhcHRlciBldmVudCBmbHVzaCBsb2dpYw0KPiANCj4gT24gMjAxOS0wNS0w OSAwNjo1MCwgTmlraGlsIFJhbyB3cm90ZToNCj4gPiBUaGUgUnggYWRhcHRlciBmbHVzaGVzIGV2 ZW50cyBvbmx5IGlmIGl0IGhhcyBCQVRDSF9TSVpFIGV2ZW50cw0KPiA+IGJ1ZmZlcmVkIHdoZXJl IEJBVENIX1NJWkUgaXMgc2V0IHRvIDMyLCBlLmcuLCBpZiBhIHNpbmdsZSBwYWNrZXQgaXMNCj4g PiBzZW50LCBpdCBpcyBuZXZlciBwYXNzZWQgdG8gZXZlbnRkZXYuIEZpeCB0aGlzIGlzc3VlIGJ5 IGFkZGluZyBhbg0KPiA+IGV2ZW50IGJ1ZmZlciBmbHVzaCBlaXRoZXIgd2hlbiBhIFJ4IHF1ZXVl IGlzIGZvdW5kIHRvIGJlIGVtcHR5IG9yIHRoZQ0KPiA+IGFkYXB0ZXIgc2VydmljZSB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