Closed houshangaziziaccelleran closed 1 month ago
You need to double-check your DPDK settings. If you can do this without DPDK (just for sanity check, you might not reach the appropriate rates), then you can also do it with DPDK if your settings file is correct. See also the manual.
Thanks for the reply @mbr0wn! Is the instruction in this manual valid for my case as well? My case: I want to use DPDK on my n310 with two SFP dedicated for DPDK.
I get such error message. Is there a compatibility issue (UHD- DPDK)?
ad@bm-super11-intel:/usr/local/lib/uhd/examples$ sudo ./benchmark_rate --rx_rate 125e6 --rx_subdev "A:0 B:0" --rx_channels 0,1 --tx_rate 125e6 --tx_subdev "A:0 B:0" --tx_channels 0,1 --args "addr=10.10.1.100,second_addr=10.10.2.100,mgmt_addr=10.10.0.100,master_clock_rate=125e6,use_dpdk=1"
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_23.11; UHD_4.7.0.0-0-unknown
EAL: Detected CPU lcores: 64
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
TELEMETRY: No legacy callbacks, legacy socket not created
[ERROR] [DPDK] No available DPDK devices (ports) found!
EAL: FATAL: already called initialization.
EAL: already called initialization.
[ERROR] [DPDK] Error with EAL initialization
[ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL initialization
[ERROR] [UHD] Device discovery error: RuntimeError: No available DPDK devices (ports) found!
[00:00:00.000197] Creating the usrp device with: addr=10.10.1.100,second_addr=10.10.2.100,mgmt_addr=10.10.0.100,master_clock_rate=125e6,use_dpdk=1...
EAL: FATAL: already called initialization.
EAL: already called initialization.
[ERROR] [DPDK] Error with EAL initialization
[ERROR] [UHD] Device discovery error: RuntimeError: Error with EAL initialization
EAL: FATAL: already called initialization.
EAL: already called initialization.
[ERROR] [DPDK] Error with EAL initialization
[ERROR] [X300] X300 Network discovery error RuntimeError: Error with EAL initialization
Error: LookupError: KeyError: No devices found for ----->
Device Address:
addr: 10.10.1.100
second_addr: 10.10.2.100
mgmt_addr: 10.10.0.100
master_clock_rate: 125e6
use_dpdk: 1
If you're using current master, you're good, but the latest release does have issues with DPDK 23.11.
@mbr0wn Many thanks for the reply! Here is what I get:
ad@bm-super11-intel:~$ uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.7.0.HEAD-0-ga5ed1872
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 32000F1
addr: 10.10.2.100
claimed: False
fpga: XG
mgmt_addr: 10.10.0.100
mgmt_addr: 10.10.1.100
mgmt_addr: 10.10.2.100
name: ni-n3xx-32000F1
product: n310
type: n3xx
ad@bm-super11-intel:~$ sudo uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.7.0.HEAD-0-ga5ed1872
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=10.10.0.100,type=n3xx,product=n310,serial=32000F1,name=ni-n3xx-32000F1,fpga=XG,claimed=False,addr=10.10.2.100
[INFO] [MPM.PeriphManager] init() called with device args `fpga=XG,mgmt_addr=10.10.0.100,name=ni-n3xx-32000F1,product=n310,clock_source=internal,time_source=internal'.
[ERROR] [RFNOC::MGMT] EnvironmentError: IOError: recv error on socket: Connection refused
[ERROR] [RFNOC::GRAPH] IO Error during GSM initialization. EnvironmentError: IOError: recv error on socket: Connection refused
[ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: EnvironmentError: IOError: recv error on socket: Connection refused
Error: RuntimeError: Failure to create rfnoc_graph.
ad@bm-super11-intel:~$
@houshangaziziaccelleran like I said, this is not a support forum. This is for bug reports only. In your case, turn off DPDK, make sure communication works with the device, then from there craft a working DPDK configuration. Take further questions to the mailing list.
Hi Can someone help with the following issue please?
I have an n310. # IP ADDR: ETH for management (10.10.0.100) and two fiber for DPDK use (10.10.1.100 and 10.10.2.100).
This is my UHD version:
And here are my FPGA and MPM versions: