diff options
author | Florin Coras <fcoras@cisco.com> | 2017-09-11 20:54:15 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-09-15 20:56:49 +0000 |
commit | 2f9b0c05fca7ca829ea438da1d87e2bf93969500 (patch) | |
tree | e426f427c1f5da45b3815cae4f1b0400897bd6de /src/vlib/buffer.c | |
parent | 3e233678f13bc175e652ac0ea4a038054771ee97 (diff) |
dpdk: cli to check for buffer leakage
Use buffer pre_data and existing buffer trace trajectory code to
find out dpdk buffer leakages.
Change-Id: I26a5d8bd2f23d01cb6070ffc3ddcc6d3d863b575
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlib/buffer.c')
-rw-r--r-- | src/vlib/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/buffer.c b/src/vlib/buffer.c index a5ec0e0a495..7399b618ed4 100644 --- a/src/vlib/buffer.c +++ b/src/vlib/buffer.c @@ -686,7 +686,7 @@ vlib_buffer_free_inline (vlib_main_t * vm, u32 bi = buffers[i]; b = vlib_get_buffer (vm, bi); - + VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b); fl = vlib_buffer_get_buffer_free_list (vm, b, &fi); /* The only current use of this callback: multicast recycle */ |