DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Query SFP+ module information
@ 2018-10-26 10:24 Paul T
  2018-10-26 11:26 ` Gaëtan Rivet
  0 siblings, 1 reply; 2+ messages in thread
From: Paul T @ 2018-10-26 10:24 UTC (permalink / raw)
  To: users

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.

Thanks

Paul

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Query SFP+ module information
  2018-10-26 10:24 [dpdk-users] Query SFP+ module information Paul T
@ 2018-10-26 11:26 ` Gaëtan Rivet
  0 siblings, 0 replies; 2+ messages in thread
From: Gaëtan Rivet @ 2018-10-26 11:26 UTC (permalink / raw)
  To: Paul T; +Cc: users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-26 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 10:24 [dpdk-users] Query SFP+ module information Paul T
2018-10-26 11:26 ` Gaëtan Rivet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).