Skip to content

Commit

Permalink
dpdk: set new running flag at thread startup
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Oct 27, 2022
1 parent 91b7b63 commit 2f9ca8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/source-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ static TmEcode ReceiveDPDKLoop(ThreadVars *tv, void *data, void *slot)

ptv->slot = s->slot_next;

// Indicate that the thread is actually running its application level code (i.e., it can poll
// packets)
TmThreadsSetFlag(tv, THV_RUNNING);

PacketPoolWait();
while (1) {
if (unlikely(suricata_ctl_flags != 0)) {
Expand Down

0 comments on commit 2f9ca8b

Please sign in to comment.