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

Wu, Jingjing jingjing.wu at intel.com
Fri Jun 23 11:25:32 CEST 2017



> -----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>



More information about the dev mailing list