Hi Berkay, I also had a lot of trouble getting DPDK to be recognized. It could be a lot of things, so I can only speculate what the problem is in your case. In my case, I had hyphens instead of underscores in my uhd.conf file. I think I also had some issues with specifying the correct location of the DPDK driver. Hopefully you've already read through the KB on how to set it up.
https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD There are also some driver dependencies and, depending on your Ethernet card, some flags may be needed when building DPDK. Maybe you could share some additional details about your setup, such as which card you're using, which driver/version, how you built DPDK, etc. Looking at my notes, I built DPDK using the following steps. I'm using a Mellanox CX516A. cd dpdk-stable-18.11.11/ meson build cd build ninja sudo ninja install sudo ldconfig My /root/.uhd/uhd.conf pretty much matches the one in the KB under UHD 4.0, although I commented some things out. [use_dpdk=1] dpdk_mtu=9000 dpdk_driver=/usr/local/lib/ dpdk_corelist=2,3,4 ;dpdk_num_mbufs=4095 ;dpdk_mbuf_cache_size=315 [dpdk_mac=XX:XX:XX:XX:XX:XX] dpdk_lcore = 3 dpdk_ipv4 = 192.168.10.1/24 ;[dpdk_mac=XX:XX:XX:XX:XX:XX] ;dpdk_lcore = 4 ;dpdk_ipv4 = 192.168.20.1/24 Wade On Wed, May 26, 2021 at 3:56 AM Berkay SAYGILI <zuhasd...@gmail.com> wrote: > Hello, > > I've been trying to use dpdk with UHD 4.0 on our newly purchased N320, but > it is shown as disabled component when i cmake uhd. First, i used "apt-get > install dpdk dpdk-dev", then realized it installed wrong version, > afterwords i downloaded dpdk 18.11. from the source and compiled. Another > mistake was not enabling shared library build, so i rebuilded it with share > libraries enabled (i can .so files now in the lib). But, still cmake shows > that dpdk is disabled. I added cmakecache.txt file to this mail, maybe it > can be useful. Btw, i completed all other steps like enabling hugepages, > adding drivers, etc. Do you have any solution to this problem? > > > Best regards > > Berkay S. > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com