DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic
@ 2020-03-16 13:02 Puneet Singh
  2020-03-17  2:03 ` Li, Xiaoyun
  0 siblings, 1 reply; 9+ messages in thread
From: Puneet Singh @ 2020-03-16 13:02 UTC (permalink / raw)
  To: Li, Xiaoyun, users

Hi Xiaoyun Li ,

With changes you suggested ,Testpmd works fine on my setup.
But With my own application, the port is detected properly, the queue setup to NIC also does not give any error.
But my application is not getting any packets on the rx burst polls.
Any suggestions on what is the best way to debug this eg. can some logs be enabled at PMD to see what setting is wrong etc. ?


Thanks & Regards
Puneet Singh



From: Puneet Singh <Puneet.Singh@truminds.com>
Sent: 13 March 2020 10:05
To: Li, Xiaoyun <xiaoyun.li@intel.com>; users@dpdk.org
Subject: Re: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic

Hi,

Thanks a lot for information,I will try these steps with dpdk 19.11 and update.

Regards
Puneet Singh

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Li, Xiaoyun <xiaoyun.li@intel.com<mailto:xiaoyun.li@intel.com>>
Sent: Friday, 13 March, 2020, 9:00 am
To: Puneet Singh; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic


Hi
It is because that X722 doesn't support I40E_HW_FLAG_802_1AD_CAPABLE with new firmware.
This is fixed in 20.02 with base code patch update. This commit: 37b091c75b13d2f26359be9b77adbc33c55a7581.
If you have to use 19.11. You need to add the following in eth_i40e_dev_init():
-       if (hw->device_id == I40E_DEV_ID_SFP_X722)
+       if (hw->mac.type == I40E_MAC_X722)
                 hw->flags &= ~I40E_HW_FLAG_802_1AD_CAPABLE;

Best Regards
Xiaoyun Li

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Puneet Singh
> Sent: Wednesday, March 11, 2020 15:25
> To: users@dpdk.org<mailto:users@dpdk.org>
> Cc: Puneet Singh <Puneet.Singh@truminds.com<mailto:Puneet.Singh@truminds.com>>
> Subject: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722
> Nic
>
> Hi Everyone ,
>
> I am trying to run test-pmd with below mentioned nic card but getting following
> error . Can anyone please help me to resolve this issue.
>
> EAL:   probe driver: 8086:37d3 net_i40e
> i40e_vlan_tpid_set(): Set switch config failed aq_err: 14
> eth_i40e_dev_init(): Failed to set the default outer VLAN ether type
> EAL: ethdev initialisation failedEAL: Requested device 0000:b5:00.0 cannot be
> used
> EAL: PCI device 0000:b5:00.1 on NUMA socket 0
> EAL:   probe driver: 8086:37d3 net_i40e
> testpmd: No probed ethernet devices
> Interactive-mode selected
> Set mac packet forwarding mode
> testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=267456, size=2176,
> socket=0
> testpmd: preferred mempool ops selected: ring_mp_mc Done
>
>
> SETUP Details :
>
> DPDK 19.11
>
> NIC :
>
> b5:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722
> for 10GbE SFP+ [8086:37d3] (rev 04) i40e Driver and Firmware Version :
> i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.9.21
> [101414.147635] i40e: Copyright(c) 2013 - 2019 Intel Corporation.
> [101414.162733] i40e 0000:b5:00.1: fw 4.0.53196 api 1.8 nvm 4.10 0x80001a17
> 1.2145.0 [101414.165982] i40e 0000:b5:00.1: MAC address: 08:3a:88:15:f0:7b
> [101414.166232] i40e 0000:b5:00.1: FW LLDP is disabled [101414.166289] i40e
> 0000:b5:00.1: DCB is not supported or FW LLDP is disabled [101414.166290]
> i40e 0000:b5:00.1: DCB init failed -64, disabled
>
>
> modinfo i40e
> filename:       /lib/modules/3.10.0-
> 957.el7.x86_64/updates/drivers/net/ethernet/intel/i40e/i40e.ko
> version:        2.9.21
> license:        GPL
> description:    Intel(R) 40-10 Gigabit Ethernet Connection Network Driver
> author:         Intel Corporation, <e1000-devel@lists.sourceforge.net<mailto:e1000-devel@lists.sourceforge.net>>
> retpoline:      Y
> rhelversion:    7.6
> srcversion:     FA2B2ABB57C568002DF6CFC
> alias:          pci:v00008086d0000158Bsv*sd*bc*sc*i*
> alias:          pci:v00008086d0000158Asv*sd*bc*sc*i*
> alias:          pci:v00008086d000037D3sv*sd*bc*sc*i*
> alias:          pci:v00008086d000037D2sv*sd*bc*sc*i*
> alias:          pci:v00008086d000037D1sv*sd*bc*sc*i*
> alias:          pci:v00008086d000037D0sv*sd*bc*sc*i*
> alias:          pci:v00008086d000037CFsv*sd*bc*sc*i*
> alias:          pci:v00008086d000037CEsv*sd*bc*sc*i*
> alias:          pci:v00008086d00000D58sv*sd*bc*sc*i*
> alias:          pci:v00008086d00000CF8sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001588sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001587sv*sd*bc*sc*i*
> alias:          pci:v00008086d0000104Fsv*sd*bc*sc*i*
> alias:          pci:v00008086d0000104Esv*sd*bc*sc*i*
> alias:          pci:v00008086d000015FFsv*sd*bc*sc*i*
> alias:          pci:v00008086d00001589sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001586sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001585sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001584sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001583sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001581sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001580sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001574sv*sd*bc*sc*i*
> alias:          pci:v00008086d00001572sv*sd*bc*sc*i*
> depends:        ptp
> vermagic:       3.10.0-957.el7.x86_64 SMP mod_unload modversions
> parm:           debug:Debug level (0=none,...,16=all) (int)
>
>
>
> Network devices using DPDK-compatible driver
> ============================================
> 0000:b5:00.0 'Ethernet Connection X722 for 10GbE SFP+ 37d3'
> drv=uio_pci_generic unused=i40e,igb_uio,vfio-pci
>
> Network devices using kernel driver
> ===================================
> 0000:04:00.0 'I350 Gigabit Network Connection 1521' if=eno3 drv=igb
> unused=igb_uio,vfio-pci,uio_pci_generic *Active*
> 0000:04:00.1 'I350 Gigabit Network Connection 1521' if=eno4 drv=igb
> unused=igb_uio,vfio-pci,uio_pci_generic
> 0000:b5:00.1 'Ethernet Connection X722 for 10GbE SFP+ 37d3' if=eno2 drv=i40e
> unused=igb_uio,vfio-pci,uio_pci_generic
>
>
> Thanks & Regards
> Puneet Singh
>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic
@ 2020-03-11  7:25 Puneet Singh
  2020-03-13  3:30 ` Li, Xiaoyun
  0 siblings, 1 reply; 9+ messages in thread
