From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <YanF@Radware.com>
Received: from ILCAS2.corp.radware.com (mailout1.radware.com [192.115.180.130])
 by dpdk.org (Postfix) with ESMTP id 8CD0F7F18
 for <dev@dpdk.org>; Wed, 29 Oct 2014 18:39:28 +0100 (CET)
Received: from ILMB1.corp.radware.com ([fe80::78a5:d515:e805:d2a9]) by
 ILCAS2.corp.radware.com ([fe80::98f0:5e5c:9ac:6e36%10]) with mapi id
 14.03.0195.001; Wed, 29 Oct 2014 19:48:16 +0200
From: Yan Freedland <YanF@Radware.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: working with VMXNET3 driver in a  "NIC Connected to a vSwitch"
 setup on VMware
Thread-Index: Ac/znSF9ER2knUr2T0e0F7mK6Q5XzQAA1Bdg
Date: Wed, 29 Oct 2014 17:48:15 +0000
Message-ID: <CEFFBC011B3590479939EA0B9311D21526917247@ILMB1.corp.radware.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [176.200.120.119]
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] working with VMXNET3 driver in a "NIC Connected to a
 vSwitch" setup on VMware
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2014 17:39:28 -0000


Hi

I am interested in working with VMXNET3 driver in a NIC - vSwitch fashion o=
n VMware.

For that purpose I did the following:


1.       On my VMware VM I compiled the driver and loaded it as described i=
n http://dpdk.org/doc/vmxnet3-usermap

2.       Using vSphere client I created 2 network adapters of VMXNET3 type =
and assigned a relevant port-group to allow a client-server connectivity la=
ter on.

My question is how should I pick and bind ports to the driver. Should I use=
 dpdk_nic_bind.py script as I did with igb_uio ? if yes, how may I find the=
 port addresses ?

Besides should I do something special in environment initialization (e.g. p=
orts, memory, etc...) that I didn't do for virtio or ixgbe ?
For instance it looks logical to me to use vmxnet3-usermap in my commands (=
e.g. dpdk_nic_bind.py --bind=3D vmxnet3-usermap <port number>) instead of i=
gb_uio but I don't really know how.

Thank you
Yan