From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by dpdk.org (Postfix) with ESMTP id AF245312 for ; Thu, 12 Jun 2014 22:24:48 +0200 (CEST) Received: by mail-qc0-f177.google.com with SMTP id i17so2779239qcy.22 for ; Thu, 12 Jun 2014 13:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gv/aJZDxHvJCxD2UwXaZyNWkMpflcq0fLoDp9TTvKUo=; b=JBEivPfg3YH9RLhsducM6SJd3X+Q+jnxlbYObYFZq4NaHEza78WIQ1S58VLa4lEYTo WDBx6A7afdvHBoUuz1c0vxYxHgSvfABlXgdIvsb1gLcMVmZ+SpvNAiQIbyPa4bj1kugT gP9KgRHs1RphRu2WtwKVQ3jC/cKDq65g3kQpKNIP9mWVmET0StXIazWHZK17cQpc1tbV BCAdDKDVOXEiIzskaWyitXv+LRQ1wVM82p1nejYjhEsvrLHbuGXBkGXgUqacGMoBi2na 7RjDHWIWLNSPZUFQi/gKJ6/mAxomVOZhqE2EoK1mcOsVJxFNx6l91CL6jDuzUx7A8OA6 HvLg== MIME-Version: 1.0 X-Received: by 10.229.234.67 with SMTP id kb3mr64247281qcb.6.1402604703695; Thu, 12 Jun 2014 13:25:03 -0700 (PDT) Received: by 10.229.247.4 with HTTP; Thu, 12 Jun 2014 13:25:03 -0700 (PDT) Date: Thu, 12 Jun 2014 16:25:03 -0400 Message-ID: From: Manoj Kumar Shetty To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] vmxnet3 : testpmd failing with "eth_vmxnet3_dev_init(): Device is not configured for our purpose" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 20:24:49 -0000 Hi, SOS. I'am trying to use DPDK in FC20 VM, with 2 VMXNET3 interface. I followed the steps listed in "http://dpdk.org/doc/vmxnet3-usermap". for enabling the VMXNET3 usermode driver However, the "testpmd" fails/terminates with the below error "EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 15ad:7b0 rte_vmxnet3_pmd PMD: eth_vmxnet3_dev_init(): Device is not configured for our purpose EAL: PCI device 0000:0b:00.0 on NUMA socket -1 EAL: probe driver: 15ad:7b0 rte_vmxnet3_pmd PMD: eth_vmxnet3_dev_init(): Device is not configured for our purpose EAL: Error - exiting with code: 1 Cause: No probed ethernet devices - check that CONFIG_RTE_LIBRTE_IGB_PMD=y and that CONFIG_RTE_LIBRTE_EM_PMD=y and that CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your configuration file " System details : OS : FC 20 Kernel : 3.2.60 DPDK : dpdk-1.6.0r2 vmxnet3 : vmxnet3-usermap-1.2 Steps done : 1. export RTE_SDK=/home/eilp/DPDK/Linux3_2/dpdk-1.6.0r2 2. export RTE_TARGET=x86_64-default-linuxapp-gcc 3. modprobe uio 4. insmod vmxnet3-usermap.ko enable_shm=2,2 num_rqs=1,1 num_rxds=512 num_txds=512 5. testpmd -c 0x3e -n 1 -d librte_pmd_vmxnet3.so -- -i --rxq=1 --rxd=512 --txd=512 Full error Log: [root@localhost dpdk-1.6.0r2]# ./x86_64-default-linuxapp-gcc/app/testpmd -c 0x3e -n 1 -d librte_pmd_vmxnet3.so -- -i --rxq=1 --rxd=512 --txd=512 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Detected lcore 4 as core 4 on socket 0 EAL: Detected lcore 5 as core 5 on socket 0 EAL: Skip lcore 6 (not detected) EAL: Skip lcore 7 (not detected) EAL: Skip lcore 8 (not detected) EAL: Skip lcore 9 (not detected) EAL: Skip lcore 10 (not detected) EAL: Skip lcore 11 (not detected) EAL: Skip lcore 12 (not detected) EAL: Skip lcore 13 (not detected) EAL: Skip lcore 14 (not detected) EAL: Skip lcore 15 (not detected) EAL: Skip lcore 16 (not detected) EAL: Skip lcore 17 (not detected) EAL: Skip lcore 18 (not detected) EAL: Skip lcore 19 (not detected) EAL: Skip lcore 20 (not detected) EAL: Skip lcore 21 (not detected) EAL: Skip lcore 22 (not detected) EAL: Skip lcore 23 (not detected) EAL: Skip lcore 24 (not detected) EAL: Skip lcore 25 (not detected) EAL: Skip lcore 26 (not detected) EAL: Skip lcore 27 (not detected) EAL: Skip lcore 28 (not detected) EAL: Skip lcore 29 (not detected) EAL: Skip lcore 30 (not detected) EAL: Skip lcore 31 (not detected) EAL: Skip lcore 32 (not detected) EAL: Skip lcore 33 (not detected) EAL: Skip lcore 34 (not detected) EAL: Skip lcore 35 (not detected) EAL: Skip lcore 36 (not detected) EAL: Skip lcore 37 (not detected) EAL: Skip lcore 38 (not detected) EAL: Skip lcore 39 (not detected) EAL: Skip lcore 40 (not detected) EAL: Skip lcore 41 (not detected) EAL: Skip lcore 42 (not detected) EAL: Skip lcore 43 (not detected) EAL: Skip lcore 44 (not detected) EAL: Skip lcore 45 (not detected) EAL: Skip lcore 46 (not detected) EAL: Skip lcore 47 (not detected) EAL: Skip lcore 48 (not detected) EAL: Skip lcore 49 (not detected) EAL: Skip lcore 50 (not detected) EAL: Skip lcore 51 (not detected) EAL: Skip lcore 52 (not detected) EAL: Skip lcore 53 (not detected) EAL: Skip lcore 54 (not detected) EAL: Skip lcore 55 (not detected) EAL: Skip lcore 56 (not detected) EAL: Skip lcore 57 (not detected) EAL: Skip lcore 58 (not detected) EAL: Skip lcore 59 (not detected) EAL: Skip lcore 60 (not detected) EAL: Skip lcore 61 (not detected) EAL: Skip lcore 62 (not detected) EAL: Skip lcore 63 (not detected) EAL: Setting up memory... EAL: Ask a virtual area of 0x800000 bytes EAL: Virtual area found at 0x7f9890000000 (size = 0x800000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f988fc00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f988f800000 (size = 0x200000) EAL: Ask a virtual area of 0x7f400000 bytes EAL: Virtual area found at 0x7f9810200000 (size = 0x7f400000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: TSC frequency is ~2699988 KHz EAL: open shared lib librte_pmd_vmxnet3.so librte_pmd_vmxnet3 version 1.2 Copyright 2012-2014 6WIND S.A. provided without warranty. EAL: Master core 1 is ready (tid=90d0a880) EAL: Core 5 is ready (tid=ddef700) EAL: Core 4 is ready (tid=e5f0700) EAL: Core 3 is ready (tid=edf1700) EAL: Core 2 is ready (tid=f5f2700) EAL: PCI device 0000:02:00.0 on NUMA socket -1 EAL: probe driver: 8086:100f rte_em_pmd EAL: 0000:02:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:02:02.0 on NUMA socket -1 EAL: probe driver: 8086:100f rte_em_pmd EAL: 0000:02:02.0 not managed by UIO driver, skipping EAL: PCI device 0000:02:03.0 on NUMA socket -1 EAL: probe driver: 8086:100f rte_em_pmd EAL: 0000:02:03.0 not managed by UIO driver, skipping EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 15ad:7b0 rte_vmxnet3_pmd PMD: eth_vmxnet3_dev_init(): Device is not configured for our purpose EAL: PCI device 0000:0b:00.0 on NUMA socket -1 EAL: probe driver: 15ad:7b0 rte_vmxnet3_pmd PMD: eth_vmxnet3_dev_init(): Device is not configured for our purpose EAL: Error - exiting with code: 1 Cause: No probed ethernet devices - check that CONFIG_RTE_LIBRTE_IGB_PMD=y and that CONFIG_RTE_LIBRTE_EM_PMD=y and that CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your configuration file Thank you, Manoj