aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2024-01-19 21:19:57 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-01-20 18:28:09 +0000
commit038dad7ef29b0b724071edb5f8cc7a9845584454 (patch)
treefd49f72aa41a215b73be0409dc1f512e1f82bef2 /src/vlib/buffer.h
parent5840c66bbc15b265e280997b028442f9fedd92f6 (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/buffer.h')
-rw-r--r--src/vlib/buffer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vlib/buffer.h b/src/vlib/buffer.h
index a747ea9f966..7d45689ed19 100644
--- a/src/vlib/buffer.h
+++ b/src/vlib/buffer.h
@@ -47,8 +47,7 @@
#include <vppinfra/lock.h>
#include <vlib/error.h> /* for vlib_error_t */
-#include <vlib/config.h> /* for __PRE_DATA_SIZE */
-#define VLIB_BUFFER_PRE_DATA_SIZE __PRE_DATA_SIZE
+#include <vlib/config.h> /* for VLIB_BUFFER_PRE_DATA_SIZE */
#define VLIB_BUFFER_DEFAULT_DATA_SIZE (2048)