From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 1C5E41BB0D for ; Wed, 11 Apr 2018 14:01:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2018 05:01:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,436,1517904000"; d="scan'208,217";a="32845196" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga008.jf.intel.com with ESMTP; 11 Apr 2018 05:01:10 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX106.ger.corp.intel.com (163.33.3.31) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Apr 2018 13:01:10 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.164]) by irsmsx111.ger.corp.intel.com ([169.254.2.167]) with mapi id 14.03.0319.002; Wed, 11 Apr 2018 13:01:09 +0100 From: "Weglicki, MichalX" To: "dev@dpdk.org" Thread-Topic: Problem with using VF: Initialization Failure: -15 Thread-Index: AdPRjMTVr6vLYvvXTN+HKRE6ljE6Lw== Date: Wed, 11 Apr 2018 12:01:09 +0000 Message-ID: <1AFA2937E172CD4DB2FD9318443C060E40DB9C32@IRSMSX102.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzE2ODYxOWYtM2ZhMC00YmRkLTk3YjMtNGVkNjg2ZmQ2YmJjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkFqSFlGQ2lJbU5WczQyVWlGWDlnWXE5VnlGODZ1alpJK2U2am1Kd2dYclE9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 12:01:15 -0000 Hello, I'm trying to test very simple scenario, creating two VFs and testing it wi= th 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 s= ame results): ../dpdk/usertools/dpdk-devbind.py --bind=3Digb_uio 0000:81:10.0 ../dpdk/usertools/dpdk-devbind.py --bind=3Digb_uio 0000:81:10.1 ./testpmd -c 0x3 -n 4 --socket-mem 512 -- --burst=3D64 -i --txqflags=3D0xf0= 0 --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 =3D 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.