aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_pktio_ordered.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2018-06-29 15:51:25 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-07-05 14:20:54 +0300
commit0330e7369aa682ac2c2feb2bcb197e52dc1810fb (patch)
tree299b135bacdf1faa63aa4188fbe2ebd8c549802c /test/performance/odp_pktio_ordered.c
parent7c72d611d8d568358d4a7849057e42708cbb10c3 (diff)
example: use ODP_THREAD_COUNT_MAX as max worker count
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bogdan Pricope <bogdan.pricope@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance/odp_pktio_ordered.c')
-rw-r--r--test/performance/odp_pktio_ordered.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_pktio_ordered.c b/test/performance/odp_pktio_ordered.c
index 4c1b4260b..e884d38ab 100644
--- a/test/performance/odp_pktio_ordered.c
+++ b/test/performance/odp_pktio_ordered.c
@@ -79,7 +79,7 @@
#define MAX_NUM_PKT (8 * 1024)
/** Maximum number of worker threads */
-#define MAX_WORKERS 64
+#define MAX_WORKERS (ODP_THREAD_COUNT_MAX - 1)
/** Buffer size of the packet pool buffer in bytes*/
#define PKT_POOL_BUF_SIZE 1856