On 02/17/2017 10:53 AM, zhanghailiang wrote:
Instead of using qemu timer to process the stale packets,
We re-use the colo compare thread to process these packets
by creating a new timeout coroutine.

Besides, since we process all the same vNIC's net connection/packets
in one thread, it is safe to remove the timer_check_lock.

Signed-off-by: zhanghailiang <[email protected]>

Reviewed-by: Zhang Chen <[email protected]>

---
  net/colo-compare.c | 62 +++++++++++++++++++-----------------------------------
  1 file changed, 22 insertions(+), 40 deletions(-)


--
Thanks
Zhang Chen




Reply via email to