From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) by dpdk.org (Postfix) with ESMTP id 61F19559C; Mon, 1 Feb 2016 23:44:29 +0100 (CET) Received: by mail-vk0-f49.google.com with SMTP id e185so85972470vkb.1; Mon, 01 Feb 2016 14:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZetdISlS4aiY0EwmRpsP3aFSHXINGbnNMfPWmZTmMnM=; b=dxTUMDtpprVPFPnBKL2ONaVM/x1WkODqItvs9zK1g+I9rHPzAHvKC4t95+t+Fd9jaP 1+pIRVfAqPAeYJDTZiESUD/Qc0plXSIDKibDVY1WBNHo2TWd8XBc8AJDIwP49nmI434p uRipddx/vuq7QKmO/pXlmRs85bY6kKdMQGuAJZuf0H/EZfmBT/WSb5QZY2Fqgg3gCvLY eCMCV15jlAGGuJeZO6GOZ+wve8N6OFzmgwrlK1LdMX+h2zp5rRRUNwj2WAP4s7qFfomJ U7TZKs8W9DDDLQD8P/Ueh0pjY+zluIPfE9SwUvhlZJ526t27Bz+EeSqOtF2KUInhYai8 A71g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZetdISlS4aiY0EwmRpsP3aFSHXINGbnNMfPWmZTmMnM=; b=J3rRvFKX7QimTZuzH71CFBiW0b851Pb6FGNdz4mPa9G/IyRPhTFUo+/FPshiWGq1/w SyMJK2AiedOmZeKSIs+9Az68J4vhpkXRfizVDv0WmAZkmJAjRnUtn7PDSb9bVYnS2W1R ehy+x4Efs4pZjlm08ZoYSf4ojVONvVnojZZNXFs0VKSNPN9pmIQk8kMAaWKF4ZXryNhm WQubHMYB1ioAUrevaFbql5cesFTuybCK6TWv7jTmxn4oNieZpNes9pYjhNsXllYj2eWp NEO/CNGAKosnYyTlMrN3n1cHSJKrDvGcN+TcgpQBtdOEVo/dAkWOtZRGb1EH5QLIppNR TOXA== X-Gm-Message-State: AG10YOTpIOK5JPFFjDmr3vzvpg79wyKTjwpV0gb7LzqEACT+wpZWoYoSwWgcdF8krY3SdU9agsPXKuUo1IckOw== MIME-Version: 1.0 X-Received: by 10.31.160.6 with SMTP id j6mr18219723vke.87.1454366668878; Mon, 01 Feb 2016 14:44:28 -0800 (PST) Received: by 10.31.152.208 with HTTP; Mon, 1 Feb 2016 14:44:28 -0800 (PST) In-Reply-To: References: <533710CFB86FA344BFBF2D6802E6028622F2812B@SHSMSX101.ccr.corp.intel.com> Date: Mon, 1 Feb 2016 14:44:28 -0800 Message-ID: From: Saurabh Mishra To: "Qiu, Michael" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Mon, 01 Feb 2016 22:44:29 -0000 Hi, on KVM system, after doing NVM upgrade to new firmware and I don't see init_adminq failed messages. Thanks, /Saurabh On Mon, Feb 1, 2016 at 11:49 AM, Saurabh Mishra wrote: > Hi, > > So I tried to update the firmware and it says "Update not available" for > i40e > > Intel(R) Ethernet NVM Update Tool > > NVMUpdate version 1.25.20.03 > > Copyright (C) 2013 - 2015 Intel Corporation. > > > > WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR POWER > OFF THE SYSTEM DURING THIS UPDATE > > Inventory in progress. Please wait [|.........] > > + > > > > Num Description Device-Id B:D Adapter Status > > === ====================================== ========= ===== > ==================== > > 01) Intel(R) Ethernet Server Adapter X520- 8086-10FB 130:00 Update not > available > > 02) Intel(R) Ethernet Converged Network Ad 8086-1572 07:00 Update not > available > > > > Tool execution completed with the following status: All operations > completed successfully > > Press any key to exit. > > > [root] esxcfg-nics -l > > Name PCI Driver Link Speed Duplex MAC Address > MTU Description > > vmnic6 0000:07:00.0 i40e Up 10000Mbps Full 3c:fd:fe:04:11:c0 > 1500 Intel Corporation Ethernet Controller X710 for 10GbE SFP+ > > vmnic7 0000:07:00.1 i40e Up 10000Mbps Full 3c:fd:fe:04:11:c2 > 1500 Intel Corporation Ethernet Controller X710 for 10GbE SFP+ > > vmnic8 0000:82:00.0 ixgbe Up 10000Mbps Full 00:1b:21:90:f9:f8 > 1500 Intel(R) 82599 10 Gigabit Dual Port Network Connection > > [root] ethtool -i vmnic6 > > driver: i40e > > version: 1.3.38 > > firmware-version: 4.41 0x80001866 16.5.20 > > bus-info: 0000:07:00.0 > > On Mon, Feb 1, 2016 at 10:25 AM, Saurabh Mishra > wrote: > >> Hi Michael -- >> >> What are the steps to upgrade i40e firmware. We are using CentOS7 >> >> It didn't work with guest VF driver either on ESXi and KVM. >> >> Sure. I will blacklist i40evf driver and try it out. >> >> Thanks, >> /Saurabh >> >> >> On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael >> wrote: >> >>> Hi, Saurabh >>> >>> It's known issue, to fix this you'd better to upgrade the firmware >>> version of i40e. >>> >>> BTW, will it work in guest with kernel driver? >>> >>> If yes, to workaround(somebody reports it does not work for them): >>> Remove i40e.ko in guest, so that it will not auto-loaded when boot up. >>> >>> Hope it works for you. >>> >>> Thanks, >>> Michael >>> >>> >>> On 1/30/2016 4:35 AM, Saurabh Mishra wrote: >>> > Has anybody seen this before? What's the workaround or fix? We are >>> using >>> > dpdk-2.2.0 on KVM centos: >>> > >>> > Host PF version: 1.0.11-k on Centos7 >>> > >>> > >>> > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary >>> -- -p >>> > 3 --num-procs=2 --proc-id=0 >>> > >>> > [.] >>> > >>> > EAL: Virtual area found at 0x7fff75800000 (size = 0x200000) >>> > >>> > EAL: Requesting 1024 pages of size 2MB from socket 0 >>> > >>> > EAL: TSC frequency is ~2600141 KHz >>> > >>> > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using >>> unreliable >>> > clock cycles ! >>> > >>> > EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1]) >>> > >>> > EAL: PCI device 0000:00:04.0 on NUMA socket 0 >>> > >>> > EAL: probe driver: 8086:154c rte_i40evf_pmd >>> > >>> > EAL: PCI memory mapped at 0x7ffff6200000 >>> > >>> > EAL: PCI memory mapped at 0x7ffff6210000 >>> > >>> > EAL: PCI device 0000:00:05.0 on NUMA socket 0 >>> > >>> > EAL: probe driver: 8086:154c rte_i40evf_pmd >>> > >>> > EAL: PCI memory mapped at 0x7ffff6214000 >>> > >>> > EAL: PCI memory mapped at 0x7ffff6224000 >>> > >>> > PMD: i40evf_init_vf(): init_adminq failed: -53 >>> > >>> > PMD: i40evf_dev_init(): Init vf failed >>> > >>> > EAL: Error - exiting with code: 1 >>> > >>> > Cause: Requested device 0000:00:05.0 cannot be used >>> > >>> > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status >>> > >>> > >>> > Network devices using DPDK-compatible driver >>> > >>> > ============================================ >>> > >>> > 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic >>> > >>> > 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic >>> > >>> > >>> > Network devices using kernel driver >>> > >>> > =================================== >>> > >>> > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp >>> > unused=igb_uio,uio_pci_generic *Active* >>> > >>> > >>> > Other network devices >>> > >>> > ===================== >>> > >>> > >>> > >>> > [root@ ~]# >>> > >>> > >>> > >>> > 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller >>> X710 >>> > for 10GbE SFP+ (rev 01) >>> > >>> > 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller >>> X710 >>> > for 10GbE SFP+ (rev 01) >>> > >>> > 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual >>> > Function (rev 01) >>> > >>> > 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual >>> > Function (rev 01) >>> > >>> > 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual >>> > Function (rev 01) >>> > >>> > 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual >>> > Function (rev 01) >>> > >>> > >>> > >>> > [root@oscompute3 ~]# dmesg | tail >>> > >>> > [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command >>> 15 >>> > pending >>> > >>> > [root@oscompute3 ~]# >>> > >>> > >>> > /Saurabh >>> > >>> >>> >> >