vlib: fix handoff queue sequencing bug 38/23338/4
authorDave Barach <dave@barachs.net>
Fri, 8 Nov 2019 13:22:28 +0000 (08:22 -0500)
committerDamjan Marion <dmarion@me.com>
Mon, 11 Nov 2019 19:03:15 +0000 (19:03 +0000)
commit320998a8126766c0db92d9c7652f765f9565a7b5
tree91c4de87b5812dd302f056d5e5843bce32bf7112
parentb3dce89a768aaffa2a830ba6579cd3d9c8cd967a
vlib: fix handoff queue sequencing bug

Set vm->check_frame_queues after actually enqueuing a frame. Under
obscure circumstances, the code managed to set check_frame_queues so
far in advance that 100 dispatch cycles could elapse before the frame
enqueue succeeded. That resulted in permanent lack of queue service.

Type: fix
Ticket: VPP-1734
Fixes: 18191

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: If2d398202b4ba2b96581d25e8142daef3f74c9e5
src/vlib/buffer_node.h