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:

[use-dpdk=1]

dpdk-mtu=9000

dpdk-corelist=0,1

dpdk-num-mbufs=4096

dpdk-mbuf-cache-size=64

[dpdk-mac=aa:bb:cc:dd:ee:01]

dpdk-lcore = 1

dpdk-ipv4 = 192.168.30.1/24

dpdk-num-desc=4096

[dpdk-mac=aa:bb:cd:dd:ee:02]

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.


_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to