From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B86AAA046B for ; Fri, 26 Jul 2019 04:56:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BC4C1C3AF; Fri, 26 Jul 2019 04:56:35 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4178C1C395 for ; Fri, 26 Jul 2019 04:56:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2019 19:56:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,309,1559545200"; d="scan'208";a="172903549" Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106]) by orsmga003.jf.intel.com with ESMTP; 25 Jul 2019 19:56:18 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.4]) by KMSMSX155.gar.corp.intel.com ([169.254.15.33]) with mapi id 14.03.0439.000; Fri, 26 Jul 2019 10:52:02 +0800 From: "Zhao1, Wei" To: "Zhang, Xiao" , "dev@dpdk.org" CC: "Lu, Wenzhuo" Thread-Topic: [DPDK] net/e1000: fix buffer overrun while i219 processing DMA transactions Thread-Index: AQHVNUdScQdREGysv0u+bI7Gxo0T6qbcT5BQ Date: Fri, 26 Jul 2019 02:52:01 +0000 Message-ID: References: <1562593002-36586-1-git-send-email-xiao.zhang@intel.com> In-Reply-To: <1562593002-36586-1-git-send-email-xiao.zhang@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.600.7 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [DPDK] net/e1000: fix buffer overrun while i219 processing DMA transactions 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" QWNrZWQtYnk6IFdlaSBaaGFvIDx3ZWkuemhhbzFAaW50ZWwuY29tPg0KDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWmhhbmcsIFhpYW8NCj4gU2VudDogTW9uZGF5LCBK dWx5IDgsIDIwMTkgOTozNyBQTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+IENjOiBMdSwgV2Vuemh1 byA8d2Vuemh1by5sdUBpbnRlbC5jb20+OyBaaGFvMSwgV2VpIDx3ZWkuemhhbzFAaW50ZWwuY29t PjsNCj4gWmhhbmcsIFhpYW8gPHhpYW8uemhhbmdAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBbRFBE S10gbmV0L2UxMDAwOiBmaXggYnVmZmVyIG92ZXJydW4gd2hpbGUgaTIxOSBwcm9jZXNzaW5nIERN QQ0KPiB0cmFuc2FjdGlvbnMNCj4gDQo+IEludGVswq4gMTAwLzIwMCBTZXJpZXMgQ2hpcHNldCBw bGF0Zm9ybXMgcmVkdWNlZCB0aGUgcm91bmQtdHJpcCBsYXRlbmN5IGZvciB0aGUNCj4gTEFOIENv bnRyb2xsZXIgRE1BIGFjY2Vzc2VzLCBjYXVzaW5nIGluIHNvbWUgaGlnaCBwZXJmb3JtYW5jZSBj YXNlcyBhDQo+IGJ1ZmZlciBvdmVycnVuIHdoaWxlIHRoZSBJMjE5IExBTiBDb25uZWN0ZWQgRGV2 aWNlIGlzIHByb2Nlc3NpbmcgdGhlIERNQQ0KPiB0cmFuc2FjdGlvbnMuIEkyMTlMTSBhbmQgSTIx OVYgZGV2aWN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