Dear USRP Users Mailing List Members,

I am following the guide called "Getting Started with DPDK and UHD - Ettus 
Knowledge 
Base<https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD#Enable_hugepages>" 
in order to run applications on USRP X440 with DPDK. As it is recommended, I 
installed DPDK via the system-provided installer: sudo apt install dpdk 
dpdk-dev . After the verification with dpdk-proc-info -v, the RTE Version is 
shown as 'DPDK 21.11.6'

Then, I cloned the UHD v4.6.0.0 to my home directory in order to build UHD from 
source. However, when I run the cmake ../ command the DPDK was listed under the 
"UHD disabled components" and there were no errors. Nevertheless, there were 
some messages related with DPDK:

CMake Warning (dev) at 
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:477 (message):
'find_package()' specify a version range but the module DPDK does not
support this capability. Only the lower endpoint of the range will be
used.
     Call Stack (most recent call first):
           cmake/Modules/FindDPDK.cmake:86 (find_package_hangle_standard_args)
           lib/CMakeLists.txt:63 (find_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find DPDK: Found unsuitable version ".", but required is at least 
"18.11" (found /usr/include/dpdk;/usr/include/x86_64-linux-gnu/dpdk)

I checked uhd/host/lib/FindDPDK.cmake and edited the line 63 from 
find_package(DPDK 18.11...21.11) to find_package(DPDK 21.11.6). Then the 
warning messages disappeared in the output of cmake ../ and only the message 
below remains:

-- Could NOT find DPDK: Found unsuitable version ".", but required is at least 
"21.11.6" (found /usr/include/dpdk;/usr/include/x86_64-linux-gnu/dpdk)

I also tried to edit usr/include/dpdk/rte_version.h and 
/usr/include/x86_64-linux-gnu/dpdk/rte_config.h in order to get around of the 
version "." message. However, I failed.

What should I do to see the DPDK under "UHD enabled components" after writing 
the build files with cmake ../   ?

Best Regards,
Altug KAYA

P.S. Please find the specifications of my workstation down below:

  *   OS: Ubuntu 22.04.4 LTS (with Linux 5.15.0-107 kernel)
  *   MBO: ASUS Pro WS WRX90E-SAGE SE
  *   CPU: AMD Ryzen Threadripper PRO 7975WX
  *   RAM: 8x32GB RDIMM Samsung DDR5-4800
  *   SSD:2TB Samsung 990 Pro PCIe Gen4
  *   Network Card: Mellanox MCX516A-CDAT ConnectX-5 Ex (PCIe 4.0 x16)


_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to