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/ip_pipeline: check pipeline type
[dpdk.git]
/
examples
/
ip_pipeline
/
init.c
diff --git
a/examples/ip_pipeline/init.c
b/examples/ip_pipeline/init.c
index
838a383
..
23fd561
100644
(file)
--- a/
examples/ip_pipeline/init.c
+++ b/
examples/ip_pipeline/init.c
@@
-1340,6
+1340,8
@@
app_init_pipelines(struct app_params *app)
"init error\n", params->name);
}
+ data->ptype = ptype;
+
data->timer_period = (rte_get_tsc_hz() * params->timer_period)
/ 1000;
}