acl-plugin: time out the sessions created by main thread too (VPP-948) 66/8066/7
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 16 Aug 2017 10:06:15 +0000 (12:06 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 17 Aug 2017 11:57:34 +0000 (13:57 +0200)
commitc1ff53f25d04ec1cc31844abd38014e91e398b5f
treea58ad3d9c9d95f2b68d3f3672bfe60abf27241f3
parent2e342af835d6d752c743371d08071ed2dda8e62e
acl-plugin: time out the sessions created by main thread too (VPP-948)

In multithread setup the main thread may send packets,
which may pass through the node with permit+reflect action.
This creates the connection in lists for thread0,
however in multithread there are no interupt handlers there.

Ensure we are not spending too much time spinning in a
tight cycle by suspending the main cleaner thread
until the current iteration of interrupts is processed.

Change-Id: Idb7346737757ee9a67b5d3e549bc9ad9aab22e89
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
src/plugins/acl/acl.h
src/plugins/acl/fa_node.c
src/plugins/acl/fa_node.h