DPDK usage discussions
 help / color / mirror / Atom feed
From: "Li, Xiaoyun" <xiaoyun.li@intel.com>
To: Puneet Singh <Puneet.Singh@truminds.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722	Nic
Date: Fri, 13 Mar 2020 03:30:12 +0000	[thread overview]
Message-ID: <d0df48f62e934ada830df80c0f38bc81@intel.com> (raw)
In-Reply-To: <BMXPR01MB4088080BD83E6820E4C54C6BF1FC0@BMXPR01MB4088.INDPRD01.PROD.OUTLOOK.COM>

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
> Cc: Puneet Singh <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>
> 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
> 
> 


  reply	other threads:[~2020-03-13  3:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11  7:25 Puneet Singh
2020-03-13  3:30 ` Li, Xiaoyun [this message]
2020-03-13  4:34   ` Puneet Singh
2020-03-16 13:02 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d0df48f62e934ada830df80c0f38bc81@intel.com \
    --to=xiaoyun.li@intel.com \
    --cc=Puneet.Singh@truminds.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).