From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 091DE6CBB for ; Mon, 20 Jun 2016 14:15:16 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 20 Jun 2016 05:15:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,498,1459839600"; d="scan'208";a="979584983" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga001.jf.intel.com with ESMTP; 20 Jun 2016 05:15:14 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX109.ger.corp.intel.com (163.33.3.23) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 20 Jun 2016 13:15:13 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.51]) by irsmsx112.ger.corp.intel.com ([169.254.1.18]) with mapi id 14.03.0248.002; Mon, 20 Jun 2016 13:15:13 +0100 From: "Ananyev, Konstantin" To: "Xing, Beilei" , Yong Wang , Olivier Matz , "Wu, Jingjing" CC: "dev@dpdk.org" , Julien Meunier , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v3] i40e: configure MTU Thread-Index: AQHRrO+u62INRpQbeE2dylYGyPzVZ5+7cdwAgDEP1ICABXHyAIAARsVwgAAyxoCAABITEA== Date: Mon, 20 Jun 2016 12:15:12 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B7369A@irsmsx105.ger.corp.intel.com> References: <1461813555-24095-1-git-send-email-beilei.xing@intel.com> <1463127333-10007-1-git-send-email-beilei.xing@intel.com> <5739BC96.5010509@6wind.com> <4361D496-356E-49A2-B200-E5E5D28021B3@vmware.com> <94479800C636CB44BD422CB454846E013A2DDF@SHSMSX101.ccr.corp.intel.com> <2601191342CEEE43887BDE71AB97725836B7346B@irsmsx105.ger.corp.intel.com> <94479800C636CB44BD422CB454846E013A3F4F@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <94479800C636CB44BD422CB454846E013A3F4F@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] i40e: configure MTU 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: Mon, 20 Jun 2016 12:15:17 -0000 SGkgQmVpbGVpLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFhpbmcs IEJlaWxlaQ0KPiBTZW50OiBNb25kYXksIEp1bmUgMjAsIDIwMTYgMTowNSBQTQ0KPiBUbzogQW5h bnlldiwgS29uc3RhbnRpbjsgWW9uZyBXYW5nOyBPbGl2aWVyIE1hdHo7IFd1LCBKaW5namluZw0K PiBDYzogZGV2QGRwZGsub3JnOyBKdWxpZW4gTWV1bmllcjsgVGhvbWFzIE1vbmphbG9uDQo+IFN1 YmplY3Q6IFJFOiBbZHBkay1kZXZdIFtQQVRDSCB2M10gaTQwZTogY29uZmlndXJlIE1UVQ0KPiAN Cj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBBbmFueWV2LCBL b25zdGFudGluDQo+ID4gU2VudDogTW9uZGF5LCBKdW5lIDIwLCAyMDE2IDQ6MDUgUE0NCj4gPiBU bzogWGluZywgQmVpbGVpIDxiZWlsZWkueGluZ0BpbnRlbC5jb20+OyBZb25nIFdhbmcNCj4gPiA8 eW9uZ3dhbmdAdm13YXJlLmNvbT47IE9saXZpZXIgTWF0eiA8b2xpdmllci5tYXR6QDZ3aW5kLmNv bT47IFd1LA0KPiA+IEppbmdqaW5nI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