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

Reply via email to