From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id EAE9C5689; Mon, 25 Jun 2018 08:49:32 +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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2018 23:49:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,269,1526367600"; d="scan'208";a="52625371" Received: from kmsmsx152.gar.corp.intel.com ([172.21.73.87]) by orsmga006.jf.intel.com with ESMTP; 24 Jun 2018 23:49:29 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.131]) by KMSMSX152.gar.corp.intel.com ([169.254.11.56]) with mapi id 14.03.0319.002; Mon, 25 Jun 2018 14:49:28 +0800 From: "Zhao1, Wei" To: "Zhang, Qi Z" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "stable@dpdk.org" Thread-Topic: [PATCH] net/ixgbe: fix Tx check descriptor status APIs error Thread-Index: AQHUCgdc5rYjfAhy1Ua0Lf6jOwlT26RrxOsAgAR1jFD//4ljgIAAx0xA Date: Mon, 25 Jun 2018 06:49:28 +0000 Message-ID: References: <1529656727-40207-1-git-send-email-wei.zhao1@intel.com> <039ED4275CED7440929022BC67E706115323BAD2@SHSMSX103.ccr.corp.intel.com> <039ED4275CED7440929022BC67E706115323C621@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E706115323C621@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix Tx check descriptor status APIs error 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: Mon, 25 Jun 2018 06:49:35 -0000 SGmjrHFpDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWmhhbmcsIFFp IFoNCj4gU2VudDogTW9uZGF5LCBKdW5lIDI1LCAyMDE4IDEwOjQ5IEFNDQo+IFRvOiBaaGFvMSwg V2VpIDx3ZWkuemhhbzFAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBMdSwgV2Vuemh1 byA8d2Vuemh1by5sdUBpbnRlbC5jb20+OyBzdGFibGVAZHBkay5vcmcNCj4gU3ViamVjdDogUkU6 IFtQQVRDSF0gbmV0L2l4Z2JlOiBmaXggVHggY2hlY2sgZGVzY3JpcHRvciBzdGF0dXMgQVBJcyBl cnJvcg0KPiANCj4gDQo+IA0KPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gRnJv bTogWmhhbzEsIFdlaQ0KPiA+IFNlbnQ6IE1vbmRheSwgSnVuZSAyNSwgMjAxOCA5OjU4IEFNDQo+ ID4gVG86IFpoYW5nLCBRaSBaIDxxaS56LnpoYW5nQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0K PiA+IENjOiBMdSwgV2Vuemh1byA8d2Vuemh1by5sdUBpbnRlbC5jb20+OyBzdGFibGVAZHBkay5v cmcNCj4gPiBTdWJqZWN0OiBSRTogW1BBVENIXSBuZXQvaXhnYmU6IGZpeCBUeCBjaGVjayBkZXNj cmlwdG9yIHN0YXR1cyBBUElzDQo+ID4gZXJyb3INCj4gPg0KPiA+IEhpLA0KPiA+DQo+ID4gPiAt LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+ID4gRnJvbTogWmhhbmcsIFFpIFo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