Hi, I am using dpdk 19.11.3 using port in FreeBSD 10.4. When executing dpdk test cases then it getting hanged at function rte_delay_ms(...); Ex: 1. like in testpmd it's getting hanged at rte_delay_ms(CHECK_INTERVAL); 2. or if added rte_delay_ms(10); in examples/helloworld/main.c test app then also getting hanged in same function call. Other details: sysctl hw.model hw.machine hw.ncpu hw.model: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz hw.machine: amd64 hw.ncpu: 12 uname -r 10.4-RELEASE Thanks & regards, shamsher
FreeBSD 10.4 is not supported anymore, can you upgrade your base system to newer supported version?
I ran a quick test similar to what you describe and didn't see any issues. I installed the 19.11.3 package of DPDK using "pkg install dpdk", and then took the source-code of the helloworld example app - adding in an "rte_delay_ms(10);" call. It compiled with "gmake" and then ran without issues. I'll investigate a little more to double check on my end.
Ohk. One more thing in addition to that. I build all in ports/net/work/dpdk... with helloworld changes. Then passing all required images (contigmem.ko,nic_uio.ko,helloworld,testpmd) to DUT (device under test). In DUT all required changes in load.conf done and modules loaded. If i remove (rte_delay_ms(...)) either in helloworld (where edited) or testpmd (already present) then everything is showing as expected. Like hellworld o/p or in testpmd getting testpmd> prompt. Which seems to be very strange to me. Let me know if any process/image i missed. Note: yes we are about to migrate to 11.2, but currently working in 10.4 Thanks & regards, Shamsher
(In reply to shamsher from comment #3) Please note that 11.2 is also EoL'd, please check https://www.freebsd.org/security/#sup
Can you try compiling up e.g. the helloworld app on the DUT itself and see if it makes any difference?
Done. libjansson.so.4 was missing post addition of same in /lib things became fine. Thanks & regards Shamsher