[dpdk-users] Unable to run l2fwd code
Sagar Singha
singha.sagar09 at gmail.com
Fri Sep 1 13:16:37 CEST 2017
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
More information about the users
mailing list