> -----Original Message-----
> From: Olivier Matz [mailto:[email protected]]
> Sent: Thursday, June 15, 2017 5:09 PM
> To: [email protected]; Wu, Jingjing <[email protected]>; Zhang, Helin
> <[email protected]>
> Cc: Xing, Beilei <[email protected]>; Richardson, Bruce
> <[email protected]>
> 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 <[email protected]>
Acked-by: Jingjing Wu <[email protected]>