From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7C61F14EC for ; Mon, 6 Feb 2017 02:04:48 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP; 05 Feb 2017 17:04:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,339,1477983600"; d="scan'208";a="61171067" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 05 Feb 2017 17:04:46 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 17:04:46 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 17:04:46 -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; Mon, 6 Feb 2017 09:04:43 +0800 From: "Zhang, Qi Z" To: Ivan Nardi , "dev@dpdk.org" CC: Olivier MATZ , Christos Ricudis , "Rowden, Aaron F" , "Zhang, Helin" , "Wu, Jingjing" Thread-Topic: [dpdk-dev] i40e_aq_get_phy_capabilities() fails when using SFP+ with no link Thread-Index: AQHSa1ZgLCGhkg0Wi0KpsoMpHA7Re6Ex8YkAgAAfe4CAAs/HloAIqgKAgByh8wCAAFClAIAAz/1g Date: Mon, 6 Feb 2017 01:04:43 +0000 Message-ID: <039ED4275CED7440929022BC67E706115305832F@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> <7F35F791-2981-47EF-A0B0-3DE4D6E3CF02@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2NhNmU4MjYtODQyNi00MzNhLTliY2YtOTg1ZGQwYzY3NTdlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlFUc0kxdXFXXC9ITHpJZ25jRW5CK3NhYjNPWWsxdGFWOVFGUlNrZTAxWkQ0PSJ9 x-ctpclassification: CTP_IC 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: Mon, 06 Feb 2017 01:04:49 -0000 SGkgSXZhbjoNCg0KCUknbSBsb29raW5nIGF0IHRoaXMgaXNzdWUsIGJ1dCBJIGNhbid0IHJlcGVh dCBpdCBvbiBteSBlbnZpcm9ubWVudCBib3RoIHdpdGggWDcxMHg0IGFuZCBYTDcxMHgxDQoJTm90 IHN1cmUgaWYgeW91IGNvdWxkIHRyeSBiZWxvdyB0aGluZ3MgdG8gaGVscCBuYXJyb3cgZG93biB0 aGlzIGlzc3VlLg0KCQ0KCT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