Hello all, I'm trying to configure my X310 to transmit at its full 200 MS/s rate without underflows. People have recommended DPDK, but it seems that DPDK can't find the X310 when I try to run scripts. I can use the X310 when I don't bind the NIC to vfio-pci, but running the benchmark_rate script with DPDK (as root) gives the following:
$ ./benchmark_rate --rx_rate 200e6 --tx_rate 200e6 --args "addr=192.168.30.2,use_dpdk=1" [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.5.0.HEAD-0-g471af98f EAL: Detected CPU lcores: 32 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: No available 1048576 kB hugepages reported EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(2) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:61:00.0 (socket 0) EAL: Ignore mapping IO port bar(2) EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:61:00.1 (socket 0) TELEMETRY: No legacy callbacks, legacy socket not created [ERROR] [DPDK] Could not find route to destination address 192.168.30.2 [ERROR] [X300] X300 Network discovery error RuntimeError: DPDK: Could not find route to destination address 192.168.30.2 [00:00:00.000300] Creating the usrp device with: addr=192.168.30.2,use_dpdk=1... [ERROR] [DPDK] Could not find route to destination address 192.168.30.2 [ERROR] [X300] X300 Network discovery error RuntimeError: DPDK: Could not find route to destination address 192.168.30.2 Error: LookupError: KeyError: No devices found for -----> Device Address: addr: 192.168.30.2 use_dpdk: 1 *Additional info that may be helpful:* - After binding the NIC, dpdk-devbind gives the following $ dpdk-devbind.py -s Network devices using DPDK-compatible driver ============================================ 0000:61:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=vfio-pci unused=ixgbe 0000:61:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=vfio-pci unused=ixgbe Network devices using kernel driver =================================== 0000:64:00.0 'I210 Gigabit Network Connection 1533' if=enp100s0 drv=igb unused=vfio-pci 0000:6a:00.0 'Ethernet Controller 10G X550T 1563' if=enp106s0f0 drv=ixgbe unused=vfio-pci *Active* 0000:6a:00.1 'Ethernet Controller 10G X550T 1563' if=enp106s0f1 drv=ixgbe unused=vfio-pci No 'Baseband' devices detected ============================== Crypto devices using kernel driver ================================== 0000:24:00.1 'Starship/Matisse Cryptographic Coprocessor PSPCPP 1486' drv=ccp unused=vfio-pci No 'DMA' devices detected ========================= No 'Eventdev' devices detected ============================== No 'Mempool' devices detected ============================= No 'Compress' devices detected ============================== No 'Misc (rawdev)' devices detected =================================== No 'Regex' devices detected =========================== - My configuration file is located at /root/.config/uhd.conf, and has the following contents: [use_dpdk=1] dpdk-mtu=9000 dpdk-driver=/usr/lib/x86_64-linux-gnu/dpdk/pmds-22.0 dpdk-corelist=0,1 dpdk-num-mbufs=4095 dpdk-mbufs-cache-size=315 dpdk_link_timeout=9000 [dpdk-mac=90:e2:ba:dd:5b:cc] dpdk-io-cpu = 1 dpdk-ipv4 = 192.168.30.1/24 Does anyone have any ideas for why it isn't working? Thank you!
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com