From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by dpdk.org (Postfix) with ESMTP id BA7C529C8 for ; Fri, 21 Jul 2017 08:48:24 +0200 (CEST) Received: by mail-oi0-f51.google.com with SMTP id q4so45048293oif.1 for ; Thu, 20 Jul 2017 23:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wY8GKuljRtucBZdHMnJEuc1mVte2zQ3k/Kn95eImu6U=; b=tiXLBN4pnEWZ2czq/GbMguEUEgy6ivQQI/gHWCqlEB9fBWd+8RvEAq1iAaD3w2Bo1C CWfPjbIKl2+tEMb723tfJAkRQELk65b103hxddjOXyVUdSLSoY3+1U+zoFA+EL7KSBUc FaoDDidmiFb7I1plXc7Ab9+xwOL8hzGvSYCnIeuLq0z3oEgumMpSFLBuBt7YdBtMoZZ4 +9m4oa0jLa/4+KiJPjhd0VNu8ttsiJBzqTzy6Tvm7efQH+2yzHdBZ1gQJVAe2ioCJY+L aJUMNwL0hpvQYsEoyZHQRfrtZwtiC/po08DQCS/7zXhOFkIF5Zj5oCJITfaY7/Y3Psbv VuIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wY8GKuljRtucBZdHMnJEuc1mVte2zQ3k/Kn95eImu6U=; b=FAuqzzS8Ign4IX9xkjufWZ63fBLfdpLBYDuzVxrUEf16Ke9n8rwImboRoZQC5eycHJ HGLt81UyZ/5SNvr2+MW50b+aljhATX7EI9xt0MNU1Mr74AO62MAhT94X76mSHDTYavjx M5XBSsAAtGAE4HNexVWPp2esy8FS7yWI+EVST7i4KMM9lcjbI6i1LASw8riPOnxi0ASP 8wDLSb/w5i7958WiLFWEHuM18WcpnZRu5cnwASYRdPa7F0fW1VQ4myF8n0xRbBsPQ81D Q1lhQnHJeCpOR9leaHL62BoJWvQiW+afHjjS9ENcqp26R+q419YcxcF8MBc/hNaHVNey 1Glg== X-Gm-Message-State: AIVw113NEkjp2notoC6ctbZ+5PWYr+oQFh0E5GbRhSOat/jiUZWvHSUf MK3CDMy/j77Qd8wlFT54A3In8wXIOqIOj+w= X-Received: by 10.202.114.151 with SMTP id p145mr1273906oic.41.1500619703881; Thu, 20 Jul 2017 23:48:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.77.67 with HTTP; Thu, 20 Jul 2017 23:48:23 -0700 (PDT) From: Raju-dev grishma Date: Fri, 21 Jul 2017 12:18:23 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK versions and SRIOV on XL710. 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: Fri, 21 Jul 2017 06:48:25 -0000 Hi I have a host and XL710 nic cards and created few VFs on these NIC. I created two VMs on that host and assign one VF to each VM. VM#1: It has RHEL 7.2 installed and I use DPDK version 2.2.0 SRIOV ports on this VM works OK. testmpd works. The SRIOV interfaces comes up with below logs when I invoke testpmd. EAL: PCI device 0000:0b:00.0 on NUMA socket -1 EAL: probe driver: 8086:154c rte_i40evf_pmd EAL: PCI memory mapped at 0x7fefdce00000 EAL: PCI memory mapped at 0x7fefdce10000 VM#2: It has Ubuntu 16.04.2 and I use DPDK 17.05 SRIOV ports don't show up when I invoke testpmd. EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 8086:154c net_i40e_vf i40evf_init_vf(): init_adminq failed i40evf_dev_init(): Init vf failed EAL: Requested device 0000:03:00.0 cannot be used I see one difference here. For the same NIC beneath, the DPDK picks different driver on this VM. (net_i40e_vf as compared to rte_i40evf_pmd). As I understand the dpdk.h file has this switching based on RTE version. Question is why it fails on this VM that has different (later version) of dpdk ? Is there any settings I need to do on the guest OS (Ubuntu ) on VM#2? could it be the NIC firmware that might be incompatible with driver used by dpdk on VM#2? Any pointers to move on ? Thanks Raju