From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by dpdk.org (Postfix) with ESMTP id D64FE108F for ; Fri, 1 Sep 2017 16:43:31 +0200 (CEST) Received: by mail-oi0-f42.google.com with SMTP id n18so3569381oig.2 for ; Fri, 01 Sep 2017 07:43:31 -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:in-reply-to:references:from:date :message-id:subject:to:cc; bh=X2QWMhmtbmLkUqzKKAU6yMc2gdqAtqh4/lSUOtSeUMc=; b=DddOmjInxSlByC8XsOPE5M1P1kTpaDOhcFVFCzuyA1kU72IKl/k1nUNDnzHZSehpjl Iyz3iD6iS6WLfhpc72KFuemcG4fsFnlPZUbUcHcv4n9d8UTOVxVJ4IsubVpTHxT3dFdD cq1G0X5Smwo4/rxgyfQgpSvuLoKbEH2lyzTrFCztI/Xd+aSP3vxO1dxLm1jbTaVE9tK3 2atHmI/67XLH58k2z+h55u2KQHcbamzQDMNMugsgLTIFBKxrZF5XcMa5TYzK8O9jzpeZ PiteFiWZZhhI6W6HjFgladQw2jXKNB0YH4WB6tkK5fa/puhJ0zAG7ZW6+F2q/0C0sfdF kcVA== X-Gm-Message-State: AHPjjUhpqqAEoMMTJKrCZwlK82QtcQ2cCsahjIsgKdP48IZQh5XjjBPz nBTvJ1L20UZTIu440HtVaxl0j5ItDTzv X-Google-Smtp-Source: ADKCNb5+XGKxz47VidtNyPEhnHeSKcNnwpPJAq9aK0OjVJZ7RC3fmDXhzFCp7nPjlo0+8b5m7hfVa5wmP2PmeOukD34= X-Received: by 10.202.199.86 with SMTP id x83mr1841180oif.72.1504277010920; Fri, 01 Sep 2017 07:43:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.150.195 with HTTP; Fri, 1 Sep 2017 07:43:10 -0700 (PDT) In-Reply-To: References: From: Chris Paquin Date: Fri, 1 Sep 2017 10:43:10 -0400 Message-ID: To: Sagar Singha Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Unable to run l2fwd code 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, 01 Sep 2017 14:43:32 -0000 Can you share the output of "../usertools/dpdk_devbind.py -s"? CHRISTOPHER PAQUIN SENIOR CLOUD CONSULTANT, RHCE, RHCSA-OSP Red Hat M: 770-906-7646 On Fri, Sep 1, 2017 at 7:16 AM, Sagar Singha wrote: > Hi, > > I am using VMXNET3 type VM .OS distro=UBUNTU14.04. > My VM is having only one core CPU and 1 GB RAM > > I have followed the below process to configure dpdk after downloading the > source code: > > 1.make config T=x86_64-native-linuxapp-gcc > 2.make > 3.sudo modprobe uio > sudo insmod build/kmod/igb_uio.ko > modprobe vfio > modprobe uio_pci_generic > modprobe vfio-pci > 4.echo 1024 > > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages > 5.sudo mkdir /mnt/huge > sudo mount -t hugetlbfs nodev /mnt/huge > 6.echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode > 7../usertools/dpdk_devbind.py --bind=vfio-pci --force ens160 > > > after that I am running the below command for running the l2fwd > > l2fwd c1 n4 --no-huge -- -p1 > > Then the error is like below: > > EAL: Detected 1 lcore(s) > EAL: Probing VFIO support... > EAL: VFIO support initialized > EAL: Started without hugepages support, physical addresses not available > EAL: PCI device 0000:03:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 15ad:7b0 net_vmxnet3 > EAL: PCI device 0000:0b:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 15ad:7b0 net_vmxnet3 > EAL: using IOMMU type 8 (No-IOMMU) > EAL: Ignore mapping IO port bar(3) addr: 5001 > EAL: PCI device 0000:13:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 15ad:7b0 net_vmxnet3 > MAC updating enabled > Notice: odd number of ports in portmask. > Lcore 0: RX port 0 > Initializing port 0... In rte_eth_dev_start > From return diag > EAL: Error - exiting with code: 1 > Cause: rte_eth_dev_start:err=-22, port=0 > > Can any one please help here!! > Thanks i advance !!! > > > -- > Thanks & Regards, > Sagar Singha > Contact:7416733224 > 9475209510 >