From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 51C805A6C for ; Thu, 19 Nov 2015 19:19:49 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 19 Nov 2015 10:19:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,318,1444719600"; d="scan'208";a="855045490" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 19 Nov 2015 10:19:48 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 19 Nov 2015 10:19:47 -0800 Received: from fmsmsx105.amr.corp.intel.com ([169.254.4.23]) by FMSMSX112.amr.corp.intel.com ([169.254.5.88]) with mapi id 14.03.0248.002; Thu, 19 Nov 2015 10:19:46 -0800 From: "Patel, Rashmin N" To: Karmarkar Suyash , "dev@dpdk.org" Thread-Topic: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5 Thread-Index: AdEieuvDguC6M3DMR6qHixKwN05lKAAeYc3w Date: Thu, 19 Nov 2015 18:19:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 18:19:49 -0000 What is the error code it failed with? There is no dependency between ESXi and DPDK versions as such. But dependin= g your VM settings, it may pop up some issues related to memory assigned to= VM. When you use NIC in Hypervisor and feed packets to VM via Vmxnet3, the gues= t OS can use Vmxnet3-pmd and that's the sole requirement. Guest OS or DPDK = API in VM are unaware and independent of the physical NIC beneath. When you use NIC in VM via Passthrough (or device direct assignment,) the g= uest OS can use ixgbe-pmd/igb-pmd/xyz-pmd to control them for Rx/Tx operati= ons. ESXi can't look into such device operations like it can't see packets = coming in or going out. When you enable SRIOV on a NIC, you get a PF and multiple VFs and if you us= e a NIC-Virtual Function via passthrough, the guest OS can use respective p= md (ixgbevf/igbvf/xyzvf) in DPDK API to control it for Rx/Tx ops. ESXi cont= rol the Physical Function through a respective driver (ixgbe/igb/xyz provid= ed with ESXi) DPDK API doesn't have support to run in ESXi to control that = PF. Thanks, Rashmin -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Karmarkar Suyash Sent: Wednesday, November 18, 2015 8:34 PM To: dev@dpdk.org Subject: [dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with= VMWare ESX 5.5 Hello All, I am trying some experiments with DPDK 1.6 and Cisco NIC - (0000:06:00.0 Ne= twork controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on t= he guest I am using VMXNET3 as interface/pmd and one weird behavior that is= see is with VMWare ESX 5.5 DPDK is not able to initialize the NIC and I ge= t the error rte_eth_dev_start failed with error code as, but same NIC and w= ith DPDK 1.6 version works fine with VMWare ESX 6.0 and with VMXNET3 PMD. Two questions: 1. Is there any dependency with VMWare version ESX (5.0/5.1/6.0) with D= PDK Release version (1.6/1.7/2.x)? If yes can you please let me know? 2. If we are not using the NIC in pass-through mode and we are using it= via Hypervisor - vmxnet3 or virtio pmd is there still a dependency for the= list of NIC's supported by DPDK? Regards Suyash