usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

USRP X410 with Mellanox Connect X5 and GNURadio. Cant get it working

MT
Mönch, Tobias
Thu, Mar 21, 2024 1:33 PM

Hello,

im working long time to get my USRP X410 working with my Server with Mellanox Connext X5.

What i have:

  •      Ettus USRP X410
    
  •      Performant Server with Mellanox Connect X5
    

My Software:

  •      Ubuntu 22.04
    
  •      Mellanox OFED Driver (self compiled)
    
  •      DPDK 21.11 (installed from repository)
    
  •      UHD 4.6 (self compiled)
    
  •      In future use with GNURadio
    

Grub is updated, Hugepages are working...

I can make a benchmark test with dpdk (on sudo) and its running:

[00:00:15.497500150] Testing transmit rate 491.520000 Msps on 2 channels
UUUUUUUUUUUUUUUUUUUUUUUUU[00:00:25.749039983] Benchmark complete.

Benchmark rate summary:
Num received samples:    0
Num dropped samples:      0
Num overruns detected:    0
Num transmitted samples:  9341592576
Num sequence errors (Tx): 0
Num sequence errors (Rx): 0
Num underruns detected:  25
Num late commands:        0
Num timeouts (Tx):        0
Num timeouts (Rx):        0

Done!

But if I want to use it with UHD i have to run dpdk without root.
So i tried to run dpdk rootless. With the command:

sudo setcap cap_net_raw,cap_net_admin,cap_sys_admin,cap_sys_rawio,cap_dac_override,cap_dac_read_search,cap_ipc_lock=eip ./benchmark_rate

i get dpdk running without root, but I have the error message:

[ERROR] [DPDK] Could not find route to destination address 192.168.10.2
[WARNING] [MPMD::XPORT::UDP] Error during MTU discovery on address 192.168.10.2: RuntimeError: DPDK: Could not find route to destination address 192.168.10.2
[ERROR] [DPDK] Could not find route to destination address 192.168.20.2
[WARNING] [MPMD::XPORT::UDP] Error during MTU discovery on address 192.168.20.2: RuntimeError: DPDK: Could not find route to destination address 192.168.20.2
[ERROR] [MPMD::MB_IFACE] No CHDR connection available!
Error: RuntimeError: No CHDR connection available!

I find many posts with this error, but no solutions. Can anybody help me to get it working?

My final goal is to work with the X410 with maximum performance and use GNURadio.

Many thanks for help!

Hello, im working long time to get my USRP X410 working with my Server with Mellanox Connext X5. What i have: - Ettus USRP X410 - Performant Server with Mellanox Connect X5 My Software: - Ubuntu 22.04 - Mellanox OFED Driver (self compiled) - DPDK 21.11 (installed from repository) - UHD 4.6 (self compiled) - In future use with GNURadio Grub is updated, Hugepages are working... I can make a benchmark test with dpdk (on sudo) and its running: [00:00:15.497500150] Testing transmit rate 491.520000 Msps on 2 channels UUUUUUUUUUUUUUUUUUUUUUUUU[00:00:25.749039983] Benchmark complete. Benchmark rate summary: Num received samples: 0 Num dropped samples: 0 Num overruns detected: 0 Num transmitted samples: 9341592576 Num sequence errors (Tx): 0 Num sequence errors (Rx): 0 Num underruns detected: 25 Num late commands: 0 Num timeouts (Tx): 0 Num timeouts (Rx): 0 Done! But if I want to use it with UHD i have to run dpdk without root. So i tried to run dpdk rootless. With the command: sudo setcap cap_net_raw,cap_net_admin,cap_sys_admin,cap_sys_rawio,cap_dac_override,cap_dac_read_search,cap_ipc_lock=eip ./benchmark_rate i get dpdk running without root, but I have the error message: [ERROR] [DPDK] Could not find route to destination address 192.168.10.2 [WARNING] [MPMD::XPORT::UDP] Error during MTU discovery on address 192.168.10.2: RuntimeError: DPDK: Could not find route to destination address 192.168.10.2 [ERROR] [DPDK] Could not find route to destination address 192.168.20.2 [WARNING] [MPMD::XPORT::UDP] Error during MTU discovery on address 192.168.20.2: RuntimeError: DPDK: Could not find route to destination address 192.168.20.2 [ERROR] [MPMD::MB_IFACE] No CHDR connection available! Error: RuntimeError: No CHDR connection available! I find many posts with this error, but no solutions. Can anybody help me to get it working? My final goal is to work with the X410 with maximum performance and use GNURadio. Many thanks for help!