From patchwork Wed Sep 17 23:05:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 37555 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 33A652054D for ; Wed, 17 Sep 2014 23:06:55 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id w61sf25787wes.4 for ; Wed, 17 Sep 2014 16:06:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=eQ9NR1mbBukuSgFWmNUjEdhcoKmRvPXBS0iKE/VlpxI=; b=OCQt5R1jBK+oDBgpnJ7uH4uIFbcn0EvmkzN56rDWlOc6n/4sDDnNopU3a/c4R8ukmI vFecHCEcMYt+Ua2Ia7MWptPPVsKIxUSoHjrjj6mcFlNkb6ClkiRh+pyJhQsvqwHjqKp2 TrqCLXhgooQ2/XNvULrIZdO0McFFUA44vLo/jIjcXb1qhUBI3pmz9reBAGzylseRfCSN 2L71Hy2jleeLWskFJKohi79Wm6fyefy4T2F/JuJnN/0Y5yjlA6wTC4sekk/l7uehFVxB drGGfvrdKcZNhN0TaD6Nwx79RqiW/HUmHOHCPa45mVaw8Ze/MprVMjAaAn5mIJNVhUmc 7hLw== X-Gm-Message-State: ALoCoQkWIG4vqzGMA2ScTMmy6huBgOY70in49To04jrpbjbUZ8SGFu0w2Q+FHtKMttPgDOje/VT5 X-Received: by 10.180.24.70 with SMTP id s6mr239321wif.3.1410995214329; Wed, 17 Sep 2014 16:06:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.167 with SMTP id dd7ls150039lad.36.gmail; Wed, 17 Sep 2014 16:06:54 -0700 (PDT) X-Received: by 10.152.28.199 with SMTP id d7mr675977lah.55.1410995214040; Wed, 17 Sep 2014 16:06:54 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id qx10si11977360lbb.111.2014.09.17.16.06.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 16:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id ty20so65555lab.9 for ; Wed, 17 Sep 2014 16:06:53 -0700 (PDT) X-Received: by 10.152.170.227 with SMTP id ap3mr721045lac.15.1410995213927; Wed, 17 Sep 2014 16:06:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp668038lbb; Wed, 17 Sep 2014 16:06:51 -0700 (PDT) X-Received: by 10.224.54.129 with SMTP id q1mr1308676qag.6.1410995199009; Wed, 17 Sep 2014 16:06:39 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id l9si24196867qae.53.2014.09.17.16.06.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 17 Sep 2014 16:06:36 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XUOJ0-0005gM-Hy; Wed, 17 Sep 2014 23:06:34 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XUOIj-0005fQ-6x for lng-odp@lists.linaro.org; Wed, 17 Sep 2014 23:06:17 +0000 Received: by mail-pa0-f52.google.com with SMTP id kq14so76714pab.25 for ; Wed, 17 Sep 2014 16:06:11 -0700 (PDT) X-Received: by 10.70.138.9 with SMTP id qm9mr400202pdb.131.1410995171564; Wed, 17 Sep 2014 16:06:11 -0700 (PDT) Received: from localhost.localdomain (70-35-38-154.static.wiline.com. [70.35.38.154]) by mx.google.com with ESMTPSA id f1sm17894333pdn.62.2014.09.17.16.06.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 16:06:10 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Thu, 18 Sep 2014 03:05:55 +0400 Message-Id: <1410995157-6905-3-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1410995157-6905-1-git-send-email-maxim.uvarov@linaro.org> References: <1410995157-6905-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/4] Shared memory flag default value X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Petri Savolainen Flags default value is zero (share memory within ODP, include HW accelerators). Signed-off-by: Petri Savolainen Signed-off-by: Maxim Uvarov --- example/generator/odp_generator.c | 5 +++-- example/ipsec/odp_ipsec.c | 12 ++++++++---- example/ipsec/odp_ipsec_cache.c | 3 ++- example/ipsec/odp_ipsec_fwd_db.c | 3 ++- example/ipsec/odp_ipsec_loop_db.c | 3 ++- example/ipsec/odp_ipsec_sa_db.c | 3 ++- example/ipsec/odp_ipsec_sp_db.c | 3 ++- example/ipsec/odp_ipsec_stream.c | 3 ++- example/l2fwd/odp_l2fwd.c | 5 +++-- example/odp_example/odp_example.c | 2 +- example/packet/odp_pktio.c | 5 +++-- example/timer/odp_timer_test.c | 2 +- platform/linux-generic/odp_buffer_pool.c | 2 +- platform/linux-generic/odp_crypto.c | 3 ++- platform/linux-generic/odp_packet_io.c | 2 +- platform/linux-generic/odp_queue.c | 2 +- platform/linux-generic/odp_ring.c | 2 +- platform/linux-generic/odp_schedule.c | 10 +++++++--- test/api_test/odp_shm_test.c | 2 +- test/api_test/odp_timer_ping.c | 2 +- 20 files changed, 46 insertions(+), 28 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 65c2034..10c7b31 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -537,7 +537,8 @@ int main(int argc, char *argv[]) odp_atomic_init_u64(&counters.icmp); /* Reserve memory for args from shared mem */ - args = odp_shm_reserve("shm_args", sizeof(args_t), ODP_CACHE_LINE_SIZE); + args = odp_shm_reserve("shm_args", sizeof(args_t), + ODP_CACHE_LINE_SIZE, 0); if (args == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); @@ -582,7 +583,7 @@ int main(int argc, char *argv[]) /* Create packet pool */ pool_base = odp_shm_reserve("shm_packet_pool", - SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); if (pool_base == NULL) { ODP_ERR("Error: packet pool mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 1f42fe6..5b7abf6 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -401,7 +401,8 @@ void ipsec_init_pre(void) /* Create output buffer pool */ pool_base = odp_shm_reserve("shm_out_pool", - SHM_OUT_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_OUT_POOL_SIZE, ODP_CACHE_LINE_SIZE, + 0); out_pool = odp_buffer_pool_create("out_pool", pool_base, SHM_OUT_POOL_SIZE, @@ -1190,7 +1191,8 @@ main(int argc, char *argv[]) odp_init_local(thr_id); /* Reserve memory for args from shared mem */ - args = odp_shm_reserve("shm_args", sizeof(args_t), ODP_CACHE_LINE_SIZE); + args = odp_shm_reserve("shm_args", sizeof(args_t), ODP_CACHE_LINE_SIZE, + 0); if (NULL == args) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); @@ -1232,7 +1234,8 @@ main(int argc, char *argv[]) /* Create packet buffer pool */ pool_base = odp_shm_reserve("shm_packet_pool", - SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE, + 0); if (NULL == pool_base) { ODP_ERR("Error: packet pool mem alloc failed.\n"); exit(EXIT_FAILURE); @@ -1250,7 +1253,8 @@ main(int argc, char *argv[]) /* Create context buffer pool */ pool_base = odp_shm_reserve("shm_ctx_pool", - SHM_CTX_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_CTX_POOL_SIZE, ODP_CACHE_LINE_SIZE, + 0); if (NULL == pool_base) { ODP_ERR("Error: context pool mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c index fe0618c..1b99218 100644 --- a/example/ipsec/odp_ipsec_cache.c +++ b/example/ipsec/odp_ipsec_cache.c @@ -21,7 +21,8 @@ void init_ipsec_cache(void) { ipsec_cache = odp_shm_reserve("shm_ipsec_cache", sizeof(ipsec_cache_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (ipsec_cache == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c index beb2d9e..de2e43e 100644 --- a/example/ipsec/odp_ipsec_fwd_db.c +++ b/example/ipsec/odp_ipsec_fwd_db.c @@ -20,7 +20,8 @@ void init_fwd_db(void) { fwd_db = odp_shm_reserve("shm_fwd_db", sizeof(fwd_db_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (fwd_db == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_loop_db.c b/example/ipsec/odp_ipsec_loop_db.c index 889b24f..222ccb9 100644 --- a/example/ipsec/odp_ipsec_loop_db.c +++ b/example/ipsec/odp_ipsec_loop_db.c @@ -21,7 +21,8 @@ void init_loopback_db(void) loopback_db = odp_shm_reserve("loopback_db", sizeof(loopback_db_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (loopback_db == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index c2e9e19..612da86 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -20,7 +20,8 @@ void init_sa_db(void) { sa_db = odp_shm_reserve("shm_sa_db", sizeof(sa_db_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (sa_db == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c index d498be5..7d9bba1 100644 --- a/example/ipsec/odp_ipsec_sp_db.c +++ b/example/ipsec/odp_ipsec_sp_db.c @@ -20,7 +20,8 @@ void init_sp_db(void) { sp_db = odp_shm_reserve("shm_sp_db", sizeof(sp_db_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (sp_db == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c index e1fb27e..ced055a 100644 --- a/example/ipsec/odp_ipsec_stream.c +++ b/example/ipsec/odp_ipsec_stream.c @@ -50,7 +50,8 @@ void init_stream_db(void) { stream_db = odp_shm_reserve("stream_db", sizeof(stream_db_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, + 0); if (stream_db == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 6a38c1b..e19aa94 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -329,7 +329,8 @@ int main(int argc, char *argv[]) } /* Reserve memory for args from shared mem */ - gbl_args = odp_shm_reserve("shm_args", sizeof(args_t), ODP_CACHE_LINE_SIZE); + gbl_args = odp_shm_reserve("shm_args", sizeof(args_t), + ODP_CACHE_LINE_SIZE, 0); if (gbl_args == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); @@ -380,7 +381,7 @@ int main(int argc, char *argv[]) /* Create packet pool */ pool_base = odp_shm_reserve("shm_packet_pool", - SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); if (pool_base == NULL) { ODP_ERR("Error: packet pool mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/odp_example/odp_example.c b/example/odp_example/odp_example.c index 40d237b..e99df85 100644 --- a/example/odp_example/odp_example.c +++ b/example/odp_example/odp_example.c @@ -1004,7 +1004,7 @@ int main(int argc, char *argv[]) * Create message pool */ pool_base = odp_shm_reserve("msg_pool", - MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE); + MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); pool = odp_buffer_pool_create("msg_pool", pool_base, MSG_POOL_SIZE, sizeof(test_message_t), diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index 88ce575..7f2d43f 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -317,7 +317,8 @@ int main(int argc, char *argv[]) } /* Reserve memory for args from shared mem */ - args = odp_shm_reserve("shm_args", sizeof(args_t), ODP_CACHE_LINE_SIZE); + args = odp_shm_reserve("shm_args", sizeof(args_t), + ODP_CACHE_LINE_SIZE, 0); if (args == NULL) { ODP_ERR("Error: shared mem alloc failed.\n"); exit(EXIT_FAILURE); @@ -358,7 +359,7 @@ int main(int argc, char *argv[]) /* Create packet pool */ pool_base = odp_shm_reserve("shm_packet_pool", - SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SHM_PKT_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); if (pool_base == NULL) { ODP_ERR("Error: packet pool mem alloc failed.\n"); exit(EXIT_FAILURE); diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c index 1061190..fd46f16 100644 --- a/example/timer/odp_timer_test.c +++ b/example/timer/odp_timer_test.c @@ -311,7 +311,7 @@ int main(int argc, char *argv[]) * Create message pool */ pool_base = odp_shm_reserve("msg_pool", - MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE); + MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); pool = odp_buffer_pool_create("msg_pool", pool_base, MSG_POOL_SIZE, 0, diff --git a/platform/linux-generic/odp_buffer_pool.c b/platform/linux-generic/odp_buffer_pool.c index e538f04..f54a0c4 100644 --- a/platform/linux-generic/odp_buffer_pool.c +++ b/platform/linux-generic/odp_buffer_pool.c @@ -117,7 +117,7 @@ int odp_buffer_pool_init_global(void) pool_tbl = odp_shm_reserve("odp_buffer_pools", sizeof(pool_table_t), - sizeof(pool_entry_t)); + sizeof(pool_entry_t), 0); if (pool_tbl == NULL) return -1; diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index fae546c..2942a84 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -409,7 +409,8 @@ odp_crypto_init_global(void) mem_size += (MAX_SESSIONS * sizeof(odp_crypto_generic_session_t)); /* Allocate our globally shared memory */ - global = odp_shm_reserve("crypto_pool", mem_size, ODP_CACHE_LINE_SIZE); + global = odp_shm_reserve("crypto_pool", mem_size, + ODP_CACHE_LINE_SIZE, 0); /* Clear it out */ memset(global, 0, mem_size); diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 33ade10..944c1d4 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -55,7 +55,7 @@ int odp_pktio_init_global(void) pktio_tbl = odp_shm_reserve("odp_pktio_entries", sizeof(pktio_table_t), - sizeof(pktio_entry_t)); + sizeof(pktio_entry_t), 0); if (pktio_tbl == NULL) return -1; diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index c637bdf..9852598 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -99,7 +99,7 @@ int odp_queue_init_global(void) queue_tbl = odp_shm_reserve("odp_queues", sizeof(queue_table_t), - sizeof(queue_entry_t)); + sizeof(queue_entry_t), 0); if (queue_tbl == NULL) return -1; diff --git a/platform/linux-generic/odp_ring.c b/platform/linux-generic/odp_ring.c index 720d8db..3e72952 100644 --- a/platform/linux-generic/odp_ring.c +++ b/platform/linux-generic/odp_ring.c @@ -171,7 +171,7 @@ odph_ring_create(const char *name, unsigned count, unsigned flags) odp_rwlock_write_lock(&qlock); /* reserve a memory zone for this ring.*/ - r = odp_shm_reserve(ring_name, ring_size, ODP_CACHE_LINE_SIZE); + r = odp_shm_reserve(ring_name, ring_size, ODP_CACHE_LINE_SIZE, 0); if (r != NULL) { /* init the ring structure */ diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index 9e399f1..16ae4af 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -89,16 +89,20 @@ int odp_schedule_init_global(void) sched = odp_shm_reserve("odp_scheduler", sizeof(sched_t), - ODP_CACHE_LINE_SIZE); + ODP_CACHE_LINE_SIZE, 0); if (sched == NULL) { ODP_ERR("Schedule init: Shm reserve failed.\n"); return -1; } - pool_base = odp_shm_reserve("odp_sched_pool", - SCHED_POOL_SIZE, ODP_CACHE_LINE_SIZE); + SCHED_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); + + if (pool_base == NULL) { + ODP_ERR("Schedule init: Shm reserve failed.\n"); + return -1; + } pool = odp_buffer_pool_create("odp_sched_pool", pool_base, SCHED_POOL_SIZE, sizeof(queue_desc_t), diff --git a/test/api_test/odp_shm_test.c b/test/api_test/odp_shm_test.c index 318d662..376b06f 100644 --- a/test/api_test/odp_shm_test.c +++ b/test/api_test/odp_shm_test.c @@ -47,7 +47,7 @@ int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) odp_print_system_info(); test_shared_data = odp_shm_reserve("test_shared_data", - sizeof(test_shared_data_t), 128); + sizeof(test_shared_data_t), 128, 0); memset(test_shared_data, 0, sizeof(test_shared_data_t)); printf("test shared data at %p\n\n", test_shared_data); diff --git a/test/api_test/odp_timer_ping.c b/test/api_test/odp_timer_ping.c index 6ba30d3..a31567a 100644 --- a/test/api_test/odp_timer_ping.c +++ b/test/api_test/odp_timer_ping.c @@ -328,7 +328,7 @@ int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED) * Create message pool */ pool_base = odp_shm_reserve("msg_pool", - MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE); + MSG_POOL_SIZE, ODP_CACHE_LINE_SIZE, 0); pool = odp_buffer_pool_create("msg_pool", pool_base, MSG_POOL_SIZE, BUF_SIZE,