Discussion and technical support related to USRP, UHD, RFNoC
View all threadsMy 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
Hi Daniel,
The uhd.conf file should be put at /root/.uhd/uhd.conf
You will also need to run the UHD app as root when using DPDK.
I can follow up with you offlist with some additional notes I have on
getting started with DPDK. We will be publishing a detailed app note soon
to cover the topic.
Regards,
Nate Temple
On Tue, Oct 15, 2019 at 11:37 AM Lundberg, Daniel via USRP-users <
usrp-users@lists.ettus.com> wrote:
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
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com