From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by dpdk.org (Postfix) with ESMTP id A96FD3256 for ; Fri, 7 Sep 2018 15:08:26 +0200 (CEST) Received: by mail-oi0-f66.google.com with SMTP id v198-v6so9397942oif.9 for ; Fri, 07 Sep 2018 06:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q0WwtTnmPjui344CaFs7bGDZM/CUvGnDBccO++4hT5k=; b=iaHw/kelsci/LwXbYlSWCY2f4thSHpQ0FkcWA9IFdluCyNXcuy6dzyu0P8b3jrSN5i uxBOEzwErLp/1j4y13FLPnBKb+QS0K/FhKQRtnHzGSBIW6d1MSDHG9g7dybErdSWJIyp ZusTFK1gCTO9Im7LpHTbnPedQYG4uFbo5Cqqt3G9qObAMfKgmDcbTI+dcttU87gmGcoG RMdTNDevCDielBVLfzozfDVZmzTjck69MiIridPzHykpE0Wz2jUTJ+f6OsgqY9GhMRHP VWw6LS7Nv/NlGBn6nQhF71Bpl27okDlqkHF5ZBnoAEUH5ZDFZD9ynemy7D2AspA3uVn7 ftQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q0WwtTnmPjui344CaFs7bGDZM/CUvGnDBccO++4hT5k=; b=ApOeLSlvplsFa/HwBmGbQNGSk7iAM1+OwImClU7Qlppd1ZJPsNY0ZU8d3wbUdsuaCU uf7M5JiG6rdelbx8DRMtaXhifKvQZAzMO4H0YJNaGk4KN5Ek836+jRobs5UkaExjqJT9 FfNQIe2jne3o52lw3BPjRos1k1JbjzqicPrA7eaPmNBj11+2EW3hrcTiFp9UpUmKKHKh P+QGAAPmODYiQoMRiuQb1LYf7ZbDPd9XKn4JoLXvU8NU4O3XU28yHhCRdTixlNzzdDhS F8cpB6qC8c2HTHol/f2zmW4Sr+GfgY2KhKJtvuIwAVsZ++1od6q/0wwrhy6naRV1f2Tl ENEw== X-Gm-Message-State: APzg51AGeKwa/sPj0SnOPXjnl0K6eVVWJk7yCtunotqaY9zVGJ6A39jW hAcDRQXuRm8+i671PWUXeUj7H+AblrD7Qs+NRN0= X-Google-Smtp-Source: ANB0VdYYZdVScjuUpSZr0IFlCG7zlGMNvteKQZ/767dUBRsTZzu4wmA44NIrn19o8TmSwYjKE7a5IuG/IfYYCcaccik= X-Received: by 2002:aca:bd8b:: with SMTP id n133-v6mr8450339oif.108.1536325705290; Fri, 07 Sep 2018 06:08:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rami Rosen Date: Fri, 7 Sep 2018 16:08:13 +0300 Message-ID: To: jfargen@redhat.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] TestPMD testing with VMX3NET Devices... X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2018 13:08:27 -0000 Hi Jamie, Can you run this with --log-level=8 -w 0000:0b:00.0 -w 0000:13:00.0 and post the results here? (I mean like the following: testpmd -l 1,2,3 -n 1 --log-level=8 -w 0000:0b:00.0 -w 0000:13:00.0 -- --disable-hw-vlan --forward-mode=mac --eth-peer=0,00:00:00:00:33:33 --eth-peer=1,00:00:00:00:44:44 -i --nb-cores=2 --rxq=8 --txq=8 --rxd=8192 --txd=8192) and also to be on the safe side, make sure that in build/.config you have CONFIG_RTE_LIBRTE_VMXNET3_PMD=y (It should be so by default for dpdk-stable-17.11.4) Regards, Rami Rosen On Thu, 6 Sep 2018 at 19:39, Jamie Fargen wrote: > > Hello- > > Would like to do some performance analysis using testpmd on a RHEL7 VMWare > guest using a VMX3NET network devices. Similar tests have been performed > using RHEL7 KVM guests using VirtIO network devices, but the same process > does not work with VMX3NET network interfaces. > > The dpdk-stable-17.11 has been compiled and it looks like the devices are > properly bound to the uio driver, but when testpmd is started it is unable > to locate the devices. > > This is the basic process of how the uio module is loaded, the devices our > bound to the driver, and testpmd is started. > > [root@redacted ~]# cat startTestPmd17.sh > #!/bin/bash -x > modprobe uio > insmod /root/dpdk-stable-17.11.4/build/kmod/igb_uio.ko > /root/dpdk-stable-17.11.4/usertools/dpdk-devbind.py -b igb_uio 0b:00.0 > /root/dpdk-stable-17.11.4/usertools/dpdk-devbind.py -b igb_uio 13:00.0 > mount -t hugetlbfs nodev /mnt/huge > echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages- > 2048kB/nr_hugepages > testpmd -l 1,2,3 -n 1 -- --disable-hw-vlan --forward-mode=mac > --eth-peer=0,00:00:00:00:33:33 --eth-peer=1,00:00:00:00:44:44 -i > --nb-cores=2 --rxq=8 --txq=8 --rxd=8192 --txd=8192 > > EAL: Detected 4 lcore(s) > EAL: No free hugepages reported in hugepages-1048576kB > EAL: Probing VFIO support... > EAL: No probed ethernet devices > Set mac packet forwarding mode > Interactive-mode selected > USER1: create a new mbuf pool : n=163456, size=2176, > socket=0 > Done > testpmd> > > > There are network devices bound to DPDK-compatible uio driver. > [root@redacted ~]# dpdk-stable-17.11.4/usertools/dpdk-devbind.py -s > > Network devices using DPDK-compatible driver > ============================================ > 0000:0b:00.0 'VMXNET3 Ethernet Controller 07b0' drv=igb_uio unused=vmxnet3 > 0000:13:00.0 'VMXNET3 Ethernet Controller 07b0' drv=igb_uio unused=vmxnet3 > > Network devices using kernel driver > =================================== > 0000:1b:00.0 'VMXNET3 Ethernet Controller 07b0' if=ens256 drv=vmxnet3 > unused=igb_uio *Active* > > > If anyone has any spare cycles to help me solve this issue it would be > greatly appreciated. > > > -- > Jamie Fargen > Senior Consultant > jfargen@redhat.com > 813-817-4430