vppinfra: deprecate CLIB_VEC64

Type: refactor
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Id1e7c0926036db4601c91438397ceed22381fc07
This commit is contained in:
Dave Barach
2020-02-21 17:31:17 -05:00
committed by Florin Coras
parent 487507f40f
commit 2fef3dfa5c
4 changed files with 1 additions and 385 deletions

View File

@ -1054,9 +1054,7 @@ much of anything else.
heapsize <n>M | <n>G
^^^^^^^^^^^^^^^^^^^^
Specifies the size of the heap in MB or GB. The default is 1GB. Setting the
main heap size to 4GB or more requires recompilation of the entire system
with CLIB_VEC64 > 0. See .../clib/clib/vec_bootstrap.h.
Specifies the size of the heap in MB or GB. The default is 1GB.
.. code-block:: console

View File

@ -31,11 +31,7 @@ typedef struct
uword callers[12];
/* Count of allocations with this traceback. */
#if CLIB_VEC64 > 0
u64 n_allocations;
#else
u32 n_allocations;
#endif
/* Count of bytes allocated with this traceback. */
u32 n_bytes;

File diff suppressed because it is too large Load Diff

View File

@ -54,13 +54,9 @@
typedef struct
{
#if CLIB_VEC64 > 0
u64 len;
#else
u32 len; /**< Number of elements in vector (NOT its allocated length). */
u8 numa_id; /**< NUMA id */
u8 vpad[3]; /**< pad to 8 bytes */
#endif
u8 vector_data[0]; /**< Vector data . */
} vec_header_t;