From: Puneet Singh @ 2020-03-11  7:25 UTC (permalink / raw)
  To: users; +Cc: Puneet Singh

Hi Everyone ,

I am trying to run test-pmd with below mentioned nic card but getting following error . Can anyone please help me to resolve this issue.

EAL:   probe driver: 8086:37d3 net_i40e
i40e_vlan_tpid_set(): Set switch config failed aq_err: 14
eth_i40e_dev_init(): Failed to set the default outer VLAN ether type
EAL: ethdev initialisation failedEAL: Requested device 0000:b5:00.0 cannot be used
EAL: PCI device 0000:b5:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d3 net_i40e
testpmd: No probed ethernet devices
Interactive-mode selected
Set mac packet forwarding mode
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=267456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done


SETUP Details :

DPDK 19.11

NIC :

b5:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GbE SFP+ [8086:37d3] (rev 04)
i40e Driver and Firmware Version :
i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.9.21
[101414.147635] i40e: Copyright(c) 2013 - 2019 Intel Corporation.
[101414.162733] i40e 0000:b5:00.1: fw 4.0.53196 api 1.8 nvm 4.10 0x80001a17 1.2145.0
[101414.165982] i40e 0000:b5:00.1: MAC address: 08:3a:88:15:f0:7b
[101414.166232] i40e 0000:b5:00.1: FW LLDP is disabled
[101414.166289] i40e 0000:b5:00.1: DCB is not supported or FW LLDP is disabled
[101414.166290] i40e 0000:b5:00.1: DCB init failed -64, disabled


