[dpdk-users] Query SFP+ module information

Gaëtan Rivet gaetan.rivet at 6wind.com
Fri Oct 26 13:26:59 CEST 2018


Hi Paul,

On Fri, Oct 26, 2018 at 10:24:35AM +0000, Paul T wrote:
> Hi,
> 
> Is it possible to query information about the SFP+ modules inserted into a X710 10GbE network card via DPDK?
> 
> I have a specific user case where its a possibility that a 25GbE SFP+ module could be inserted into a 10GbE X710.  The error that is thrown when this happens is:
> 
> PMD: eth_i40e_dev_init(): Failed to sync phy type: -95
> EAL: Error - exiting with code: 1
>  Cause: Requested device 0000:66:00.0 cannot be used
> 
> I'm wondering if there is a way to query the module before this stage so there is a more graceful way to handling the unusable module.

Unfortunately, no. It is possible to query the module once the port is
initialized, there are two functions for that. However the port needs to
be initialized already.

Additionally, some adapters might power off the module completely on
link down, in which case module info would not be available.

But your specific use-case does not seem feasible.

-- 
Gaëtan Rivet
6WIND


More information about the users mailing list