From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 63FA614EC for ; Mon, 6 Feb 2017 02:36:49 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 05 Feb 2017 17:36:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,339,1477983600"; d="scan'208";a="61177743" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 05 Feb 2017 17:36:47 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 5 Feb 2017 17:36:47 -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:36:45 +0800 From: "Zhang, Helin" To: "Zhang, Qi Z" , Ivan Nardi , "dev@dpdk.org" CC: Olivier MATZ , Christos Ricudis , "Rowden, Aaron F" , "Wu, Jingjing" Thread-Topic: [dpdk-dev] i40e_aq_get_phy_capabilities() fails when using SFP+ with no link Thread-Index: AQHSf8TaObbxHHAy7E2Sro5jThf03qFaVIgAgABP0oCAAI5wgA== Date: Mon, 6 Feb 2017 01:36:45 +0000 Message-ID: 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> <039ED4275CED7440929022BC67E706115305832F@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E706115305832F@SHSMSX103.ccr.corp.intel.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_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:36:49 -0000 SGkgZ3V5cw0KDQpUaGVyZSBtYXkgaGF2ZSBmaXJtd2FyZSBkZXBlbmRlbmNpZXMsIG5ldyBEUERL IHZlcnNpb24gKyBvbGQgZmlybXdhcmUgdmVyc2lvbiBtYXkgbm90IHdvcmsuIFBsZWFzZSByZWZl ciB0byBiZWxvdyBsaW5rIHRvIHNlZSB3aGF0IHR5cGUgb2YgZmlybXdhcmUgaGFzIGJlZW4gdmFs aWRhdGVkIHdpdGggMTYuMTEgRFBESy4NCmh0dHA6Ly9kcGRrLm9yZy9kb2MvZ3VpZGVzL3JlbF9u b3Rlcy9yZWxlYXNlXzE2XzExLmh0bWwjdGVzdGVkLW5pY3MNClRoZW4gZmlyc3QsIHlvdSBuZWVk IHRvIHVwZ3JhZGUgeW91ciBmaXJtd2FyZS4gVGhlbiBsZXQgdXMga25vdyBpZiB0aGUgaXNzdWUg aXMgc3RpbGwgdGhlcmUuIFRoYW5rcyENCg0KUmVnYXJkcywNCkhlbGluDQoNCi0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBaaGFuZywgUWkgWiANClNlbnQ6IE1vbmRheSwgRmVicnVh cnkgNiwgMjAxNyA5OjA1IEFNDQpUbzogSXZhbiBOYXJkaSA8bmFyZGkuaXZhbkBnbWFpbC5jb20+ OyBkZXZAZHBkay5vcmcNCkNjOiBPbGl2aWVyIE1BVFogPG9saXZpZXIubWF0ekA2d2luZC5jb20+ OyBDaHJpc3R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