From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/i40e: avoid PCI probing failure when using bogus sfp Date: Fri, 23 Jun 2017 11:11:21 +0100 Message-ID: <8fc4e47f-d458-6e8f-d198-7094bf7df2fb@intel.com> References: <20170615110331.3c8ca067@glumotte.dev.6wind.com> <20170615090832.3049-1-olivier.matz@6wind.com> <9BB6961774997848B5B42BEC655768F810DADEDE@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "Xing, Beilei" , "Richardson, Bruce" To: "Wu, Jingjing" , Olivier Matz , "dev@dpdk.org" , "Zhang, Helin" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id ECB472BF1 for ; Fri, 23 Jun 2017 12:11:24 +0200 (CEST) In-Reply-To: <9BB6961774997848B5B42BEC655768F810DADEDE@SHSMSX103.ccr.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 6/23/2017 10:25 AM, Wu, Jingjing wrote: > > >> -----Original Message----- >> From: Olivier Matz [mailto:olivier.matz@6wind.com] >> Sent: Thursday, June 15, 2017 5:09 PM >> To: dev@dpdk.org; Wu, Jingjing ; Zhang, Helin >> >> Cc: Xing, Beilei ; Richardson, Bruce >> Subject: [PATCH] net/i40e: avoid PCI probing failure when using bogus sfp >> >> When a port is using a bogus SFP, the PCI probing returns an error, >> preventing to register a portid. >> >> To give a better chance to the applications to retry after the SFP is >> changed, move this check in eth_i40e_dev_configure(), so that only a >> port reconfiguration is needed to retry. >> >> Signed-off-by: Olivier Matz > Acked-by: Jingjing Wu Applied to dpdk-next-net/master, thanks.