From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by dpdk.org (Postfix) with ESMTP id CB74E2C50 for ; Fri, 21 Jul 2017 08:58:53 +0200 (CEST) Received: by mail-oi0-f53.google.com with SMTP id p188so45169463oia.0 for ; Thu, 20 Jul 2017 23:58:53 -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=jM62iIl9+brhRKaGbYzjP+1CAw6jrTi1QKEjEJztmBg=; b=T0Se+uH+rZDgNOSYGdGp0DLGGZT8ryOX8yfnzPXJidU5u+L83QOb3nrhsiomzDplKs 7N99r+98j131QEnyDrq7NP/6aJsTAG/s1UP29nuxpTJQ2tPVhZmQHekAQ+i1tJNmdBpm 2eWyz509q5ygKYlCuJDTjKFqBW9KONSnpFCFFDiWnQE2lVltJQBm5O28/i7sB8jRM2By CgdpiBbScZVqYSfRUJnqkoiqSQlaXfBsv9RnljRXy1Klmj7wPT93gsBUdGNBVO2WhBnH ANZKu/ADPf6yg3atiFd4p9dg61OJ/R1XjeIN6HEreRcxtPaqjQPg7+MjKr7h1kPLofev MSzg== 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=jM62iIl9+brhRKaGbYzjP+1CAw6jrTi1QKEjEJztmBg=; b=iceEgmQDbswZxWEBqa7rT/DSWvXwh1X3Rz/KyejyV0T+R74rcq4jDHHydgIn8vQ2BO oQZ1R0v6zQ5M1B2JD8En571BQWxkuQ6gRnyGro8kh6RMG8ueQpCsix7fUJNYu7FgUP42 cWonqcJIwPae9MQGZxq4PlliSAVwxcjpJRnjRfXoqHH3+/cwtURx+1SzluzhxPbspr6d R4LaruRzinK++CIhr1to18/d/nDHlX0viBP9AIDk4WF5Rqz1oSBptqk7EYLF2ASzqAmW EdbwO8JXHHQKNFmY0H8T6VFoEgKj+1b6BiGy36Vp/ujlJjvhWlLXnMB5y3Hmd9fge2YS 8FQw== X-Gm-Message-State: AIVw111sHNWh9EI0DTsnlCvJxxiHDNJDFJHaYvRRY86+qSS18tMgNIbk Nkl3cXmHvA5fsjjCXqtnGs8x3Y7ZpPest88= X-Received: by 10.202.75.199 with SMTP id y190mr992809oia.199.1500620332951; Thu, 20 Jul 2017 23:58:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.77.67 with HTTP; Thu, 20 Jul 2017 23:58:52 -0700 (PDT) From: Raju-dev grishma Date: Fri, 21 Jul 2017 12:28:52 +0530 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] DPDK versions and SRIOV on XL710 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2017 06:58:54 -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