diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-09-06 11:56:43 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-12-08 16:10:20 +0200 |
commit | f0934af34212ad3ffa353643888d1da08bf742f7 (patch) | |
tree | 2371eee84c01616cc7472dcdcc03252d5cde2308 /helper/cuckootable.c | |
parent | 0576df3d4a507358c2be7a17ffdf8119f2aac658 (diff) |
helper: remove usage of deprecated ODP_SHM_SW_ONLY flag
Stop using deprecated SHM flag ODP_SHM_SW_ONLY.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'helper/cuckootable.c')
-rw-r--r-- | helper/cuckootable.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/helper/cuckootable.c b/helper/cuckootable.c index 49b8a5c86..ecf95a83a 100644 --- a/helper/cuckootable.c +++ b/helper/cuckootable.c @@ -236,9 +236,8 @@ odph_cuckoo_table_create( bucket_num = align32pow2(capacity) / HASH_BUCKET_ENTRIES; bucket_size = bucket_num * sizeof(struct cuckoo_table_bucket); - shm_tbl = odp_shm_reserve( - name, impl_size + bucket_size, - ODP_CACHE_LINE_SIZE, ODP_SHM_SW_ONLY); + shm_tbl = odp_shm_reserve(name, impl_size + bucket_size, + ODP_CACHE_LINE_SIZE, 0); if (shm_tbl == ODP_SHM_INVALID) { ODPH_DBG( |