eal: move cache line and IOVA related definitions
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Fri, 27 Sep 2019 13:50:52 +0000 (14:50 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 25 Oct 2019 17:30:36 +0000 (19:30 +0200)
commit2dcb5f798729589f4d9e33ede598f70ac59281f5
tree2945c95839134cb86c686898ccb966a1fbe70f7c
parent5d92c4e592c43166e23501fddee5ee0dc910cd6f
eal: move cache line and IOVA related definitions

Right now RTE_CACHE_ and IOVA definitions are located inside rte_memory.h
That might cause an unwanted inclusions of arch/os specific header files.
See [1] for particular problem example.
Probably the simplest way to deal with such problems -
move these definitions into rte_commmon.h

Note that this move doesn't introduce any change in functionality.

[1] https://bugs.dpdk.org/show_bug.cgi?id=321

Suggested-by: Vipin Varghese <vipin.varghese@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Michel Machado <michel@digirati.com.br>
lib/librte_eal/common/include/rte_common.h
lib/librte_eal/common/include/rte_memory.h