app/eventdev: detect deadlock for timer event producer
authorErik Gabriel Carrillo <erik.g.carrillo@intel.com>
Mon, 3 Dec 2018 17:48:14 +0000 (11:48 -0600)
committerJerin Jacob <jerinj@marvell.com>
Sun, 16 Dec 2018 16:58:06 +0000 (17:58 +0100)
commit4730378428cf32a8ccdf6c018a399536a7144cc6
treed418ff903745801453acc4b02b8321f4bc2daf85
parentac0fc54a49eb4c07ed38606344683dd533a4decb
app/eventdev: detect deadlock for timer event producer

If timer events get dropped for some reason, the thread that launched
producer and worker cores will never exit, because the deadlock check
doesn't currently apply to the event timer adapter case. This commit
fixes this.

Fixes: d008f20bce23 ("app/eventdev: add event timer adapter as a producer")
Cc: stable@dpdk.org
Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
app/test-eventdev/test_perf_common.c