Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
memif: use VPP cacheline size for memif when compiling within VPP
[vpp.git]
/
src
/
plugins
/
memif
/
CMakeLists.txt
diff --git
a/src/plugins/memif/CMakeLists.txt
b/src/plugins/memif/CMakeLists.txt
index
b86d30a
..
4bbf6ba
100644
(file)
--- a/
src/plugins/memif/CMakeLists.txt
+++ b/
src/plugins/memif/CMakeLists.txt
@@
-33,3
+33,5
@@
add_vpp_plugin(memif
INSTALL_HEADERS
memif.h
)
+
+add_compile_definitions(MEMIF_CACHELINE_SIZE=${VPP_CACHE_LINE_SIZE})