Hi Berkay, I’m actually having this exact same issue. We have pretty much all the same hardware/software/Ubuntu etc and after using meson and ninja I was able to get to this point you are at here. Did you ever figure out how to resolve this? Much appreciated!
Casey PS I tried sending this reply via the archives webpage which didn’t seem to be working, so apologies if this is being sent 2 or 3 times From: Berkay SAYGILI <zuhasd...@gmail.com> Sent: Thursday, May 27, 2021 5:06 AM To: Wade Fife <wade.f...@ettus.com> Cc: usrp-users <usrp-users@lists.ettus.com> Subject: [USRP-users] Re: DPDK setup with UHD 4.0 Hello again, Using meson and ninja made dpdk recognized by uhd cmake. I initially used the instructions from "Blockedhttps://doc.dpdk.org/guides-18.11/linux_gsg/build_dpdk.htmlBlocked". However, when i tried to complete the uhd installation with make command, another problem was occurred (given below). Just to let you know, i couldn't make "CONFIG_RTE_BUILD_SHARED_LIB=y" with meson build (i dont know if it is necessary). [ 51%] Linking CXX shared library libuhd.so [ 51%] Built target uhd Scanning dependencies of target usrp_list_sensors [ 51%] Building CXX object examples/CMakeFiles/usrp_list_sensors.dir/usrp_list_sensors.cpp.o [ 51%] Linking CXX executable usrp_list_sensors /usr/bin/ld: ../lib/libuhd.so.4.0.0: undefined reference to `lcore_config' /usr/bin/ld: ../lib/libuhd.so.4.0.0: undefined reference to `rte_eal_get_configuration' collect2: error: ld returned 1 exit status make[2]: *** [examples/CMakeFiles/usrp_list_sensors.dir/build.make:95: examples/usrp_list_sensors] Error 1 make[1]: *** [CMakeFiles/Makefile2:1038: examples/CMakeFiles/usrp_list_sensors.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 I use Ubuntu 20.04.1, and have an X520-DA2 card. I am at the "Installing UHD" part in Blockedhttps://kb.ettus.com/Getting_Started_with_DPDK_and_UHDBlocked, so i dont have the uhd.conf file in root. In addition, i downloaded ixgbe driver at first, then switched it to vfio-pci <Blockedhttps://kb.ettus.com/Getting_Started_with_DPDK_and_UHDBlocked> Best Regards Berkay S. On Thu, 27 May 2021 at 00:05, Wade Fife <wade.f...@ettus.com<mailto:wade.f...@ettus.com>> wrote: 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. Blockedhttps://kb.ettus.com/Getting_Started_with_DPDK_and_UHDBlocked 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<Blockedhttp://192.168.10.1/24Blocked> ;[dpdk_mac=XX:XX:XX:XX:XX:XX] ;dpdk_lcore = 4 ;dpdk_ipv4 = 192.168.20.1/24<Blockedhttp://192.168.20.1/24Blocked> Wade On Wed, May 26, 2021 at 3:56 AM Berkay SAYGILI <zuhasd...@gmail.com<mailto: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<mailto:usrp-users@lists.ettus.com> To unsubscribe send an email to usrp-users-le...@lists.ettus.com<mailto: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