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 <[email protected]> Sent: Friday, 13 March, 2020, 9:00 am To: Puneet Singh; [email protected] 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:[email protected]] On Behalf Of Puneet Singh > Sent: Wednesday, March 11, 2020 15:25 > To: [email protected] > Cc: Puneet Singh <[email protected]> > 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, <[email protected]> > 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 > >
