My end goal is to use Gnuradio with an N320 to support 250 MS/s streaming.  I 
am posting to the USRP users list first, because I think that's the current 
area of the problem.  I suspect I have a permissions or uhd.conf issue, but the 
documentation on how to set this up correctly is lacking.

I can stream to the N320 in the "normal" way (without DPDK) via gnuradio at 
rates of 125 MS/s in each direction, so I know that all of the hardware and 
regular uhd and/or gnuradio setup is working.

I have gone through and tried to set up DPDK to work with the N320 and the 
Ettus connectivity kit (2X SFP+) following this: 
https://files.ettus.com/manual/page_dpdk.html
I can successfully bind the spf+ ports to the vfio-pci using the 
dpdk-devbind.py script.  If I check with dpdk-devbind.py -status after this 
they show up as assigned to the DPDK driver.

I updated /etc/uhd/uhd.conf as suggested, including the mac addresses, cpu 
assignment, etc..., but I don't think UHD is finding it correctly.  When I try 
to call uhd (via /usr/local/lib/uhd/examples/benchmark_rate) with a use_dpdk=1 
argument, I get a number of errors, including:

[INFO] [MPM.PeriphManager.UDP] No CHDR interfaces found!
[INFO] [MPM.PeriphManager.UDP] No CHDR interfaces found!
[ERROR] [MPMD] No viable transport path found!
[ERROR] [MPMD] Failure during block enumeration: RuntimeError: No viable 
transport path found!
...
...
Error: RuntimeError: Failed to run enumerate_rfnoc_blocks()

I've tried running benchmark_rate as a regular user and via sudo, as well as 
via gnuradio as a regular user.  My gnuradio and UHD were installed from 
source.  Same issues with all approaches.  I see a very similar thread here in 
the 3.14.0.0 release notes and it doesn't look like these issues were resolved 
within that thread:
http://ettus.80997.x6.nabble.com/USRP-users-UHD-Announcing-3-14-0-0-Release-Candidate-1-td11840.html

Can someone from Ettus chime in?  Do I need to be running UHD and/or gnuradio 
as root, as implied in that thread?  If this requires installing things in a 
manner different from your published "Getting started with the N320 guide..." 
can you please help me understand the steps needed to get DPDK working with an 
N320?

I am running Ubuntu 18.03.4, UHD is 3.14.0 (specifically 
UHD_3.14.0.HEAD-0-gf6cacec8).

Thank you,

DL

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to