Hi Meir, (2014/04/13 19:21), Meir Tseitlin wrote: > The problem is that in 30% of the cases data packet enters the path of > control packet instead of expected answer. Which probably means that after > my packet type check, the mbuf is overwritten before handled properly. If you are using DPDK-1.5, it's nice to update to DPDK-1.6, because pcap pmd of DPDK-1.5 has buffer overflow while receiving data from a target device/file. And the issue was solved with DPDK-1.6 (in both intel original code and dpdk.org code).
Also if multiple processes/threads run on a same cpu, probably, it could cause a problem like you're facing. Regards, Tetsuya