From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2C6988D4D for ; Wed, 19 Aug 2015 09:43:36 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 19 Aug 2015 00:43:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,708,1432623600"; d="scan'208";a="628224492" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga003.jf.intel.com with ESMTP; 19 Aug 2015 00:43:12 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.51]) by IRSMSX103.ger.corp.intel.com ([169.254.3.251]) with mapi id 14.03.0224.002; Wed, 19 Aug 2015 08:43:08 +0100 From: "Ananyev, Konstantin" To: Vladislav Zolotarov , "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH v1] ixgbe_pmd: forbid tx_rs_thresh above 1 for all NICs but 82598 Thread-Index: AQHQ1fLdzr8LLH2vnUGzlbtkZ07kmp4KUJ2AgACZZoCAB4kdgIAARtIAgAA6/AA= Date: Wed, 19 Aug 2015 07:43:07 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A76983@irsmsx105.ger.corp.intel.com> References: <1439489195-31553-1-git-send-email-vladz@cloudius-systems.com> <55CD7EA5.6060100@cloudius-systems.com> <6A0DE07E22DDAD4C9103DF62FEBC0909D3E116@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v1] ixgbe_pmd: forbid tx_rs_thresh above 1 for all NICs but 82598 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: Wed, 19 Aug 2015 07:43:38 -0000 DQpIaSBWbGFkLA0KU29ycnkgZm9yIGRlbGF5IHdpdGggcmV2aWV3LCBJIGFtIE9PTyB0aWxsIG5l eHQgd2Vlay4NCk1lYW53aGlsZSwgZmV3IHF1ZXN0aW9ucy9jb21tZW50cyBmcm9tIG1lLiANCg0K PiA+ID4gPg0KPiA+ID4gPj4gVGhpcyBwYXRjaCBmaXhlcyB0aGUgVHggaGFuZyB3ZSB3ZXJlIGNv bnN0YW50bHkgaGl0dGluZyB3aXRoIGENCj4gc2Vhc3Rhci1iYXNlZA0KPiA+ID4gPj4gYXBwbGlj YXRpb24gb24geDU0MCBOSUMuDQo+ID4gPiA+IENvdWxkIHlvdSBoZWxwIHRvIHNoYXJlIHdpdGgg dXMgaG93IHRvIHJlcHJvZHVjZSB0aGUgdHggaGFuZyBpc3N1ZSwNCj4gd2l0aCB1c2luZw0KPiA+ ID4gPiB0eXBpY2FsIERQREsgZXhhbXBsZXM/DQo+ID4gPg0KPiA+ID4gU29ycnkuIEknbSBub3Qg dmVyeSBmYW1pbGlhciB3aXRoIHRoZSB0eXBpY2FsIERQREsgZXhhbXBsZXMgdG8gaGVscCB1DQo+ ID4gPiBoZXJlLiBIb3dldmVyIHRoaXMgaXMgcXVpdGUgaXJyZWxldmFudCBzaW5jZSB3aXRob3V0 IHRoaXMgdGhpcyBwYXRjaA0KPiA+ID4gaXhnYmUgUE1EIG9idmlvdXNseSBhYnVzZXMgdGhlIEhX IHNwZWMgYXMgaGFzIGJlZW4gZXhwbGFpbmVkIGFib3ZlLg0KPiA+ID4NCj4gPiA+IFdlIHNhdyB0 aGUgaXNzdWUgd2hlbiB1IHN0cmVzc2VkIHRoZSB4bWl0IHBhdGggd2l0aCBhIGxvdCBvZiBoaWdo bHkNCj4gPiA+IGZyYWdtZW50ZWQgVENQIGZyYW1lcyAocGFja2V0cyB3aXR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