From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: i40e: pci probe fails when using one bogus sfp Date: Thu, 8 Jun 2017 11:29:17 +0200 Message-ID: <20170608112917.22fb51eb@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: helin.zhang@intel.com, jingjing.wu@intel.com, dev@dpdk.org Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 4D6202BB9 for ; Thu, 8 Jun 2017 11:29:20 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id n195so26948395wmg.1 for ; Thu, 08 Jun 2017 02:29:20 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, One of our customers encounters an issue with dpdk when there is a bogus SFP on one of the ports. The following message is reported: PMD: eth_i40e_dev_init(): Failed to sync phy type: -95 (note: 95 is EOPNOTSUPP/ENOTSUP) Unfortunately I cannot reproduce the issue to give more details, but the hypothesis is that it fails in i40e_dev_sync_phy_type(). It could be related to that patch: http://dpdk.org/browse/dpdk/commit/?id=edfb226f69bf To me, the expected behavior should be: - pci probe is succesful - the initialization of the port with faulty SFP fails - the initialization of the other ports is succesful Do you have any comment or idea to fix this issue? Thanks, Olivier