diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-07-19 16:15:23 +0000 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-07-21 14:58:45 +0300 |
commit | fa9550ca8f4f0a77baf6d156b441fa2d703bbdf8 (patch) | |
tree | 347ea077d53fe7689fa178c9841f533338936a10 /helper | |
parent | 063d713d0c167c56b4497be566b2310a5a2daf42 (diff) |
helper: add missing pool param inits
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Diffstat (limited to 'helper')
-rw-r--r-- | helper/cuckootable.c | 1 | ||||
-rw-r--r-- | helper/iplookuptable.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/helper/cuckootable.c b/helper/cuckootable.c index 0d46300e0..32800911a 100644 --- a/helper/cuckootable.c +++ b/helper/cuckootable.c @@ -240,6 +240,7 @@ odph_cuckoo_table_create( if (pool != ODP_POOL_INVALID) odp_pool_destroy(pool); + odp_pool_param_init(¶m); param.type = ODP_POOL_BUFFER; param.buf.size = kv_entry_size; param.buf.align = ODP_CACHE_LINE_SIZE; diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c index 37d31e368..ac7d05872 100644 --- a/helper/iplookuptable.c +++ b/helper/iplookuptable.c @@ -192,6 +192,7 @@ cache_alloc_new_pool( uint32_t size = 0, num = 0; /* Create new pool (new free buffers). */ + odp_pool_param_init(¶m); param.type = ODP_POOL_BUFFER; param.buf.align = ODP_CACHE_LINE_SIZE; if (type == CACHE_TYPE_SUBTREE) { |