aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/unix
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-12-23 17:05:02 +0100
committerDave Barach <openvpp@barachs.net>2021-12-24 12:44:34 +0000
commitb32bd70c1e83fff90d060ea1bbb41eb55e3f62b1 (patch)
treea4b45589446dd63741fc662e3bab28fd5a81562f /src/vlib/unix
parent65409fb341c110bf905be0e29833405bb3bbf4e6 (diff)
vlib: introduce vlib frame aux data
Type: improvement Change-Id: I53890a13210cfb0d2b2d9d8cfd9b15118d3bb273 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/unix')
-rw-r--r--src/vlib/unix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index 4ef96652470..69959fd9137 100644
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -704,8 +704,8 @@ vlib_unix_main (int argc, char *argv[])
vm->argv = (u8 **) argv;
vgm->name = argv[0];
vm->heap_base = clib_mem_get_heap ();
- vm->heap_aligned_base = (void *)
- (((uword) vm->heap_base) & ~(VLIB_FRAME_ALIGN - 1));
+ vm->heap_aligned_base =
+ (void *) (((uword) vm->heap_base) & ~(CLIB_CACHE_LINE_BYTES - 1));
ASSERT (vm->heap_base);
clib_time_init (&vm->clib_time);