]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/thread.c
mk: build with _GNU_SOURCE defined by default
[dpdk.git] / examples / ip_pipeline / thread.c
index 41891f47f9e3685e2681fc7c2095a5c7a60a6f17..4bd971fdd54f20cc3abcc5b6be447f2e9d6358e8 100644 (file)
@@ -2504,6 +2504,16 @@ action_convert(struct rte_table_action *a,
                        return status;
        }
 
+       if (action->action_mask & (1LLU << RTE_TABLE_ACTION_DECAP)) {
+               status = rte_table_action_apply(a,
+                       data,
+                       RTE_TABLE_ACTION_DECAP,
+                       &action->decap);
+
+               if (status)
+                       return status;
+       }
+
        return 0;
 }