[dpdk-dev] [PATCH] net/i40e: avoid PCI probing failure when using bogus sfp

Ferruh Yigit ferruh.yigit at intel.com
Fri Jun 23 12:11:21 CEST 2017


On 6/23/2017 10:25 AM, Wu, Jingjing wrote:
> 
> 
>> -----Original Message-----
>> From: Olivier Matz [mailto:olivier.matz at 6wind.com]
>> Sent: Thursday, June 15, 2017 5:09 PM
>> To: dev at dpdk.org; Wu, Jingjing <jingjing.wu at intel.com>; Zhang, Helin
>> <helin.zhang at intel.com>
>> Cc: Xing, Beilei <beilei.xing at intel.com>; Richardson, Bruce <bruce.richardson at intel.com>
>> 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 <olivier.matz at 6wind.com>
> Acked-by: Jingjing Wu <jingjing.wu at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list