From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id ADF2420F for ; Tue, 23 May 2017 09:41:59 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP; 23 May 2017 00:41:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,381,1491289200"; d="scan'208";a="105791196" Received: from pgsmsx102.gar.corp.intel.com ([10.221.44.80]) by fmsmga006.fm.intel.com with ESMTP; 23 May 2017 00:41:56 -0700 Received: from pgsmsx109.gar.corp.intel.com (10.221.44.109) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 23 May 2017 15:41:40 +0800 Received: from pgsmsx106.gar.corp.intel.com ([169.254.9.228]) by PGSMSX109.gar.corp.intel.com ([169.254.14.145]) with mapi id 14.03.0319.002; Tue, 23 May 2017 15:41:40 +0800 From: "Dai, Wei" To: "Roger B. Melton" , Laurent Hardy , "dev@dpdk.org" CC: "Yigit, Ferruh" , "Zhang, Helin" , "Ananyev, Konstantin" , "olivier.matz@6wind.com" Thread-Topic: 2nd try: problem with ixgbe_dev_link_update() for multi-speed fiber [was] Re: [dpdk-dev] [PATCH v4] net/ixgbe: ensure link status is updated Thread-Index: AQHSv2eQ8cvohgjyJk+8QW/OlYl4rKH4HsSAgAg184CAAUYUYIAAFjXA Date: Tue, 23 May 2017 07:41:39 +0000 Message-ID: <49759EB36A64CF4892C1AFEC9231E8D650A80C5B@PGSMSX106.gar.corp.intel.com> References: <49759EB36A64CF4892C1AFEC9231E8D650A662DC@PGSMSX101.gar.corp.intel.com> <1493305422-10611-1-git-send-email-laurent.hardy@6wind.com> <1160d98e-93a7-c14c-82a9-0944a2df6e5c@cisco.com> <3aa30d0c-bd00-af5c-f8fa-c081e86adadb@cisco.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODI2ODg1ZWMtZmQ4Ni00ZTY4LWI3OGMtYzMwMTc0MWVmNDk0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlJCVGJkdmZFbzVkejhnNFBBcnBqaXJVZ3VSaW5EekVCRVhjQUhFeSt1WnM9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] 2nd try: problem with ixgbe_dev_link_update() for multi-speed fiber [was] Re: [PATCH v4] net/ixgbe: ensure link status is updated 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, 23 May 2017 07:42:00 -0000 SGksIFJvZ2VyDQpTb3JyeSBmb3IgdHlwbyBlcnJvci4gWW91IHNob3VsZCBzZXQgLS1sb2ctbGV2 ZWw9OA0KDQpSZWdhcmRzDQotV2VpDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g RnJvbTogRGFpLCBXZWkNCj4gU2VudDogVHVlc2RheSwgTWF5IDIzLCAyMDE3IDM6MjQgUE0NCj4g VG86ICdSb2dlciBCLiBNZWx0b24nIDxybWVsdG9uQGNpc2NvLmNvbT47IExhdXJlbnQgSGF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