diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-06-29 15:51:25 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-07-05 14:20:54 +0300 |
commit | 0330e7369aa682ac2c2feb2bcb197e52dc1810fb (patch) | |
tree | 299b135bacdf1faa63aa4188fbe2ebd8c549802c /test/performance/odp_pktio_ordered.c | |
parent | 7c72d611d8d568358d4a7849057e42708cbb10c3 (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.c | 2 |
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 |