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 hugepage size. Regards, Avinash On Thu, Sep 6, 2018 at 4:41 PM, Arijit Pramanik <[email protected]> wrote: > 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 16:30:54 turing-04 vnet[2339]: EAL: VFIO support initialized > Sep 06 16:30:54 turing-04 vpp[2339]: EAL: Requested device 0000:81:00.1 > cannot be used > Sep 06 16:30:54 turing-04 vnet[2339]: EAL: Requested device 0000:81:00.1 > cannot be used > Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_pool_create:550: > ioctl(VFIO_IOMMU_MAP_DMA) pool 'dpdk_mbuf_pool_socket0': Invalid argument > (errno 22) > Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_pool_create: failed to create > dpdk_mbuf_pool_socket1 > Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_buffer_pool_create:616: > WARNING: Failed to allocate mempool for CPU socket 1. Threads running on > socket 1 will use socket 0 mempool. > Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_ipsec_process:1018: not enough > DPDK crypto resources, default to OpenSSL > Sep 06 16:30:55 turing-04 vnet[2339]: dpdk_lib_init:230: DPDK drivers > found no ports... > > Thanks, > Arijit. > > > On Thu, Sep 6, 2018 at 9:44 AM Avinash Dhar Dubey < > [email protected]> wrote: > >> 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 is >> loaded before you start vpp, you can run "modprobe uio_pci_generic". It >> will load the driver if its already present as part of your kernel >> distribution. If not found you can get it by installing >> linux-image-extra-<kernel-version>-generic package. >> >> We want vpp with dpdk plugin. I've just installed vpp using apt-get >> following the steps on this link : https://wiki.fd.io/view/VPP/ >> Installing_VPP_binaries_from_packages. >> Does DPDK have to be spearely installed to be able to use the dpdk plugin? >> >> No, when you compile vpp it creates dpdk_plugin.so which gets loaded >> if you have specified the plugin_path in startup.conf >> >> Hope this helps. >> >> Avinash >> >> >> >> >> On Thu, Sep 6, 2018 at 1:05 AM, Arijit Pramanik <[email protected]> >> 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 the kernel >>> beforehand? >>> >>> We want vpp with dpdk plugin. I've just installed vpp using apt-get >>> following the steps on this link : https://wiki.fd.io/view/VPP/ >>> Installing_VPP_binaries_from_packages. >>> Does DPDK have to be spearely installed to be able to use the dpdk >>> plugin? >>> >>> Thanks a lot, >>> Arijit. >>> >>> >>> >>> On Wed, Sep 5, 2018 at 8:30 PM Marco Varlese <[email protected]> wrote: >>> >>>> 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 plugin enabled. Can you >>>> confirm? >>>> >>>> >>>> - Marco >>>> >>>> On Wed, 2018-09-05 at 23:18 +0530, Arijit Pramanik wrote: >>>> >>>> ng 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 >>>> >>>> -- >>>> >>>> Marco V >>>> >>>> SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton >>>> HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg >>>> >>> >>> >>> >>> On Wed, Sep 5, 2018 at 8:30 PM Marco Varlese <[email protected]> wrote: >>> >>>> 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 plugin enabled. Can you >>>> confirm? >>>> >>>> >>>> - Marco >>>> >>>> On Wed, 2018-09-05 at 23:18 +0530, Arijit Pramanik wrote: >>>> >>>> ng 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 >>>> >>>> -- >>>> >>>> Marco V >>>> >>>> SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton >>>> HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg >>>> >>> >>> -=-=-=-=-=-=-=-=-=-=-=- >>> Links: You receive all messages sent to this group. >>> >>> View/Reply Online (#10388): https://lists.fd.io/g/vpp-dev/message/10388 >>> Mute This Topic: https://lists.fd.io/mt/25209728/675719 >>> Group Owner: [email protected] >>> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [ >>> [email protected]] >>> -=-=-=-=-=-=-=-=-=-=-=- >>> >>> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10393): https://lists.fd.io/g/vpp-dev/message/10393 Mute This Topic: https://lists.fd.io/mt/25209728/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