modinfo i40e
filename:       /lib/modules/3.10.0-957.el7.x86_64/updates/drivers/net/ethernet/intel/i40e/i40e.ko
version:        2.9.21
license:        GPL
description:    Intel(R) 40-10 Gigabit Ethernet Connection Network Driver
author:         Intel Corporation, <e1000-devel@lists.sourceforge.net>
retpoline:      Y
rhelversion:    7.6
srcversion:     FA2B2ABB57C568002DF6CFC
alias:          pci:v00008086d0000158Bsv*sd*bc*sc*i*
alias:          pci:v00008086d0000158Asv*sd*bc*sc*i*
alias:          pci:v00008086d000037D3sv*sd*bc*sc*i*
alias:          pci:v00008086d000037D2sv*sd*bc*sc*i*
alias:          pci:v00008086d000037D1sv*sd*bc*sc*i*
alias:          pci:v00008086d000037D0sv*sd*bc*sc*i*
alias:          pci:v00008086d000037CFsv*sd*bc*sc*i*
alias:          pci:v00008086d000037CEsv*sd*bc*sc*i*
alias:          pci:v00008086d00000D58sv*sd*bc*sc*i*
alias:          pci:v00008086d00000CF8sv*sd*bc*sc*i*
alias:          pci:v00008086d00001588sv*sd*bc*sc*i*
alias:          pci:v00008086d00001587sv*sd*bc*sc*i*
alias:          pci:v00008086d0000104Fsv*sd*bc*sc*i*
alias:          pci:v00008086d0000104Esv*sd*bc*sc*i*
alias:          pci:v00008086d000015FFsv*sd*bc*sc*i*
alias:          pci:v00008086d00001589sv*sd*bc*sc*i*
alias:          pci:v00008086d00001586sv*sd*bc*sc*i*
alias:          pci:v00008086d00001585sv*sd*bc*sc*i*
alias:          pci:v00008086d00001584sv*sd*bc*sc*i*
alias:          pci:v00008086d00001583sv*sd*bc*sc*i*
alias:          pci:v00008086d00001581sv*sd*bc*sc*i*
alias:          pci:v00008086d00001580sv*sd*bc*sc*i*
alias:          pci:v00008086d00001574sv*sd*bc*sc*i*
alias:          pci:v00008086d00001572sv*sd*bc*sc*i*
depends:        ptp
vermagic:       3.10.0-957.el7.x86_64 SMP mod_unload modversions
parm:           debug:Debug level (0=none,...,16=all) (int)



Network devices using DPDK-compatible driver
============================================
0000:b5:00.0 'Ethernet Connection X722 for 10GbE SFP+ 37d3' drv=uio_pci_generic unused=i40e,igb_uio,vfio-pci

Network devices using kernel driver
===================================
0000:04:00.0 'I350 Gigabit Network Connection 1521' if=eno3 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic *Active*
0000:04:00.1 'I350 Gigabit Network Connection 1521' if=eno4 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic
0000:b5:00.1 'Ethernet Connection X722 for 10GbE SFP+ 37d3' if=eno2 drv=i40e unused=igb_uio,vfio-pci,uio_pci_generic


Thanks & Regards
Puneet Singh




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

end of thread, other threads:[~2020-03-26 21:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 13:02 [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic Puneet Singh
2020-03-17  2:03 ` Li, Xiaoyun
2020-03-17  6:59   ` Puneet Singh
2020-03-18  7:55     ` Puneet Singh
2020-03-19  8:05       ` Puneet Singh
2020-03-26 17:57         ` Puneet Singh
  -- strict thread matches above, loose matches on Subject: below --
2020-03-11  7:25 Puneet Singh
2020-03-13  3:30 ` Li, Xiaoyun
2020-03-13  4:34   ` Puneet Singh

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