vppinfra: correct fixed pool header size calculation 11/26211/2
authorDave Barach <[email protected]>
Mon, 24 Feb 2020 14:19:12 +0000 (09:19 -0500)
committerAndrew Yourtchenko <[email protected]>
Mon, 30 Mar 2020 13:56:18 +0000 (13:56 +0000)
commit892cc729f8a6cfddeb381ed18bbbd4e742e2a6d5
tree30d897959a92e6899233a53e23a390b66b9d01a1
parent118c4461b3ede5dbc9d118befaf09b5dd2f3204d
vppinfra: correct fixed pool header size calculation

Remove duplicate space allocation for the pool header. Not significant
w/ CLIB_CACHE_LINE_BYTES >= 64 since the code rounds the size of the
pool header to an even multiple of the cache line size.

Type: fix

Signed-off-by: Dave Barach <[email protected]>
Change-Id: I923f2a60e7565cf2dfbc18d78264bf82ff30c926
(cherry picked from commit 6e495ce428e110665ee9616e0951015963502cac)
src/vppinfra/pool.c