diff options
author | Damjan Marion <damarion@cisco.com> | 2024-01-19 21:19:57 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-01-20 18:28:09 +0000 |
commit | 038dad7ef29b0b724071edb5f8cc7a9845584454 (patch) | |
tree | fd49f72aa41a215b73be0409dc1f512e1f82bef2 /src/vlib/config.h.in | |
parent | 5840c66bbc15b265e280997b028442f9fedd92f6 (diff) |
buffers: add compile-time option to set buffer alignment
Type: improvement
Change-Id: I88c4c45bed0bdd8686e17e4f77a7d32a08c995aa
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/config.h.in')
-rw-r--r-- | src/vlib/config.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/config.h.in b/src/vlib/config.h.in index 19ec10cfcca..b233b327d31 100644 --- a/src/vlib/config.h.in +++ b/src/vlib/config.h.in @@ -16,7 +16,8 @@ #ifndef included_vlib_config_h #define included_vlib_config_h -#define __PRE_DATA_SIZE @PRE_DATA_SIZE@ +#define VLIB_BUFFER_PRE_DATA_SIZE @PRE_DATA_SIZE@ +#define VLIB_BUFFER_ALIGN @VLIB_BUFFER_ALIGN@ #define VLIB_BUFFER_ALLOC_FAULT_INJECTOR @BUFFER_ALLOC_FAULT_INJECTOR@ #define VLIB_PROCESS_LOG2_STACK_SIZE @VLIB_PROCESS_LOG2_STACK_SIZE@ |