aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/linux-generic/include/odp_pool_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h
index feeb28470..b6b108fdc 100644
--- a/platform/linux-generic/include/odp_pool_internal.h
+++ b/platform/linux-generic/include/odp_pool_internal.h
@@ -158,6 +158,7 @@ static inline void *get_blk(struct pool_entry_s *pool)
pool->blk_freelist = ((odp_buf_blk_t *)myhead)->next;
POOL_UNLOCK(&pool->blk_lock);
odp_atomic_dec_u32(&pool->blkcount);
+ odp_atomic_inc_u64(&pool->blkallocs);
}
return myhead;