From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C7D5C5A8C for ; Tue, 17 Nov 2015 15:44:06 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 17 Nov 2015 06:44:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,308,1444719600"; d="scan'208";a="840602351" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 17 Nov 2015 06:44:06 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.203]) by IRSMSX108.ger.corp.intel.com ([169.254.11.23]) with mapi id 14.03.0248.002; Tue, 17 Nov 2015 14:44:03 +0000 From: "Ananyev, Konstantin" To: Matt Laswell , Stephen Hemminger Thread-Topic: [dpdk-dev] How to approach packet TX lockups Thread-Index: AQHRIMljuyZtc77fqkuDLa9xAWL/A56fV5aAgAAKZ4CAAAvNgIAA18WAgAADwgA= Date: Tue, 17 Nov 2015 14:44:02 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836AC9A40@irsmsx105.ger.corp.intel.com> References: <20151116161201.7e951097@samsung9> <20151116173129.2a429930@samsung9> 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] How to approach packet TX lockups 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: Tue, 17 Nov 2015 14:44:07 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWl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