From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C1669A0567 for ; Fri, 13 Mar 2020 04:30:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 246381C001; Fri, 13 Mar 2020 04:30:20 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2D4691BFC9 for ; Fri, 13 Mar 2020 04:30:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 20:30:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,546,1574150400"; d="scan'208";a="232281770" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 12 Mar 2020 20:30:16 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Mar 2020 20:30:14 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 13 Mar 2020 11:30:12 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Fri, 13 Mar 2020 11:30:12 +0800 From: "Li, Xiaoyun" To: Puneet Singh , "users@dpdk.org" Thread-Topic: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic Thread-Index: AdX3diwl/HdNZPDkQy6sLU8Lct+eBgBb8yUQ Date: Fri, 13 Mar 2020 03:30:12 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X722 Nic X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi It is because that X722 doesn't support I40E_HW_FLAG_802_1AD_CAPABLE with n= ew firmware. This is fixed in 20.02 with base code patch update. This commit: 37b091c75b= 13d2f26359be9b77adbc33c55a7581. If you have to use 19.11. You need to add the following in eth_i40e_dev_ini= t(): - if (hw->device_id =3D=3D I40E_DEV_ID_SFP_X722) + if (hw->mac.type =3D=3D I40E_MAC_X722) hw->flags &=3D ~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 > Subject: [dpdk-users] Issue while running DPDK19.11 test-pmd with Intel X= 722 > Nic >=20 > Hi Everyone , >=20 > I am trying to run test-pmd with below mentioned nic card but getting fol= lowing > error . Can anyone please help me to resolve this issue. >=20 > 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 canno= t 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 : n=3D267456, size=3D= 2176, > socket=3D0 > testpmd: preferred mempool ops selected: ring_mp_mc Done >=20 >=20 > SETUP Details : >=20 > DPDK 19.11 >=20 > NIC : >=20 > 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 0x80001a= 17 > 1.2145.0 [101414.165982] i40e 0000:b5:00.1: MAC address: 08:3a:88:15:f0:7= b > [101414.166232] i40e 0000:b5:00.1: FW LLDP is disabled [101414.166289] i4= 0e > 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 >=20 >=20 > 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, > 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=3Dnone,...,16=3Dall) (int) >=20 >=20 >=20 > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:b5:00.0 'Ethernet Connection X722 for 10GbE SFP+ 37d3' > drv=3Duio_pci_generic unused=3Di40e,igb_uio,vfio-pci >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:04:00.0 'I350 Gigabit Network Connection 1521' if=3Deno3 drv=3Digb > unused=3Digb_uio,vfio-pci,uio_pci_generic *Active* > 0000:04:00.1 'I350 Gigabit Network Connection 1521' if=3Deno4 drv=3Digb > unused=3Digb_uio,vfio-pci,uio_pci_generic > 0000:b5:00.1 'Ethernet Connection X722 for 10GbE SFP+ 37d3' if=3Deno2 drv= =3Di40e > unused=3Digb_uio,vfio-pci,uio_pci_generic >=20 >=20 > Thanks & Regards > Puneet Singh >=20 >=20