From: Bogdan Pricope <bogdan.pric...@linaro.org> The 1 ms sleep is reducing total packet throughput.
Signed-off-by: Bogdan Pricope <bogdan.pric...@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> --- /** Email created from pull request 335 (muvarov:devel/api-next_master_merge) ** https://github.com/Linaro/odp/pull/335 ** Patch: https://github.com/Linaro/odp/pull/335.patch ** Base sha: 630d8422564ebf4991b468cb38a29e9483fc2ec2 ** Merge commit sha: 2de2af9eca01b713e51c66fee7a5c7e535502f85 **/ example/generator/odp_generator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 53b397b33..6ee4f6389 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -655,7 +655,6 @@ static int gen_send_thread(void *arg) burst_size - ret); burst_start += ret; burst_size -= ret; - odp_time_wait_ns(ODP_TIME_MSEC_IN_NS); continue; } EXAMPLE_ERR(" [%02i] packet send failed\n", thr);