Please submit a patch.

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of ??
Sent: Friday, August 16, 2019 8:19 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Pcap trace doesn't work while using a seperate worker thread 
instead of main

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 (#13766): https://lists.fd.io/g/vpp-dev/message/13766
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