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 26F774C94; Tue, 6 Nov 2018 03:49:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2018 18:49:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,469,1534834800"; d="scan'208";a="86953886" Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106]) by orsmga007.jf.intel.com with ESMTP; 05 Nov 2018 18:49:10 -0800 Received: from pgsmsx110.gar.corp.intel.com (10.221.44.111) by KMSMSX155.gar.corp.intel.com (172.21.73.106) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 6 Nov 2018 10:49:09 +0800 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.114]) by PGSMSX110.gar.corp.intel.com ([169.254.13.219]) with mapi id 14.03.0415.000; Tue, 6 Nov 2018 10:49:09 +0800 From: "Zhao1, Wei" To: "Zhang, Qi Z" , "dev@dpdk.org" CC: "stable@dpdk.org" , "yamashita.hideyuki@po.ntt-tx.co.jp" , "stephen@networkplumber.org" Thread-Topic: [PATCH v2] net/ixgbe: check jumbo frame enable parameter Thread-Index: AQHUcb3W/qYxadOQX02MFco/LHKuf6U6mG/wgAZIxACAATGN8A== Date: Tue, 6 Nov 2018 02:49:08 +0000 Message-ID: References: <1541058926-3576-1-git-send-email-wei.zhao1@intel.com> <1541060916-39754-1-git-send-email-wei.zhao1@intel.com> <039ED4275CED7440929022BC67E70611532DF8C2@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E70611532DF8C2@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.400.15 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 v2] net/ixgbe: check jumbo frame enable parameter 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: Tue, 06 Nov 2018 02:49:14 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWmhhbmcsIFFpIFoNCj4g U2VudDogVHVlc2RheSwgTm92ZW1iZXIgNiwgMjAxOCAxMjozNCBBTQ0KPiBUbzogWmhhbzEsIFdl aSA8d2VpLnpoYW8xQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzogc3RhYmxlQGRwZGsu b3JnOyB5YW1hc2hpdGEuaGlkZXl1a2lAcG8ubnR0LXR4LmNvLmpwOw0KPiBzdGVwaGVuQG5ldHdv cmtwbHVtYmVyLm9yZw0KPiBTdWJqZWN0OiBSRTogW1BBVENIIHYyXSBuZXQvaXhnYmU6IGNoZWNr IGp1bWJvIGZyYW1lIGVuYWJsZSBwYXJhbWV0ZXINCj4gDQo+IEhpIFdlaToNCj4gDQo+ID4gLS0t LS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBaaGFvMSwgV2VpDQo+ID4gU2VudDog VGh1cnNkYXksIE5vdmVtYmVyIDEsIDIwMTggMTo0MCBBTQ0KPiA+IFRvOiBkZXZAZHBkay5vcmcN Cj4gPiBDYzogc3RhYmxlQGRwZGsub3JnOyBaaGFuZywgUWkgWiA8cWkuei56aGFuZ0BpbnRlbC5j b20+Ow0KPiA+IHlhbWFzaGl0YS5oaWRleXVraUBwby5udHQtdHguY28uanA7IHN0ZXBoZW5AbmV0 d29ya3BsdW1iZXIub3JnDQo+ID4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