summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ip_pipeline/thread.c')
-rw-r--r--examples/ip_pipeline/thread.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/ip_pipeline/thread.c b/examples/ip_pipeline/thread.c
index 3ec44c9..41891f4 100644
--- a/examples/ip_pipeline/thread.c
+++ b/examples/ip_pipeline/thread.c
@@ -2494,6 +2494,16 @@ action_convert(struct rte_table_action *a,
return status;
}
+ if (action->action_mask & (1LLU << RTE_TABLE_ACTION_TAG)) {
+ status = rte_table_action_apply(a,
+ data,
+ RTE_TABLE_ACTION_TAG,
+ &action->tag);
+
+ if (status)
+ return status;
+ }
+
return 0;
}