diff options
author | Damjan Marion <damarion@cisco.com> | 2017-11-21 13:12:41 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2017-11-21 13:44:22 +0100 |
commit | bd846cdc5d99260274a02e9bb474211ef32d031c (patch) | |
tree | 2c43a561a4c80ed332d571d61f6abc47990b2aad /src/vnet/pg/input.c | |
parent | dff48db0782444125f68cab14d91e7bb4109286a (diff) |
dpdk: add l2_hdr_offset and l3_hdr_offset in vlib_buffer_t
Change-Id: I0a6d1257e391c3b6f7da6498bd5f7d4c545d17e9
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/pg/input.c')
-rw-r--r-- | src/vnet/pg/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c index b70f3ce4fc0..f31152c3889 100644 --- a/src/vnet/pg/input.c +++ b/src/vnet/pg/input.c @@ -65,7 +65,7 @@ validate_buffer_data2 (vlib_buffer_t * b, pg_stream_t * s, if (i >= n_bytes) return 1; - clib_warning ("buffer %U", format_vlib_buffer, b); + clib_warning ("buffer %U", format_vnet_buffer, b); clib_warning ("differ at index %d", i); clib_warning ("is %U", format_hex_bytes, bd, n_bytes); clib_warning ("mask %U", format_hex_bytes, pm, n_bytes); @@ -1403,7 +1403,7 @@ format_pg_input_trace (u8 * s, va_list * va) s = format (s, ", %d sw_if_index", t->sw_if_index); s = format (s, "\n%U%U", - format_white_space, indent, format_vlib_buffer, &t->buffer); + format_white_space, indent, format_vnet_buffer, &t->buffer); s = format (s, "\n%U", format_white_space, indent); |