diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-07-20 16:49:13 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-08-20 11:20:36 +0000 |
commit | 03f2a015999ed9ba34041afb408a22ea5fe601ff (patch) | |
tree | f99cdbb7ca09c246e31c595ec3e7d30feb4d7507 /src/plugins/vmxnet3 | |
parent | 6d020c215aad85192764542b16ca6cb56488f6fc (diff) |
vlib: add format_vnet_buffer_no_chain
- add format_vnet_buffer and format_vnet_buffer_no_chain to mirror
format_vlib_buffer and format_vlib_buffer_no_chain
- format_vnet_buffer used to be the "no chain" version, replace all of
its current use with the corresponding format_vnet_buffer_no_chain
- add a function to dump vnet buffer details from gdb
Type: improvement
Change-Id: I143ce845f80e7ef937ea33a557b6e3b5988c5b8f
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/vmxnet3')
-rw-r--r-- | src/plugins/vmxnet3/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vmxnet3/format.c b/src/plugins/vmxnet3/format.c index d463feb3bec..43d790d31eb 100644 --- a/src/plugins/vmxnet3/format.c +++ b/src/plugins/vmxnet3/format.c @@ -164,7 +164,7 @@ format_vmxnet3_input_trace (u8 * s, va_list * args) s = format (s, "vmxnet3: %v (%d) next-node %U", hi->name, t->hw_if_index, format_vlib_next_node_name, vm, node->index, t->next_index); - s = format (s, "\n buffer %U", format_vnet_buffer, &t->buffer); + s = format (s, "\n buffer %U", format_vnet_buffer_no_chain, &t->buffer); return s; } |