s = format (s, "\n%Uerror %U", format_white_space, indent,
format_clib_error, ad->error);
-#define _(c) if (ad->eth_stats.c) \
+#define _(c) if (ad->eth_stats.c - ad->last_cleared_eth_stats.c) \
a = format (a, "\n%U%-20U %u", format_white_space, indent + 2, \
- format_c_identifier, #c, ad->eth_stats.c);
+ format_c_identifier, #c, \
+ ad->eth_stats.c - ad->last_cleared_eth_stats.c);
foreach_virtchnl_eth_stats;
#undef _
if (a)
u32 indent = format_get_indent (s);
int i = 0;
- s = format (s, "avf: %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, "avf: %v (%d) qid %u next-node %U",
+ hi->name, t->hw_if_index, t->qid, format_vlib_next_node_name,
+ vm, node->index, t->next_index);
do
{