eal: introduce new cache line macros
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 29 Jan 2016 07:45:52 +0000 (13:15 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 11 Feb 2016 11:45:35 +0000 (12:45 +0100)
commitacf7b47cdcc173d8ae9e36d66a434655bf837726
tree2d81c7f0ac02e42abd3638da12013d476968d939
parent6e757e69425a5e74b72be50a8ecc230c1d51b569
eal: introduce new cache line macros

- RTE_CACHE_LINE_MIN_SIZE(Supported minimum cache line size)
- __rte_cache_min_aligned(Force minimum cache line alignment)
- RTE_CACHE_LINE_SIZE_LOG2(Express cache line size in terms of log2)

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eal/common/include/rte_memory.h