From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 15B6FA0096 for ; Wed, 10 Apr 2019 07:22:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7D365B2C; Wed, 10 Apr 2019 07:22:20 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6FBD35398 for ; Wed, 10 Apr 2019 07:22:19 +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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 22:22:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,332,1549958400"; d="scan'208";a="141460740" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 09 Apr 2019 22:22:18 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 9 Apr 2019 22:22:17 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 9 Apr 2019 22:22:17 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.42]) with mapi id 14.03.0415.000; Wed, 10 Apr 2019 13:22:15 +0800 From: "Xing, Beilei" To: Martin Weiser , "Zhang, Qi Z" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] i40e rte_eth_link_get_nowait() on X722 returns wrong link_speed value 20000 instead of 10000 Thread-Index: AQHU7sZGtJUzV9XGME2tYpjy0jh3WaY02OTw Date: Wed, 10 Apr 2019 05:22:15 +0000 Message-ID: <94479800C636CB44BD422CB454846E013CD92806@SHSMSX101.ccr.corp.intel.com> References: <71f2b044-b99b-be8c-8468-a38c8c42713c@allegro-packets.com> In-Reply-To: <71f2b044-b99b-be8c-8468-a38c8c42713c@allegro-packets.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] i40e rte_eth_link_get_nowait() on X722 returns wrong link_speed value 20000 instead of 10000 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" Message-ID: <20190410052215.eXvlKzhCK6cmu9hFGWbCtS2c4pV5PjnSewjZG0_lZsg@z> DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWFydGluIFdlaXNlciBb bWFpbHRvOm1hcnRpbi53ZWlzZXJAYWxsZWdyby1wYWNrZXRzLmNvbV0NCj4gU2VudDogVHVlc2Rh eSwgQXByaWwgOSwgMjAxOSA3OjIxIFBNDQo+IFRvOiBYaW5nLCBCZWlsZWkgPGJlaWxlaS54aW5n QGludGVsLmNvbT47IFpoYW5nLCBRaSBaIDxxaS56LnpoYW5nQGludGVsLmNvbT47DQo+IGRldkBk cGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBpNDBlIHJ0ZV9ldGhfbGlua19nZXRf bm93YWl0KCkgb24gWDcyMiByZXR1cm5zDQo+IHdyb25nIGxpbmtfc3BlZWQgdmFsdWUgMjAwMDAg aW5zdGVhZCBvZiAxMDAwMA0KPiANCj4gSGksDQo+IA0KPiBqdXN0IGJ1bXBpbmcgdGhpcyBzaW5j ZSB0aGVy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