From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DAC642BC3 for ; Fri, 23 Jun 2017 11:25:38 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jun 2017 02:25:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,377,1493708400"; d="scan'208";a="117955496" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 23 Jun 2017 02:25:35 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 23 Jun 2017 02:25:35 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 23 Jun 2017 02:25:35 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Fri, 23 Jun 2017 17:25:33 +0800 From: "Wu, Jingjing" To: Olivier Matz , "dev@dpdk.org" , "Zhang, Helin" CC: "Xing, Beilei" , "Richardson, Bruce" Thread-Topic: [PATCH] net/i40e: avoid PCI probing failure when using bogus sfp Thread-Index: AQHS5bb082WWQqA19kqr7+l8ExWhXqIyObaA Date: Fri, 23 Jun 2017 09:25:32 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810DADEDE@SHSMSX103.ccr.corp.intel.com> References: <20170615110331.3c8ca067@glumotte.dev.6wind.com> <20170615090832.3049-1-olivier.matz@6wind.com> In-Reply-To: <20170615090832.3049-1-olivier.matz@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: avoid PCI probing failure when using bogus sfp 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: Fri, 23 Jun 2017 09:25:39 -0000 > -----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 >=20 > When a port is using a bogus SFP, the PCI probing returns an error, > preventing to register a portid. >=20 > 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. >=20 > Signed-off-by: Olivier Matz Acked-by: Jingjing Wu