From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <aziz@saisei.com>
Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com
 [209.85.220.171]) by dpdk.org (Postfix) with ESMTP id 56B4B7F2D
 for <dev@dpdk.org>; Fri,  7 Nov 2014 01:37:32 +0100 (CET)
Received: by mail-vc0-f171.google.com with SMTP id lf12so1208243vcb.16
 for <dev@dpdk.org>; Thu, 06 Nov 2014 16:47:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=BY5I27NnxiqD/inWYGxAC9rDN1+5/rbb10F3cyYxQ10=;
 b=j//WGbnqw0jmrFwnCZnGdH6/hmWZt4IWRiiZYSiW2JRGRvUKdHF80vLQ//Mw2hHeeT
 LFb8Kufm5NSDdsnG3cZhLeTfwgDLj1NE9Fgisf1pTdkJMhS7X+ZXQqAW7TmiHc8vAeha
 6qf+DCtN9yDAfRrEsXeCbE0gTHINZy1LKe75tfQB6JmhZUr11OHxWvlZah/ZWfasM6vh
 a4ikCOWr+P7DR2IRWsxZjnLtxwyaFCnQ1TN4YDR156VXG1xLetPLY7HrWNb5uzow79iJ
 3eH6omVh8g81LaG0B/lKOxuSw92Yizt2PrNAt7MPL0SbShsTrfCre3KRvcthyXrmmBVB
 S/RQ==
X-Gm-Message-State: ALoCoQna62RRFVmDGzoifPj7U0QB4fNU/IEoJx9II0BjkBQANvkXQ5tkIq5XHNh5XjhF84vNh8Fu
MIME-Version: 1.0
X-Received: by 10.52.37.138 with SMTP id y10mr4352707vdj.11.1415321221223;
 Thu, 06 Nov 2014 16:47:01 -0800 (PST)
Received: by 10.31.41.83 with HTTP; Thu, 6 Nov 2014 16:47:01 -0800 (PST)
Date: Thu, 6 Nov 2014 16:47:01 -0800
Message-ID: <CAFGSfknLEzg65wK7ROy4mKtPKcfQrHr840cuvoh6wJoFYGJk6w@mail.gmail.com>
From: Aziz Hajee <aziz@saisei.com>
To: dev@dpdk.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-dev] vmware vmxnet3-usermap AND DPDK VMXNET3 PMD
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: Fri, 07 Nov 2014 00:37:33 -0000

I am using the dpdk1.6.0r1
I could not find a complete clarification, sorry if missed.
VMXNET3 PMD
============
I have enabled the VMXNET3 PMD  in the dpdk.
 # Compile burst-oriented VMXNET3 PMD driver
 #

CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=y
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
The Intel DPDK VMXNET3 PMD driver does not support mbuf chaining, and I
have to set NOMULTSEGS for the vmxnet3 interface init to succeed.
tx_conf.txq_flags =  ETH_TXQ_FLAGS_NOMULTSEGS
Is there a later version of DPDK that supports multiseg for the dpdk
VMXNET3 PMD.

vmware vmxnet3-usermap AND  DPDK VMXNET3 PMD
=========================================
Is the vmxnet3-usermap.ko module driver also needed ? (appears that I need,
otherwise the eal initialise fails.
sudo insmod ./vmxnet3-usermap.ko enable_shm=2,2 num_rqs=1,1 num_rxds=2048
num_txds=2048

I do not understand if VMXNET3 PMD is there, what is the purpose of
/vmxnet3-usermap.ko/vmxnet3-usermap.ko ?

>>From some responses i saw that the following ifdef RTE_EAL_UNBIND_PORTS is
also need to be removed in lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c ?
     {
         .name = "rte_vmxnet3_pmd",
         .id_table = pci_id_vmxnet3_map,
-#ifdef RTE_EAL_UNBIND_PORTS
+// #ifdef RTE_EAL_UNBIND_PORTS
         .drv_flags = RTE_PCI_DRV_NEED_IGB_UIO,
-#endif
+// #endif
     },
     .eth_dev_init = eth_vmxnet3_dev_init,
     .dev_private_size = sizeof(struct vmxnet3_adapter),

thanks,
-aziz