[USRP-users] Getting DPDK to work
Ryan.Carmichael at dynetics.com
Fri Jul 24 13:38:49 EDT 2020
FYI the problem ended up being that the UHD configuration file requires an underscore with [use_dpdk=1] (instead of a dash, like everything else in the file uses), and also that dpdk-io-cpu=x is required instead of dpdk-lcore to initialize the adapters. Thanks for the help.
Of course now rx_samples_to_file segfaults in rte_eth_rx_queue_setup, but at least it's forward movement.
From: USRP-users <usrp-users-bounces at lists.ettus.com> On Behalf Of Marcus D. Leech via USRP-users
Sent: Friday, July 24, 2020 9:18 AM
To: usrp-users at lists.ettus.com
Subject: [EXTERNAL] Re: [USRP-users] Getting DPDK to work
On 07/24/2020 09:44 AM, Carmichael, Ryan via USRP-users wrote:
I've got an X310, UHD 3.15.LTS (compiled with DPDK support), DPDK 17.11 on Red Hat. I feel like things are 95% of the way there, but I can't get UHD to work with DPDK.
Long story short, I'm getting the error "EAL: Please set IPv4 address for port 0 before opening socket". I wonder if it's not reading my uhd conf file.
Before dpdk-devbind, the X310 has two IP addresses that are pingable (192.168.30.2 and 40.2) from my NICs:
enp13s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
inet 192.168.30.99 netmask 255.255.255.0 broadcast 192.168.30.255
ether aa:bb:cc:dd:ee:01 txqueuelen 1000 (Ethernet)
enp13s0f1: flags=4099<UP,BROADCAST,MULTICAST> mtu 9001
inet 192.168.40.99 netmask 255.255.255.0 broadcast 192.168.40.255
ether aa:bb:cc:dd:ee:02 txqueuelen 1000 (Ethernet)
After running dpdk-devbind:
Network devices using DPDK-compatible driver
0000:0d:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=igb_uio unused=vfio-pci,uio_pci_generic
0000:0d:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=igb_uio unused=vfio-pci,uio_pci_generic
I have a configuration file:
dpdk-lcore = 1
dpdk-ipv4 = 192.168.30.1/24
dpdk-lcore = 0
dpdk-ipv4 = 192.168.40.1/24
Check for syntax errors in the conf file?
I can't remember whether spaces are allowed around "=" in those config files or not.
The information contained in this message, and any attachments, may contain privileged and/or proprietary information that is intended solely for the person or entity to which it is addressed. Moreover, it may contain export restricted technical data controlled by Export Administration Regulations (EAR) or the International Traffic in Arms Regulations (ITAR). Any review, retransmission, dissemination, or re-export to foreign or domestic entities by anyone other than the intended recipient in accordance with EAR and/or ITAR regulations is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users