[dpdk-dev] tcpreplay is stuck for a while when running with kni_thread

Shirley Avishour shirley at imvisiontech.com
Wed May 10 14:53:50 CEST 2017


Hi,
When calling tcpreplay for any device and not necessarily the kni it can
take a few minutes until the packet transmission starts. this occurs only
when the kni_thread is running.
I am running on Centos with kernel version 3.10 and libpcap version 1.5.3
I tried debugging the tcpreplay and noticed that the function is stuck on
pcap_finalldevices().
this problem occurs both with RTE_KNI_PREEMPT_DEFAULT=1 and 0 but when
setting to 0 it takes less time for the pcap_finalldevices() to complete.
there are enough cores so the issue is not related to cpu.
Is it a known issue? is there any workaround?

Thanks,
Shirley.


More information about the dev mailing list