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 7BC30C538 for ; Thu, 25 Jun 2015 08:00:47 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 24 Jun 2015 23:00:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,674,1427785200"; d="scan'208";a="734275849" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga001.fm.intel.com with ESMTP; 24 Jun 2015 23:00:46 -0700 Received: from orsmsx112.amr.corp.intel.com (10.22.240.13) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 24 Jun 2015 23:00:46 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by ORSMSX112.amr.corp.intel.com (10.22.240.13) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 24 Jun 2015 23:00:45 -0700 Received: from fmsmsx105.amr.corp.intel.com ([169.254.4.50]) by FMSMSX113.amr.corp.intel.com ([169.254.13.28]) with mapi id 14.03.0224.002; Wed, 24 Jun 2015 23:00:45 -0700 From: "Patel, Rashmin N" To: Puneet Singh Thread-Topic: [dpdk-dev] Regarding usage of vmxnet3 PMD with DPDK2.0 Thread-Index: AQHQrwMPZssKOsqqzkK/r0KF0JOXEp28uoYY Date: Thu, 25 Jun 2015 06:00:44 +0000 Message-ID: <8af26f2a-6465-4206-bb8e-8e59dcd0bc41@email.android.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Regarding usage of vmxnet3 PMD with DPDK2.0 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, 25 Jun 2015 06:00:47 -0000 That's correct. If you're using dpdk packaged vmxnet3 pmd, you should be ab= le to bind it to igb_uio in Guest OS and start l2fwd/ l3fwd app in VM. On the ESXi part, your vmxnet3 device must be connected to one of the vSwit= ches with Uplink port, so you don't need to configure anything else, I beli= eve. Just make sure the packets coming in the Uplink port carries your vmxnet3 d= evice's mac-vlan and they'll hit your device and the VM, ultimately ending = up in your dpdk thread polling on vmxnet3 device in your app. Thanks, Rashmin On Jun 24, 2015 9:54 PM, Puneet Singh wrote: I am migrating from using DPDK1.6r2 and the external vmxnet3 user map driver to DPDK2.0. I believe with DPDK2.0, the vmxnet3 PMD is builtin and I don=92t need to use the external driver. I have been able to build the DPDK2.0 and I see that CONFIG_RTE_LIBRTE_VMXNET3_PMD is set to y in the config. Question is, what should be the steps that I follow on the ESXi node in my virtual machine to detect the NIC with the above driver (I do have vmxnet3 NIC there) Should I load the uio and take over the NIC the usual way with igb_uio and then run my application or are there any other steps to be followed. Regards -Puneet