diff options
author | Damjan Marion <damarion@cisco.com> | 2022-03-18 15:48:12 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-03-18 22:17:45 +0000 |
commit | 3cfd529bd0f7c11ad39ad82a704d95ee5e818013 (patch) | |
tree | f79282cb930137872acb54b629f9cae4dee13e97 /src/vppinfra/pool.c | |
parent | f56b007356c145e0ef56e3590a20771a98383748 (diff) |
vppinfra: deprecate vec numa macros
More generic vector heap code coming in another patch...
Type: refactor
Change-Id: I2327128fb3aba9d5d330f46a35afec32e1e3942e
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/pool.c')
-rw-r--r-- | src/vppinfra/pool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/pool.c b/src/vppinfra/pool.c index 0cd14d4bb97..ff7278b1dcd 100644 --- a/src/vppinfra/pool.c +++ b/src/vppinfra/pool.c @@ -48,9 +48,9 @@ _pool_init_fixed (void **pool_ptr, u32 elt_size, u32 max_elts) ASSERT (elt_size); ASSERT (max_elts); - v = vec_resize_allocate_memory (0, max_elts, elt_size * max_elts, - sizeof (pool_header_t), - CLIB_CACHE_LINE_BYTES, VEC_NUMA_UNSPECIFIED); + v = + vec_resize_allocate_memory (0, max_elts, elt_size * max_elts, + sizeof (pool_header_t), CLIB_CACHE_LINE_BYTES); ph = pool_header (v); ph->max_elts = max_elts; |