Dear Developers:

If I use just one thread for configure and packet processing. The pcap trace 
module works well.
But If I use  two CPU cores, one for main(config) and another for packet 
processing, Pcap fails to capture any packet.
After using gdb to debug this problem, I think I found the problem:
vm->pcap[rx_tx].pcap_enable is set just in the main thread, It's not enabled in 
the worker thread.
Please recheck and fix this bug. Thanks!

Liujia
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13765): https://lists.fd.io/g/vpp-dev/message/13765
Mute This Topic: https://lists.fd.io/mt/32897957/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to