From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E6CAB2BD6 for ; Tue, 22 Mar 2016 15:28:03 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 22 Mar 2016 07:27:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,377,1455004800"; d="scan'208";a="673840002" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by FMSMGA003.fm.intel.com with ESMTP; 22 Mar 2016 07:27:58 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by IRSMSX151.ger.corp.intel.com ([169.254.4.72]) with mapi id 14.03.0248.002; Tue, 22 Mar 2016 14:27:57 +0000 From: "Ananyev, Konstantin" To: Jianbo Liu , "Richardson, Bruce" CC: "Lu, Wenzhuo" , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring Thread-Index: AQHRf1jKLvFS2qNaf0GN49ArA6J7q59b628AgAD844CAAhP2AIAENz2AgAJEu9A= Date: Tue, 22 Mar 2016 14:27:56 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1FAE1@irsmsx105.ger.corp.intel.com> References: <1457965558-15331-1-git-send-email-jianbo.liu@linaro.org> <6A0DE07E22DDAD4C9103DF62FEBC09090343BBF2@shsmsx102.ccr.corp.intel.com> <20160316111454.GB24668@bricha3-MOBL3> <20160318100358.GA4848@bricha3-MOBL3> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDU2YTM3ZjEtNzUxNC00NzZhLThmMTQtMzQyZDczNWUwZjg0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlJlQXhqTFhpXC9QTjRhRit2bGpoRkhmQmRZSXlaT3hUaTB6U3g4Y3U3ejRnPSJ9 x-ctpclassification: CTP_IC 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] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2016 14:28:04 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmlhbmJvIExpdSBbbWFp bHRvOmppYW5iby5saXVAbGluYXJvLm9yZ10NCj4gU2VudDogTW9uZGF5LCBNYXJjaCAyMSwgMjAx NiAyOjI3IEFNDQo+IFRvOiBSaWNoYXJkc29uLCBCcnVjZQ0KPiBDYzogTHUsIFdlbnpodW87IFpo YW5nLCBIZWxpbjsgQW5hbnlldiwgS29uc3RhbnRpbjsgZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6 IFJlOiBbZHBkay1kZXZdIFtQQVRDSF0gaXhnYmU6IGF2b2lkIHVubmVzc2FyeSBicmVhayB3aGVu IGNoZWNraW5nIGF0IHRoZSB0YWlsIG9mIHJ4IGh3cmluZw0KPiANCj4gT24gMTggTWFyY2ggMjAx NiBhdCAxODowMywgQnJ1Y2UgUmljaGFyZHNvbiA8YnJ1Y2UucmljaGFyZHNvbkBpbnRlbC5jb20+ IHdy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