diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/classifier/odp_classifier.c | 2 | ||||
-rw-r--r-- | example/generator/odp_generator.c | 2 | ||||
-rw-r--r-- | example/ipsec/odp_ipsec.c | 2 | ||||
-rw-r--r-- | example/packet/odp_pktio.c | 2 | ||||
-rw-r--r-- | example/timer/odp_timer_test.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c index 4f741d0..884df6f 100644 --- a/example/classifier/odp_classifier.c +++ b/example/classifier/odp_classifier.c @@ -389,7 +389,7 @@ int main(int argc, char *argv[]) } /* Init this thread */ - if (odp_init_local()) { + if (odp_init_local(ODP_THREAD_CONTROL)) { EXAMPLE_ERR("Error: ODP local init failed.\n"); exit(EXIT_FAILURE); } diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index d6bf880..c38f180 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -600,7 +600,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - if (odp_init_local()) { + if (odp_init_local(ODP_THREAD_CONTROL)) { EXAMPLE_ERR("Error: ODP local init failed.\n"); exit(EXIT_FAILURE); } diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index d54ac79..2d302ff 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -1243,7 +1243,7 @@ main(int argc, char *argv[]) } /* Init this thread */ - if (odp_init_local()) { + if (odp_init_local(ODP_THREAD_CONTROL)) { EXAMPLE_ERR("Error: ODP local init failed.\n"); exit(EXIT_FAILURE); } diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index a3a8692..9bb2959 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -350,7 +350,7 @@ int main(int argc, char *argv[]) } /* Init this thread */ - if (odp_init_local()) { + if (odp_init_local(ODP_THREAD_CONTROL)) { EXAMPLE_ERR("Error: ODP local init failed.\n"); exit(EXIT_FAILURE); } diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index 5090c05..4568202 100644 --- a/example/timer/odp_timer_test.c +++ b/example/timer/odp_timer_test.c @@ -331,7 +331,7 @@ int main(int argc, char *argv[]) } /* Init this thread. */ - if (odp_init_local()) { + if (odp_init_local(ODP_THREAD_CONTROL)) { printf("ODP local init failed.\n"); return -1; } |