From: Kingwel Xie Date: Fri, 25 Jan 2019 10:18:51 +0000 (-0500) Subject: crypto-input: fix broken buffer trace issue X-Git-Tag: v19.04-rc1~523 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b8999b1070ce987dc168ac0776696cc9671132b4;hp=b8999b1070ce987dc168ac0776696cc9671132b4;p=vpp.git crypto-input: fix broken buffer trace issue dpdk_crypto_input_trace was called before vlib_buffer_enqueue_to_next then VLIB_FRAME_TRACE of next_frame->flag will be overwritten by vlib_next_frame_change_ownership(), leading to a broken trace. now it is working: Packet 1 00:00:15:654983: dpdk-crypto-input dev_id 0 next-index 1 00:00:15:654999: ip4-lookup fib 0 dpo-idx 0 flow hash: 0x00000000 IPSEC_ESP: 18.1.0.71 -> 18.1.0.241 tos 0x00, ttl 254, length 168, checksum 0x96ea ...... Change-Id: I73d77c06c11db8911866adb6240b2565b690f469 Signed-off-by: Kingwel Xie ---