summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/avf/avf.h3
-rw-r--r--src/plugins/avf/format.c6
-rw-r--r--src/plugins/avf/input.c1
3 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 4994074fdfb..1ddae6671b0 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -320,7 +320,8 @@ avf_rxd_is_not_dd (avf_rx_desc_t * d)
typedef struct
{
- u32 next_index;
+ u16 qid;
+ u16 next_index;
u32 hw_if_index;
u64 qw1s[AVF_RX_MAX_DESC_IN_CHAIN];
} avf_input_trace_t;
diff --git a/src/plugins/avf/format.c b/src/plugins/avf/format.c
index 4def8b5ea32..bc2b94ecc46 100644
--- a/src/plugins/avf/format.c
+++ b/src/plugins/avf/format.c
@@ -131,9 +131,9 @@ format_avf_input_trace (u8 * s, va_list * args)
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
{
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c
index fcc5518abeb..d6dda6c4b92 100644
--- a/src/plugins/avf/input.c
+++ b/src/plugins/avf/input.c
@@ -396,6 +396,7 @@ no_more_desc:
vlib_trace_buffer (vm, node, next_index, b, /* follow_chain */ 0);
tr = vlib_add_trace (vm, node, b, sizeof (*tr));
tr->next_index = next_index;
+ tr->qid = qid;
tr->hw_if_index = ad->hw_if_index;
tr->qw1s[0] = ptd->qw1s[i];
for (j = 1; j < AVF_RX_MAX_DESC_IN_CHAIN; j++)