DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Patel, Rashmin N" <rashmin.n.patel@intel.com>
To: Puneet Singh <singh1989p@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Regarding usage of vmxnet3 PMD with DPDK2.0
Date: Thu, 25 Jun 2015 06:00:44 +0000	[thread overview]
Message-ID: <8af26f2a-6465-4206-bb8e-8e59dcd0bc41@email.android.com> (raw)
In-Reply-To: <CAEPmXpjZsNZy4Uyz6P+hozA0WkaKh9vtR9B4FoFpWyAXBhNcSQ@mail.gmail.com>

That's correct. If you're using dpdk packaged vmxnet3 pmd, you should be able 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 vSwitches with Uplink port, so you don't need to configure anything else, I believe.
Just make sure the packets coming in the Uplink port carries your vmxnet3 device'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 <singh1989p@gmail.com> 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’t 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

      reply	other threads:[~2015-06-25  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25  4:54 Puneet Singh
2015-06-25  6:00 ` Patel, Rashmin N [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8af26f2a-6465-4206-bb8e-8e59dcd0bc41@email.android.com \
    --to=rashmin.n.patel@intel.com \
    --cc=dev@dpdk.org \
    --cc=singh1989p@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).