What does "uhd_find_devices" return for "mgmt_addr" on the USRP? Is the 1 GbE/RJ-45 link connected to the same LAN as the host computer attached to the USRP?
I'm literally right now working with another customer and Ettus R&D on this exact same issue and we have determined that the 1 GbE / RJ-45 MGMT link needs to be up and accessible from the same computer as is connected to the USRP. If I remove the "mgmt_addr=XX" part of the device args. then the DPDK link fails; same thing if I disable "eth0" on the USRP, or if I set "mgmt_addr" to the link that will be overtaken by DPDK. Worth a try! - MLD --- Dr Michael L Dickens NI is now part of Emerson! Principal Emerson/NI/Ettus Technical Support Engineer Teams: +1-512-683-5305 Cell: +1-512-585-1391 michael.dick...@ni.com michael.dick...@ettus.com DISCLAIMER: Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code. Use of the Code is subject to terms of the licenses to the UHD or RFNoC code with which the Code is used. Standard licenses to UHD and RFNoC can be found at https://www.ettus.com/sdr-software/licenses/ . NI will only perform services based on its understanding and condition that the goods or services (i) are not for the use in the production or development of any item produced, purchased, or ordered by any entity with a footnote 1 designation in the license requirement column of Supplement No. 4 to Part 744, U.S. Export Administration Regulations and (ii) such a company is not a party to the transaction. If our understanding is incorrect, please notify us immediately because a specific authorization may be required from the U.S. Commerce Department before the transaction may proceed further. On Wed, Jan 3, 2024 at 9:42 PM Marcus D. Leech <patchvonbr...@gmail.com> wrote: > On 03/01/2024 15:18, jmalo...@umass.edu wrote: > > Hello, > > I am currently trying to use DPDK, however, there is an error I currently > am unable to resolve. > > ./benchmark_rate --rx_rate 245.76e6 --rx_channels 0 --tx_rate 245.76e6 > --tx_channels 0 --args "addr=192.168.10.2,use_dpdk=1" > > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; DPDK_19.11; > UHD_4.5.0.main-2-ga7657c80 > > [WARNING] [PREFS] Loaded config from /root/.uhd. This location is > considered deprecated, consider moving your config file to /root/.config > instead. > > EAL: Detected 32 lcore(s) > > EAL: Detected 1 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Selected IOVA mode 'PA' > > EAL: No available hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > EAL: VFIO support initialized > > EAL: PCI device 0000:06:00.0 on NUMA socket -1 > > EAL: probe driver: 15b3:1017 net_mlx5 > > EAL: PCI device 0000:06:00.1 on NUMA socket -1 > > EAL: probe driver: 15b3:1017 net_mlx5 > > [WARNING] [DPDK::IO_SERVICE] Dropping packet: No link entry in rx table > > [00:00:00.000350] Creating the usrp device with: > addr=192.168.10.2,use_dpdk=1... > > [WARNING] [DPDK::IO_SERVICE] Dropping packet: No link entry in rx table > > Error: LookupError: KeyError: No devices found for -----> > > Device Address: > > addr: 192.168.10.2 > > use_dpdk: 1 > > The error displays as a warning, however, the program immediately goes > into a lookup error where it says the device can not be found. I do not > know how to resolve either of these issues, or know if they are related. > Any help is greatly appreciated. > > Thanks, > > Joe > > My *guess* is that DPDK hasn't been configured to use your NIC at the > desired address (probably 192.168.10.1). > > Also, you haven't said which device type this is, nor what your exact > physical network setup is. > > I'll note that for some USRPs, the 192.168.10.X address is used by default > by the 1Gbit configuration of the hardware. > > For example, on the X310, with the HG image, the SFP0 port has the > 192.168.10.2 address, and operates at 1Gbit, while > the 2nd SFP port operates at 10Gbit, with an address of 192.168.40.2. > > I'll note further that using DPDK at 1GBit is unlikely to see much, if > any, performance improvement. > > https://files.ettus.com/manual/page_usrp_x3x0.html > > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com