From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f48.google.com (mail-pl0-f48.google.com [209.85.160.48]) by dpdk.org (Postfix) with ESMTP id 2A7541BBB9 for ; Wed, 11 Apr 2018 16:12:38 +0200 (CEST) Received: by mail-pl0-f48.google.com with SMTP id e7-v6so1498305plt.6 for ; Wed, 11 Apr 2018 07:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gg6nJtJ6m5qdV2dOjH3ulH9zO5BIe+RxuIvdTG0LCXg=; b=1w4H0X5xSVdvcwJttQSFh7Xx6eyfKgU/m7JYNYa2Lx+tLnwluou6MwZ07kwILBHeVh kNVkB6RvTS2+atAL2ss+uXXK39DhzbHl8+Ew2wgMXotUEK3gf6OGOoOUerbhgQhGYg0a yVaUWri+SpsEGsOEO9eyG1MTu/JfP/A6MEAYoyn9P7cIyU3POHUhlr6oGr+tznen5v1H cxJU6hAJ+sGduaM1ADdr2O4+DhxGGP/vns0m0BQD9UcYZ0EYAOEwSNZiCN7T0rDgVckX xsD9tA7hJp9TnEzIERZSC6K4DDveTRwo0c12eFqE28n7dj5tRD/BnAfn62MyrzP2dJnN bqgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gg6nJtJ6m5qdV2dOjH3ulH9zO5BIe+RxuIvdTG0LCXg=; b=Woz0VrohB1rSlSrXESpJpLG1IiYkVHZss29yarktuOIAJlwBZvnIyhCvGEAxKbj4iX JBo4Y9omKMOqAsQvUh+HjsEifeWP8h43JljtdyPb/5Yx8s/xLm9wLL7Hyvd/9IFNCI7C BiDcpsQ+t2Fg9fxMPcskKIX8yA/tqb2fNAOu52KiqoqQ182HBK9DhK1x3/Jj0vO8+LJo fIPbmEGJ8NmN37aSe/R+wJHtP8LZGIb52OjM9nzNXMOJgnbAElxyX/nSP7OCIgwrvUhh ZvNTmXdrQpWUwOhzKJ/0HQL0smBJRUW0Xh5KQEuK23FCoRF5tCxXxGf2nvnfsZhoPLaC 81Gg== X-Gm-Message-State: ALQs6tBgXa6dtm9wRe3mJ/nUECZB76SbhKsUUMWVtzYfuSyP24Uhzz+1 4fQ4DedPgOljX1Welky8Lxt3YtE9bT8= X-Google-Smtp-Source: AIpwx4+mVzGU62Oyl86+kIKNnm5eHh1zIQ+I9E8KyItHCijqLiGwIUac3a7wRmcPhICz0sNPWfTEvA== X-Received: by 2002:a17:902:9a9:: with SMTP id 38-v6mr5269105pln.40.1523455957224; Wed, 11 Apr 2018 07:12:37 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id z13sm2558329pgp.80.2018.04.11.07.12.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Apr 2018 07:12:37 -0700 (PDT) Date: Wed, 11 Apr 2018 07:12:31 -0700 From: Stephen Hemminger To: "Weglicki, MichalX" Cc: "dev@dpdk.org" Message-ID: <20180411071231.6d61fce1@xeon-e3> In-Reply-To: <1AFA2937E172CD4DB2FD9318443C060E40DB9C32@IRSMSX102.ger.corp.intel.com> References: <1AFA2937E172CD4DB2FD9318443C060E40DB9C32@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Problem with using VF: Initialization Failure: -15 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 14:12:38 -0000 On Wed, 11 Apr 2018 12:01:09 +0000 "Weglicki, MichalX" wrote: > Hello, > > I'm trying to test very simple scenario, creating two VFs and testing it with test-pmd. Unfortunately I can't make it to work > DPDK Version: v17.11 (I've checked also 18.02) > NIC: Niantic 82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb > Kernel: 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux > > Steps: > Creating two VFs. Binding each VF to a driver (I also tried vfio_pci with same results): > ../dpdk/usertools/dpdk-devbind.py --bind=igb_uio 0000:81:10.0 > ../dpdk/usertools/dpdk-devbind.py --bind=igb_uio 0000:81:10.1 > > ./testpmd -c 0x3 -n 4 --socket-mem 512 -- --burst=64 -i --txqflags=0xf00 --disable-hw-vlan > EAL: Detected 56 lcore(s) > EAL: Probing VFIO support... > EAL: VFIO support initialized > EAL: PCI device 0000:03:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:03:00.3 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:05:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: PCI device 0000:05:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: PCI device 0000:81:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: PCI device 0000:81:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: PCI device 0000:81:10.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10ed net_ixgbe_vf > PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15 > EAL: Requested device 0000:81:10.0 cannot be used > EAL: PCI device 0000:81:10.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10ed net_ixgbe_vf > PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15 > EAL: Requested device 0000:81:10.1 cannot be used > EAL: PCI device 0000:83:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: PCI device 0000:83:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:10fb net_ixgbe > EAL: No probed ethernet devices > Interactive-mode selected > > I've investigated the issue, and the problem is with: > diag = hw->mac.ops.reset_hw(hw); > which calls: > e1000_reset_hw_vf > and it calls: > e1000_read_posted_mbx > Which returns: E1000_ERR_MBX (-15) > > Is this common issue, or some configuration problem? > > Thank you all in advance. > > Br, > Michal. What host? It could be that ixgbevf communication (over mailbox) is not supported by the older PF driver on the host.