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>
---
/** Email created from pull request 327 
(bogdanPricope:master_update_generator_pr)
 ** https://github.com/Linaro/odp/pull/327
 ** Patch: https://github.com/Linaro/odp/pull/327.patch
 ** Base sha: 811281a22b6274b7f41b926a9cfbe09e48a366bd
 ** Merge commit sha: 9edce40a148dd5654384464f71ff62c58d5105fa
 **/
 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);

Reply via email to