dpdk-input node packet trace intermittent on IP forwading path 66/11066/3
authorJohn Lo <loj@cisco.com>
Sat, 10 Mar 2018 00:48:42 +0000 (19:48 -0500)
committerDamjan Marion <dmarion.lists@gmail.com>
Sun, 11 Mar 2018 19:28:04 +0000 (19:28 +0000)
commiteeef247aef46684f2537644b9ef1ade2e313437e
treec210a29cd6a25d10577652a159cef437388aa4c0
parentaaacfbc5b15b0653489ad2e80db48151a4375ece
dpdk-input node packet trace intermittent on IP forwading path

Packet trace initiated by dpdk-input node would occasionally
not fully function if next node is ip4-input.
Change packet trace saving order in the quad-loop so "sho trace"
will display trace in packet receive order.
Fold calling of vlib_trace_buffer() into dpdk_add_trace().

Change-Id: I9d7a9bf3b9391f95590e66150b26b0b15912d803
Signed-off-by: John Lo <loj@cisco.com>
src/plugins/dpdk/device/node.c