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 21CEB106A for ; Tue, 17 Jan 2017 13:50:54 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2017 04:50:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,244,1477983600"; d="scan'208";a="809883435" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 17 Jan 2017 04:50:53 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 17 Jan 2017 04:50:53 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 17 Jan 2017 04:50:53 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.177]) with mapi id 14.03.0248.002; Tue, 17 Jan 2017 20:50:51 +0800 From: "Wu, Jingjing" To: Olivier Matz , Olivier MATZ CC: "Rowden, Aaron F" , Christos Ricudis , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] i40e_aq_get_phy_capabilities() fails when using SFP+ with no link Thread-Index: AQHSa1ZHHlk3dKeFoUedpz8PIZy3YqEx8YkAgAAffICAAStLAIABHhUAgAGJrYCABsE0EA== Date: Tue, 17 Jan 2017 12:50:50 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810CCA087@SHSMSX103.ccr.corp.intel.com> References: <2BF7FCC7-B2DF-43EE-B5F8-2F3271FB3DA1@gmail.com> <20170110162849.2256dc6e@glumotte.dev.6wind.com> <1A089981-6412-47FD-A46A-95A958D5E206@gmail.com> <20170112145554.44506d05@glumotte.dev.6wind.com> <20170113142455.05ac6c06@platinum> In-Reply-To: <20170113142455.05ac6c06@platinum> 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_aq_get_phy_capabilities() fails when using SFP+ with no link 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, 17 Jan 2017 12:50:55 -0000 DQpIaSwgT2xpdmVyDQoNCkxldCBtZSANCg0KQ2hyaXN0b3MgcmVwb3J0cyB0aGlzIGlzc3VlIGlz IGludHJvZHVjZWQgYnkgdGhlICBodHRwOi8vZHBkay5vcmcvbWwvYXJjaGl2ZXMvZGV2LzIwMTYt U2VwdGVtYmVyLzA0NzY2My5odG1sDQpXaGljaCBpcyB0aGUgY29tbWl0DQoNCmNvbW1pdCBlZGZi MjI2ZjY5YmY2OGQ1MTRjOWFiYWU0Yjk5Yjk4YWViN2M2YTMyDQpBdXRob3I6IFFpIFpoYW5nIDxx aS56LnpoYW5nQGludGVsLmNvbT4NCkRhdGU6ICAgVHVlIFNlcCAyNyAwOTozNzoyMSAyMDE2ICsw ODAwDQoNCiAgICBuZXQvaTQwZTogdXNlIFBIWSB0eXBlIHRvIGNoZWNrIFBIWSBjYXBhYmlsaXR5 DQoNCiAgICBVc2luZyBkZXZpY2UgSUQgdG8gY2hlY2sgUEhZIGNhcGFiaWxpdHkgaXMgbm90IGV4 dGVuc2libGUuDQoNCiAgICBOb3cgd2UgYXJlIHVzaW5nIFBIWSB0eXBlIHRvIGRldGVjdCBQSFkg Y2FwYWJpbGl0eS4NCg0KICAgIEFsbCBsaW5rIHNwZWVkcyBzdXBwb3J0Z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