mk: build with _GNU_SOURCE defined by default
[dpdk.git] / examples / ip_pipeline / thread.c
index 41891f4..4bd971f 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;
 }