From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 369F48D8F; Tue, 2 Feb 2016 04:01:11 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 01 Feb 2016 19:00:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,383,1449561600"; d="scan'208";a="874651290" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 01 Feb 2016 19:00:39 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Feb 2016 19:00:38 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Feb 2016 19:00:37 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by shsmsx102.ccr.corp.intel.com ([169.254.2.172]) with mapi id 14.03.0248.002; Tue, 2 Feb 2016 11:00:35 +0800 From: "Qiu, Michael" To: Saurabh Mishra Thread-Topic: [dpdk-dev] i40evf DPDK init_adminq failed: -53 Thread-Index: AQHRWtSPR8xRW8+sTEqLGp4DB/SnLQ== Date: Tue, 2 Feb 2016 03:00:34 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F28BBF@SHSMSX101.ccr.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E6028622F2812B@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" , "users@dpdk.org" Subject: Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 03:01:12 -0000 On 2/2/2016 6:44 AM, Saurabh Mishra wrote:=0A= > Hi, on KVM system, after doing NVM upgrade to new firmware and I don't=0A= > see init_adminq failed messages.=0A= >=0A= =0A= Glade to see you have fix the issue:)=0A= =0A= Thanks,=0A= Michael=0A= > Thanks,=0A= > /Saurabh=0A= >=0A= > On Mon, Feb 1, 2016 at 11:49 AM, Saurabh Mishra=0A= > > wrote:=0A= >=0A= > Hi,=0A= >=0A= > So I tried to update the firmware and it says "Update not=0A= > available" for i40e=0A= >=0A= > Intel(R) Ethernet NVM Update Tool=0A= >=0A= > NVMUpdate version 1.25.20.03=0A= >=0A= > Copyright (C) 2013 - 2015 Intel Corporation.=0A= >=0A= >=0A= >=0A= > WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR=0A= > POWER OFF THE SYSTEM DURING THIS UPDATE=0A= >=0A= > Inventory in progress. Please wait [|.........]=0A= >=0A= > +=0A= >=0A= >=0A= >=0A= > Num Description Device-Id B:D Adapter=0A= > Status=0A= >=0A= > =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=3D=3D= =3D=3D=3D=3D =3D=3D=3D=3D=3D=0A= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= >=0A= > 01) Intel(R) Ethernet Server Adapter X520- 8086-10FB 130:00 Update=0A= > not available=0A= >=0A= > 02) Intel(R) Ethernet Converged Network Ad 8086-1572 07:00 Update=0A= > not available=0A= >=0A= >=0A= >=0A= > Tool execution completed with the following status: All operations=0A= > completed successfully=0A= >=0A= > Press any key to exit.=0A= >=0A= >=0A= > [root] esxcfg-nics -l=0A= >=0A= > Name PCI Driver Link Speed Duplex MAC Address=0A= > MTU Description =0A= >=0A= > vmnic6 0000:07:00.0 i40e Up 10000Mbps Full =0A= > 3c:fd:fe:04:11:c0 1500 Intel Corporation Ethernet Controller=0A= > X710 for 10GbE SFP+=0A= >=0A= > vmnic7 0000:07:00.1 i40e Up 10000Mbps Full =0A= > 3c:fd:fe:04:11:c2 1500 Intel Corporation Ethernet Controller=0A= > X710 for 10GbE SFP+=0A= >=0A= > vmnic8 0000:82:00.0 ixgbe Up 10000Mbps Full =0A= > 00:1b:21:90:f9:f8 1500 Intel(R) 82599 10 Gigabit Dual Port=0A= > Network Connection=0A= >=0A= > [root] ethtool -i vmnic6=0A= >=0A= > driver: i40e=0A= >=0A= > version: 1.3.38=0A= >=0A= > firmware-version: 4.41 0x80001866 16.5.20=0A= >=0A= > bus-info: 0000:07:00.0=0A= >=0A= >=0A= > On Mon, Feb 1, 2016 at 10:25 AM, Saurabh Mishra=0A= > > wrote:=0A= >=0A= > Hi Michael --=0A= >=0A= > What are the steps to upgrade i40e firmware. We are using CentOS7= =0A= >=0A= > It didn't work with guest VF driver either on ESXi and KVM.=0A= >=0A= > Sure. I will blacklist i40evf driver and try it out.=0A= >=0A= > Thanks,=0A= > /Saurabh=0A= >=0A= >=0A= > On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael=0A= > > wrote:=0A= >=0A= > Hi, Saurabh=0A= >=0A= > It's known issue, to fix this you'd better to upgrade the=0A= > firmware=0A= > version of i40e.=0A= >=0A= > BTW, will it work in guest with kernel driver?=0A= >=0A= > If yes, to workaround(somebody reports it does not work=0A= > for them):=0A= > Remove i40e.ko in guest, so that it will not auto-loaded=0A= > when boot up.=0A= >=0A= > Hope it works for you.=0A= >=0A= > Thanks,=0A= > Michael=0A= >=0A= >=0A= > On 1/30/2016 4:35 AM, Saurabh Mishra wrote:=0A= > > Has anybody seen this before? What's the workaround or=0A= > fix? We are using=0A= > > dpdk-2.2.0 on KVM centos:=0A= > >=0A= > > Host PF version: 1.0.11-k on Centos7=0A= > >=0A= > >=0A= > > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4=0A= > --proc-type=3Dprimary -- -p=0A= > > 3 --num-procs=3D2 --proc-id=3D0=0A= > >=0A= > > [.]=0A= > >=0A= > > EAL: Virtual area found at 0x7fff75800000 (size =3D 0x20000= 0)=0A= > >=0A= > > EAL: Requesting 1024 pages of size 2MB from socket 0=0A= > >=0A= > > EAL: TSC frequency is ~2600141 KHz=0A= > >=0A= > > EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno= =0A= > -> using unreliable=0A= > > clock cycles !=0A= > >=0A= > > EAL: Master lcore 1 is ready (tid=3Df7fed880;cpuset=3D[1])= =0A= > >=0A= > > EAL: PCI device 0000:00:04.0 on NUMA socket 0=0A= > >=0A= > > EAL: probe driver: 8086:154c rte_i40evf_pmd=0A= > >=0A= > > EAL: PCI memory mapped at 0x7ffff6200000=0A= > >=0A= > > EAL: PCI memory mapped at 0x7ffff6210000=0A= > >=0A= > > EAL: PCI device 0000:00:05.0 on NUMA socket 0=0A= > >=0A= > > EAL: probe driver: 8086:154c rte_i40evf_pmd=0A= > >=0A= > > EAL: PCI memory mapped at 0x7ffff6214000=0A= > >=0A= > > EAL: PCI memory mapped at 0x7ffff6224000=0A= > >=0A= > > PMD: i40evf_init_vf(): init_adminq failed: -53=0A= > >=0A= > > PMD: i40evf_dev_init(): Init vf failed=0A= > >=0A= > > EAL: Error - exiting with code: 1=0A= > >=0A= > > Cause: Requested device 0000:00:05.0 cannot be used=0A= > >=0A= > > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --statu= s=0A= > >=0A= > >=0A= > > Network devices using DPDK-compatible driver=0A= > >=0A= > > =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= =0A= > >=0A= > > 0000:00:04.0 'Device 154c' drv=3Digb_uio=0A= > unused=3Duio_pci_generic=0A= > >=0A= > > 0000:00:05.0 'Device 154c' drv=3Digb_uio=0A= > unused=3Duio_pci_generic=0A= > >=0A= > >=0A= > > Network devices using kernel driver=0A= > >=0A= > > =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=0A= > >=0A= > > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=3Deth0 drv=3D8139cp= =0A= > > unused=3Digb_uio,uio_pci_generic *Active*=0A= > >=0A= > >=0A= > > Other network devices=0A= > >=0A= > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=0A= > >=0A= > > =0A= > >=0A= > > [root@ ~]#=0A= > >=0A= > >=0A= > >=0A= > > 04:00.0 *Ether*net controller: Intel Corporation=0A= > *Ether*net Controller X710=0A= > > for 10GbE SFP+ (rev 01)=0A= > >=0A= > > 04:00.1 *Ether*net controller: Intel Corporation=0A= > *Ether*net Controller X710=0A= > > for 10GbE SFP+ (rev 01)=0A= > >=0A= > > 04:02.0 *Ether*net controller: Intel Corporation=0A= > XL710/X710 Virtual=0A= > > Function (rev 01)=0A= > >=0A= > > 04:02.1 *Ether*net controller: Intel Corporation=0A= > XL710/X710 Virtual=0A= > > Function (rev 01)=0A= > >=0A= > > 04:0a.0 *Ether*net controller: Intel Corporation=0A= > XL710/X710 Virtual=0A= > > Function (rev 01)=0A= > >=0A= > > 04:0a.1 *Ether*net controller: Intel Corporation=0A= > XL710/X710 Virtual=0A= > > Function (rev 01)=0A= > >=0A= > >=0A= > >=0A= > > [root@oscompute3 ~]# dmesg | tail=0A= > >=0A= > > [2064188.042835] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.062836] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.082862] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.102838] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.122850] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.142852] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.162850] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.182845] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.202845] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [2064188.222858] i40evf 0000:04:0a.1:=0A= > i40evf_add_ether_addrs: command 15=0A= > > pending=0A= > >=0A= > > [root@oscompute3 ~]#=0A= > >=0A= > >=0A= > > /Saurabh=0A= > >=0A= >=0A= >=0A= >=0A= >=0A= =0A=