From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by dpdk.org (Postfix) with ESMTP id 6DEEB326C for ; Thu, 6 Sep 2018 18:39:06 +0200 (CEST) Received: by mail-qt0-f176.google.com with SMTP id z8-v6so12986684qto.9 for ; Thu, 06 Sep 2018 09:39:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zHOzLUHxh/XvbmKASe8rlijA5NY8rNucuwjQz4kp5io=; b=DGS4mvJyomAxmYJEQ3TFRbNe77Lnl5pwB683q6pCT4Jk6efwmSxfvGRyNTiDJ3rXsi Iq/5JpdW/J5+IIL/wDT7pXV0rMuQsBVuPb7yMZEjg0OM0J+XXHtdK+KEs/7OfYvzDG2v 6qwlLjFODeuLjNPeEMrV8r7s/aOWVgrAuBZbQ6Mc4u07Vd04Hff9FlcY3NG+1A/rhm9c SAMgTvacI9YD6zoIEn1yP0E3bcDnZ2XEm+M4u/TFSizH8erBMSrIZuBcwOLPcUJaxLvZ 6QN2q52iZ9cjWplej63HyHVOofWG+nExBI3FZX3WjPbxQGhnt7r8ThIyOp3yPaSO74za LWlw== X-Gm-Message-State: APzg51CyKZFDz0/hcUk6Bv4QWvQyHg0zLmtKFKNkZI2kHS3/DJUEVZpT CAWu+Gw6YynLFsm636afoA3xVaH/dmZpMH+t9PV/ShJQAfg= X-Google-Smtp-Source: ANB0VdaoIpA3lIyhN5XEzDO78V9BFTDDH0SJnn4q8ZVX57XsIfuyBE7zNC6NfK4/fUNQEXsgAXVHAypfXPf65PmsWX4= X-Received: by 2002:ac8:5216:: with SMTP id r22-v6mr2846019qtn.78.1536251945477; Thu, 06 Sep 2018 09:39:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aed:2429:0:0:0:0:0 with HTTP; Thu, 6 Sep 2018 09:39:05 -0700 (PDT) From: Jamie Fargen Date: Thu, 6 Sep 2018 12:39:05 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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: Thu, 06 Sep 2018 16:39:06 -0000 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