* [dpdk-users] Issue with i40e on X710: rte_eth_dev_count returns 0, i40e_aq_get_phy_capabilities returns I40E_ERR_UNKNOWN_PHY
@ 2017-07-12 13:50 jonathan.ribas
2017-07-12 15:07 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: jonathan.ribas @ 2017-07-12 13:50 UTC (permalink / raw)
To: users
Hi all,
We got a bunch of X710 NIC and cant use them with our custom app.
As the topic says, rte_eth_dev_count returns 0. And after a quick
investigation with testpmd, we saw that i40e_aq_get_phy_capabilities
returns 'I40E_ERR_UNKNOWN_PHY'.
The tests are performed on a Xeon server with double numa on a
Debian/jessie. Both 16.11.2 and 17.05.1 versions of DPDK were tested.
The SFP useds are Intel FTLX1471D3BCV-IT.
Here are the logs of dpdk-devbind:
> Network devices using DPDK-compatible driver
> ============================================
> 0000:06:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:06:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:82:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:82:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:83:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:83:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:84:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
> 0000:84:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
We init EAL with these params:
> dpiscan: DPDK: EAL parameter argv[0] ./scanner_dpdk
> dpiscan: DPDK: EAL parameter argv[1] -c
> dpiscan: DPDK: EAL parameter argv[2] 0x155555555555
> dpiscan: DPDK: EAL parameter argv[3] -n
> dpiscan: DPDK: EAL parameter argv[4] 1
> dpiscan: DPDK: EAL parameter argv[5] --proc-type
> dpiscan: DPDK: EAL parameter argv[6] auto
> dpiscan: DPDK: EAL parameter argv[7] --file-prefix
> dpiscan: DPDK: EAL parameter argv[8] numa0_
> dpiscan: DPDK: EAL parameter argv[9] --socket-mem=4096,0
Testpmd output:
> EAL: Detected 48 lcore(s)
> EAL: Probing VFIO support...
> EAL: PCI device 0000:06:00.0 on NUMA socket 0
> EAL: probe driver: 8086:1572 net_i40e
> DEBUG : i40e_aq_get_phy_capabilities returned status = -7 (I40E_ERR_UNKNOWN_PHY)
> eth_i40e_dev_init(): Failed to sync phy type: -95 (EOPNOTSUPP)
> EAL: Requested device 0000:06:00.0 cannot be used
> EAL: PCI device 0000:06:00.1 on NUMA socket 0
> EAL: probe driver: 8086:1572 net_i40e
> DEBUG : i40e_aq_get_phy_capabilities returned status = -7
> eth_i40e_dev_init(): Failed to sync phy type: -95
> EAL: Requested device 0000:06:00.1 cannot be used
> [...]
> EAL: No probed ethernet devices
Some demsg logs:
> [433223.132343] igb_uio 0000:06:00.0: irq 152 for MSI/MSI-X
> [433223.132617] igb_uio 0000:06:00.0: uio device registered with irq 98
> [433223.132632] igb_uio 0000:06:00.0: mapping 1K dma=0x103e0a5000 host=ffff88103e0a5000
> [433223.132636] igb_uio 0000:06:00.0: unmapping 1K dma=0x103e0a5000 host=ffff88103e0a5000
We searched clues on internet, find [1] but did not help, then
came to the IRC channel, where Christian Ehrhardt point us to [2].
We are still making tests, but for sure, if we plug a port to another
upped link, testpmd succeed to detect the port (nevertheless, on our
app rte_eth_dev_count still returns 0).
So, we assume that our issue is related to [2].
Any help will be welcome. :)
Thanks in advance,
[1] : http://dpdk.org/doc/guides/nics/i40e.html
[2] : [dpdk-dev] i40e_aq_get_phy_capabilities() fails when using SFP+
with no link
http://dpdk.org/ml/archives/dev/2017-January/055617.html
Jonathan.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] Issue with i40e on X710: rte_eth_dev_count returns 0, i40e_aq_get_phy_capabilities returns I40E_ERR_UNKNOWN_PHY
2017-07-12 13:50 [dpdk-users] Issue with i40e on X710: rte_eth_dev_count returns 0, i40e_aq_get_phy_capabilities returns I40E_ERR_UNKNOWN_PHY jonathan.ribas
@ 2017-07-12 15:07 ` Stephen Hemminger
2017-07-17 8:58 ` jonathan.ribas
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2017-07-12 15:07 UTC (permalink / raw)
To: jonathan.ribas; +Cc: users
On Wed, 12 Jul 2017 15:50:58 +0200
"jonathan.ribas@fraudbuster.mobi" <jonathan.ribas@fraudbuster.mobi> wrote:
> Hi all,
>
> We got a bunch of X710 NIC and cant use them with our custom app.
> As the topic says, rte_eth_dev_count returns 0. And after a quick
> investigation with testpmd, we saw that i40e_aq_get_phy_capabilities
> returns 'I40E_ERR_UNKNOWN_PHY'.
With I40E always make sure and update firmware as first step.
Last I checked, some Intel NIC's do not support 3rd party SFP modules.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] Issue with i40e on X710: rte_eth_dev_count returns 0, i40e_aq_get_phy_capabilities returns I40E_ERR_UNKNOWN_PHY
2017-07-12 15:07 ` Stephen Hemminger
@ 2017-07-17 8:58 ` jonathan.ribas
0 siblings, 0 replies; 3+ messages in thread
From: jonathan.ribas @ 2017-07-17 8:58 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: users
On 12/07/2017 17:07, Stephen Hemminger wrote:
> On Wed, 12 Jul 2017 15:50:58 +0200
> "jonathan.ribas@fraudbuster.mobi" <jonathan.ribas@fraudbuster.mobi> wrote:
>
>> Hi all,
>>
>> We got a bunch of X710 NIC and cant use them with our custom app.
>> As the topic says, rte_eth_dev_count returns 0. And after a quick
>> investigation with testpmd, we saw that i40e_aq_get_phy_capabilities
>> returns 'I40E_ERR_UNKNOWN_PHY'.
>
> With I40E always make sure and update firmware as first step.
> Last I checked, some Intel NIC's do not support 3rd party SFP modules.
Hi Stephen,
We try to update the firmware, and get some errors:
> Num Description Ver. DevId S:B Status
> === ======================================== ===== ===== ====== ===============
> 01) Intel(R) Ethernet Converged Network 5.05 1572 00:006 Access error
> Adapter X710-2
> 02) Intel(R) Ethernet Converged Network 5.05 1572 00:129 Access error
> Adapter X710-2
> 03) Intel(R) Ethernet Converged Network 5.05 1572 00:130 Access error
> Adapter X710-2
> 04) Intel(R) Ethernet Converged Network 5.05 1572 00:131 Access error
> Adapter X710-2
> 05) Intel(R) Ethernet Converged Network 5.05 1572 00:132 Access error
> Adapter X710-2
But BTW, it seems that we have the last one already flashed (5.05).
And about the used SFP, we do not use third party but the official
Intel FTLX1471D3BCV-IT.
Any other idea? :/
BR,
--
Jonathan.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-17 8:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-12 13:50 [dpdk-users] Issue with i40e on X710: rte_eth_dev_count returns 0, i40e_aq_get_phy_capabilities returns I40E_ERR_UNKNOWN_PHY jonathan.ribas
2017-07-12 15:07 ` Stephen Hemminger
2017-07-17 8:58 ` jonathan.ribas
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).