summaryrefslogtreecommitdiff
path: root/examples/l2fwd-nf.c
diff options
context:
space:
mode:
author童宗振 <[email protected]>2024-03-05 06:26:58 +0000
committer陆秋文 <[email protected]>2024-03-05 06:26:58 +0000
commita9eefb53dcc369596d17a5757207a5de07665402 (patch)
treef9660e3d737bb51591386090d066393bef509b0d /examples/l2fwd-nf.c
parent73f19bf6b8c9a69706fd2687b6995b1ca7aaa047 (diff)
call the pkt_parser_exec at dp trace record emit if pkt_parser_exec has not been called before.
Diffstat (limited to 'examples/l2fwd-nf.c')
-rw-r--r--examples/l2fwd-nf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/l2fwd-nf.c b/examples/l2fwd-nf.c
index 126dc7f..7987e59 100644
--- a/examples/l2fwd-nf.c
+++ b/examples/l2fwd-nf.c
@@ -100,6 +100,9 @@ void * l2fwd_loop(void * arg)
marsio_buff_set_metadata(deep_copy_buff, MR_BUFF_ROUTE_CTX, route_ctx, sizeof(route_ctx));
marsio_buff_set_sid_list(deep_copy_buff, sids, nr_sids);
+ marsio_dp_trace_record_emit_str(mr_instance, deep_copy_buff, "I2fwd-nf",
+ "test for sending message directly");
+
tx_buff[i] = deep_copy_buff;
}
}