From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f182.google.com (mail-ua0-f182.google.com [209.85.217.182]) by dpdk.org (Postfix) with ESMTP id 902B22BB0 for ; Tue, 22 Nov 2016 06:40:57 +0100 (CET) Received: by mail-ua0-f182.google.com with SMTP id 51so6167397uai.1 for ; Mon, 21 Nov 2016 21:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=2O6M1YawnbtmArw8uFrZJuABwdqA4k9oxf0QpHMfmAQ=; b=0CKHnDqSCSp4t+7cAfPdcwZjXPkYJHcGqM2JQuavGaa6RXW5CaKTh4AdASjen2b+au lT8VlVsgvKUZH0yF/Zze19S5RSQo+vI250ILgKMg4rAqc34dumfO1kL3QkWJxYedDSiA LSrZ8tAOGetrc0JjKiYsvnZGwov+YoVGsOB1pWHj/ArhHd5lHX+gNvBq1gbDodeWLEfN J0CmpjAY7KS3yqXyl98oqHIw3Pb1JsWmTIsOOOUIJ2/HPbW7sVBYeR/93DNYiPzcffKP LkUsEwAfpKJ2ChAE167PglZMwpMs8HZmSWSiE2gknTpWQmN6wifc3XHbExa85oPZp1Iq 8OWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2O6M1YawnbtmArw8uFrZJuABwdqA4k9oxf0QpHMfmAQ=; b=efkQHw5h0AqcVzZ2fYHRZP4DaDaNjTU37Imu3+Uvj9u1ZwuVF7EeY1K8SSrHNBsROq L+AmamwWSLhDCSJveV2kbkmaHSLPHAmaHtx7tbzRe8vs9a954iBe2+YRF2HzhODLcc7m 4dwzHXqHQ/m44FnGybwRpxOKC2bOQVVFtLO3FMo6qNyYKZBT0SrsCg2uDF0+/R/+HK3v 9C6DFOIlCBFITDrMyoikJfn0+y1bdZasGX33utzpLae+PBef3g/5ang8YjRrHDYRfXul 4I/vLZsfRyS+vpfvxkDXbSGxfdKg10qudLwmpPdeHOJYX3JqESHqdvzXJk2U8qGtdOhR IRpg== X-Gm-Message-State: AKaTC00zxmGpwCGB7bsSo0fmpbaMOtRsTL36K/C0JHkgRH+ABfbCpmROO2RR5Hr6QFvSE+ui71u7yBdTcYbVkg== X-Received: by 10.159.48.145 with SMTP id j17mr7303312uab.43.1479793256552; Mon, 21 Nov 2016 21:40:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.89.194 with HTTP; Mon, 21 Nov 2016 21:40:56 -0800 (PST) From: Sruthi Yellamraju Date: Tue, 22 Nov 2016 00:40:56 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] TestPMD fails with DPDK 16.07 + VMware Direct I/o Passthrough of X520-SR2 NICs X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 05:40:57 -0000 Hi, I have 2 10G X520-SR2 Ethernet adapters that i want to use in a VM with DPDK. So, I configured using VMware vSphere these two PCI devices to be in Passthrough (Direct I/o not SR-IOV) mode and attached these 2 I/fs to the VM instance. On the VM instance, the 2 PCI devices do show up ok (lspci and ethtool showing driver info below). The X520-SR2 adapters came up with ixgbe driver on the guest kernel. I am able to attach the I/f to DPDK using dpdk-devbind and to use igb_uio. However testpmd application fails to recognize the interface. Any ideas why? I saw a couple of links showing that there could be timing issues with ixgbe in earlier releases of dpdk, that could lead to such an issue, Is this the case even now? http://dpdk.org/ml/archives/dev/2014-January/001205.html http://www.intel.com/content/dam/www/public/us/en/documents/release-notes/dpdk-release-notes.pdf - Section 7.11 Any pointers would be really helpful. Is DPDK expected to work on VM without SR_IOV as well? Some info below: # dpdk-devbind -b igb_uio 0000:1b:00.1 # dpdk-devbind --status Network devices using DPDK-compatible driver ============================================ 0000:1b:00.1 'Ethernet Server Bypass Adapter X520-SR2' drv=igb_uio unused=ixgbe Network devices using kernel driver =================================== 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth1 drv=e1000 unused=igb_uio 0000:0b:00.0 'VMXNET3 Ethernet Controller' if=eth0 drv=vmxnet3 unused=igb_uio *Active* 0000:13:00.0 'VMXNET3 Ethernet Controller' if=eth2 drv=vmxnet3 unused=igb_uio 0000:1b:00.0 'Ethernet Server Bypass Adapter X520-SR2' if=eth3 drv=ixgbe unused=igb_uio Other network devices ===================== # testpmd -w 0000:1b:00.1 EAL: Detected 14 lcore(s) PMD: bnxt_rte_pmd_init() called for (null) EAL: No probed ethernet devices # lspci | grep -i ethernet 02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01) 0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) 13:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01) 1b:00.0 Ethernet controller: Intel Corporation Ethernet Server Bypass Adapter X520-SR2 (rev 01) 1b:00.1 Ethernet controller: Intel Corporation Ethernet Server Bypass Adapter X520-SR2 (rev 01) [root@ # ethtool -i eth4 driver: ixgbe version: 3.13.0.14-bypass-BYPASS-PFNIC firmware-version: 0x8000053e bus-info: 0000:1b:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no