Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread Arijit Pramanik
I have added the plugin path as /usr/lib/vpp/vpp_plugins and enabled only dpdk_plugin.so But I'm getting the error currently as Sep 06 16:30:54 turing-04 vpp[2339]: EAL: No free hugepages reported in hugepages-1048576kB Sep 06 16:30:54 turing-04 vpp[2339]: EAL: VFIO support initialized Sep 06

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread ppnaik
Hi Avinash, These are the following outputs: cat /proc/meminfo | grep -i huge AnonHugePages: 0 kB ShmemHugePages:0 kB HugePages_Total:4096 HugePages_Free: 524 HugePages_Rsvd:0 HugePages_Surp:0 Hugepagesize: 2048 kB free -h total

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread ppnaik
Hi Marco, The NIC is binded to DPDK driver: devbing.py output: Network devices using DPDK-compatible driver :01:00.1 'I350 Gigabit Network Connection 1521' drv=uio_pci_generic unused=vfio-pci :81:00.0 'Ethernet Controller 10-Gigabit

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread Marco Varlese
Priyanka, Please, make sure you have "intel_iommu=on" and "iommu=pt" in your boot grub configuration. Also, if you're using (as I presume but you didn't confirmed) a NUMA machine, remove any configuration about hugepages from the boot grub configuration and follow the instructions I gave you

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread Marco Varlese
On Thu, 2018-09-06 at 01:05 +0530, Arijit Pramanik wrote: > > Hi Marco, > Thanks a lot for your prompt reply and assistance. > > We are using Intel X540 NIC. > > I'll try with one of them. Which one do you think is best suited for my NIC, > How do I ensure that the driver module is loaded in

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-06 Thread Marco Varlese
On Thu, 2018-09-06 at 11:23 +0530, Avinash Dhar Dubey wrote: > Arijit, > Share the output of "cat /proc/meminfo | grep -i huge" and "free -h". > You are using 1GB hugepages and you have not configured them. > Better use 2MB hugepages if you are running vpp just for learning. > > Also share the

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-05 Thread Avinash
Arijit, Share the output of "cat /proc/meminfo | grep -i huge" and "free -h". You are using 1GB hugepages and you have not configured them. Better use 2MB hugepages if you are running vpp just for learning. Also share the contents of "/etc/default/grub". Looks like you have set 1GB as default

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-05 Thread Avinash
Arijit, We are using Intel X540 NIC. >> Intel X540 NIC is supported by DPDK. I'll try with one of them. Which one do you think is best suited for my NIC, How do I ensure that the driver module is loaded in the kernel beforehand? >> You can use uio_pci_generic driver. To ensure that the driver

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-05 Thread Arijit Pramanik
Hi Marco, Thanks a lot for your prompt reply and assistance. We are using Intel X540 NIC. I'll try with one of them. Which one do you think is best suited for my NIC, How do I ensure that the driver module is loaded in the kernel beforehand? We want vpp with dpdk plugin. I've just installed

Re: [vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-05 Thread Marco Varlese
Arijit, Few questions:1) What NIC is your 10G NIC?2) Your configuration is wrong:ixgbe is not a uio-driver... you should choose between vfio-pci, uio-pci-generic or igb_uio (and make sure to have that driver module loaded in the kernel beforehand).3) I assume you're trying to use VPP with DPDK

[vpp-dev] Issue in adding 10 G NIC to VPP

2018-09-05 Thread Arijit Pramanik
Hi, We are installing VPP with DPDK on our intel Xeon 24 core server. We have installed VPP and our 1G card was visible when $ sudo vppctl show interface was done. But when we tried adding 10G card it shows interface cannot be utilized in $ sudo service vpp status The configuration in