X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Faction.c;h=d2104aad6e8be51b60bbdea7c6f08061d40331dd;hb=9b8bc622a1cce34a24d011a70f4ba6191d35c3ef;hp=3f825a0624bec805a5b1605d81d4cd5385d420ec;hpb=1bdf2632c90959954c934baa621543755de94d6a;p=dpdk.git diff --git a/examples/ip_pipeline/action.c b/examples/ip_pipeline/action.c index 3f825a0624..d2104aad6e 100644 --- a/examples/ip_pipeline/action.c +++ b/examples/ip_pipeline/action.c @@ -355,6 +355,17 @@ table_action_profile_create(const char *name, } } + if (params->action_mask & (1LLU << RTE_TABLE_ACTION_DECAP)) { + status = rte_table_action_profile_action_register(ap, + RTE_TABLE_ACTION_DECAP, + NULL); + + if (status) { + rte_table_action_profile_free(ap); + return NULL; + } + } + status = rte_table_action_profile_freeze(ap); if (status) { rte_table_action_profile_free(ap);