git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/l3fwd: support config file for LPM/FIB
[dpdk.git]
/
examples
/
ip_pipeline
/
action.c
diff --git
a/examples/ip_pipeline/action.c
b/examples/ip_pipeline/action.c
index
3f825a0
..
d2104aa
100644
(file)
--- 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);
status = rte_table_action_profile_freeze(ap);
if (status) {
rte_table_action_profile_free(ap);