[prev in list] [next in list] [prev in thread] [next in thread]
List: usrp-users
Subject: [USRP-users] DPDK runtime error
From: Florian Kaltenberger via USRP-users <usrp-users () lists ! ettus ! com>
Date: 2019-12-23 15:50:37
Message-ID: e44a32d6-8d73-b567-eda2-ce00144c592a () eurecom ! fr
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Dear all,
we have finally managed to set up UHD (3.15) with DPDK (18.11) support
on our RedHat 7 system (both installed from source) with our N310. I
have configured the system as explained here
http://files.ettus.com/manual/page_dpdk.html but when calling
uhd_usrp_probe --args
"use_dpdk=1,mgmt_addr=192.168.12.1,addr=192.168.10.2,second_addr=192.168.20.2,master_clock_rate=122.88e6,type=n3xx"
I am getting the following runtime error (all the way at the bottom):
[INFO] [UHD] linux; GNU C++ version 4.8.5 20150623 (Red Hat 4.8.5-39);
Boost_106900; UHD_3.15.0.0-0-g4e06022c
EAL: Detected 10 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:00:19.0 on NUMA socket 0
EAL: probe driver: 8086:153a net_e1000_em
EAL: PCI device 0000:01:00.0 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:01:00.1 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: using IOMMU type 1 (Type 1)
PMD: Global register is changed during enable FDIR flexible payload
PMD: Global register is changed during support QinQ parser
PMD: Global register is changed during configure hash input set
PMD: Global register is changed during configure fdir mask
PMD: Global register is changed during configure hash mask
PMD: Global register is changed during support QinQ cloud filter
PMD: Global register is changed during support TPID configuration
EAL: PCI device 0000:01:00.2 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: PCI device 0000:01:00.3 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
PMD: Global register is changed during enable FDIR flexible payload
PMD: Global register is changed during support QinQ parser
PMD: Global register is changed during configure hash input set
PMD: Global register is changed during configure fdir mask
PMD: Global register is changed during configure hash mask
PMD: Global register is changed during support QinQ cloud filter
PMD: Global register is changed during support TPID configuration
EAL: Waiting for links to come up...
EAL: Init DONE!
EAL: Starting I/O threads!
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.12.1,type=n3xx,product=n310,serial=31641BC,claimed=False,use_dpdk=1,addr=192.168.10.2,second_addr=192.168.20.2,master_clock_rate=122.88e6
[INFO] [MPM.PeriphManager] init() called with device args
`mgmt_addr=192.168.12.1,product=n310,master_clock_rate=122.88e6,second_addr=192.168.20.2,use_dpdk=1,clock_source=internal,time_source=internal'.
EAL: Please set IPv4 address for port 0 before opening socket
[ERROR] [MPMD] Failure during block enumeration: AssertionError:
_rx_sock != nullptr
in uhd::transport::dpdk_zero_copy_impl::dpdk_zero_copy_impl(const
uhd::transport::uhd_dpdk_ctx&, unsigned int, const string&, const
string&, const string&, const uhd::transport::zero_copy_xport_params&)
I am also copying the output of "dpdk-devbind --status" which shows
that the two interfaces connected to the USRP use the vfio-pci driver
for DPDK
Network devices using DPDK-compatible driver
============================================
0000:01:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
0000:01:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=vfio-pci
unused=i40e
Network devices using kernel driver
===================================
0000:00:19.0 'Ethernet Connection I217-LM 153a' if=enp0s25 drv=e1000e
unused=vfio-pci *Active*
0000:01:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=p1p1
drv=i40e unused=vfio-pci
0000:01:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=p1p3
drv=i40e unused=vfio-pci
What surprises me is that in the output of the uhd_usrp_probe, it does
not say it is using the driver for DPDK. any ideas what could be wrong?
Florian.
--
Follow us on Google+ <https://plus.google.com/+OpenairinterfaceOrg>,
LinkedIn <https://www.linkedin.com/company/openairinterface>, or Twitter
<https://twitter.com/osalliance5g>!
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear all,</p>
<p>we have finally managed to set up UHD (3.15) with DPDK (18.11)
support on our RedHat 7 system (both installed from source) with
our N310. I have configured the system as explained here <a
href="http://files.ettus.com/manual/page_dpdk.html">http://files.ettus.com/manual/page_dpdk.html</a>
but when calling <br>
</p>
<p>uhd_usrp_probe --args
"use_dpdk=1,mgmt_addr=192.168.12.1,addr=192.168.10.2,second_addr=192.168.20.2,master_clock_rate=122.88e6,type=n3xx"<br>
</p>
<p>I am getting the following runtime error (all the way at the
bottom):</p>
[INFO] [UHD] linux; GNU C++ version 4.8.5 20150623 (Red Hat
4.8.5-39); Boost_106900; UHD_3.15.0.0-0-g4e06022c<br>
EAL: Detected 10 lcore(s)<br>
EAL: No free hugepages reported in hugepages-1048576kB<br>
EAL: Probing VFIO support...<br>
EAL: VFIO support initialized<br>
EAL: PCI device 0000:00:19.0 on NUMA socket 0<br>
EAL: probe driver: 8086:153a net_e1000_em<br>
EAL: PCI device 0000:01:00.0 on NUMA socket 0<br>
EAL: probe driver: 8086:1572 net_i40e<br>
EAL: PCI device 0000:01:00.1 on NUMA socket 0<br>
EAL: probe driver: 8086:1572 net_i40e<br>
EAL: using IOMMU type 1 (Type 1)<br>
PMD: Global register is changed during enable FDIR flexible payload<br>
PMD: Global register is changed during support QinQ parser<br>
PMD: Global register is changed during configure hash input set<br>
PMD: Global register is changed during configure fdir mask<br>
PMD: Global register is changed during configure hash mask<br>
PMD: Global register is changed during support QinQ cloud filter<br>
PMD: Global register is changed during support TPID configuration<br>
EAL: PCI device 0000:01:00.2 on NUMA socket 0<br>
EAL: probe driver: 8086:1572 net_i40e<br>
EAL: PCI device 0000:01:00.3 on NUMA socket 0<br>
EAL: probe driver: 8086:1572 net_i40e<br>
PMD: Global register is changed during enable FDIR flexible payload<br>
PMD: Global register is changed during support QinQ parser<br>
PMD: Global register is changed during configure hash input set<br>
PMD: Global register is changed during configure fdir mask<br>
PMD: Global register is changed during configure hash mask<br>
PMD: Global register is changed during support QinQ cloud filter<br>
PMD: Global register is changed during support TPID configuration<br>
EAL: Waiting for links to come up...<br>
EAL: Init DONE!<br>
EAL: Starting I/O threads!<br>
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.12.1,type=n3xx,product=n310,serial=31641BC,claimed=False,use_dpdk=1,addr=192.168.10.2,second_addr=192.168.20.2,master_clock_rate=122.88e6<br>
[INFO] [MPM.PeriphManager] init() called with device args
`mgmt_addr=192.168.12.1,product=n310,master_clock_rate=122.88e6,second_addr=192.168.20.2,use_dpdk=1,clock_source=internal,time_source=internal'.<br>
<font color="#ff0000">EAL: Please set IPv4 address for port 0 before
opening socket<br>
[ERROR] [MPMD] Failure during block enumeration: AssertionError:
_rx_sock != nullptr<br>
in
uhd::transport::dpdk_zero_copy_impl::dpdk_zero_copy_impl(const
uhd::transport::uhd_dpdk_ctx&, unsigned int, const
string&, const string&, const string&, const
uhd::transport::zero_copy_xport_params&)</font><br>
<p>I am also copying the output of "dpdk-devbind --status" which
shows that the two interfaces connected to the USRP use the
vfio-pci driver for DPDK<br>
</p>
<p>Network devices using DPDK-compatible driver<br>
============================================<br>
0000:01:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572'
drv=vfio-pci unused=i40e<br>
0000:01:00.3 'Ethernet Controller X710 for 10GbE SFP+ 1572'
drv=vfio-pci unused=i40e<br>
<br>
Network devices using kernel driver<br>
===================================<br>
0000:00:19.0 'Ethernet Connection I217-LM 153a' if=enp0s25
drv=e1000e unused=vfio-pci *Active*<br>
0000:01:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572'
if=p1p1 drv=i40e unused=vfio-pci <br>
0000:01:00.2 'Ethernet Controller X710 for 10GbE SFP+ 1572'
if=p1p3 drv=i40e unused=vfio-pci <br>
<br>
</p>
<p>What surprises me is that in the output of the uhd_usrp_probe, it
does not say it is using the driver for DPDK. any ideas what could
be wrong?</p>
<p>Florian.<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Follow us on <a
href="https://plus.google.com/+OpenairinterfaceOrg">Google+</a>,
<a href="https://www.linkedin.com/company/openairinterface">LinkedIn</a>,
or <a href="https://twitter.com/osalliance5g">Twitter</a>!<br>
</div>
</body>
</html>
["florian_kaltenberger.vcf" (text/x-vcard)]
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic