aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include
diff options
context:
space:
mode:
authorChristophe Milard <christophe.milard@linaro.org>2016-02-11 15:21:41 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-03-04 11:15:23 +0300
commit98e20f0a78da6bf680ffbf473abc99b88d8576d9 (patch)
tree6715608e902d887a5070040eac8f62c8edc6b8a7 /platform/linux-generic/include
parent307ad1208bc59e03425468eebe8cffdf09ccb669 (diff)
api and linux-generic: make room for new api
This is about making the current structure clearer so that other interfaces can be added to ODP: The ODP API specification (platform agnostic) is moved from include/odp/api to include/odp/api/spec. The ODP API platform definition (for linux generic) is moved from platform/linux-generic/include/odp to platform/linux-generic/include/odp/api Include statements are adjusted accordinaly. This patch has been done by a script which is given with the cover-letter of this patch series. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include')
-rw-r--r--platform/linux-generic/include/odp/api/align.h (renamed from platform/linux-generic/include/odp/align.h)2
-rw-r--r--platform/linux-generic/include/odp/api/atomic.h (renamed from platform/linux-generic/include/odp/atomic.h)6
-rw-r--r--platform/linux-generic/include/odp/api/barrier.h (renamed from platform/linux-generic/include/odp/barrier.h)10
-rw-r--r--platform/linux-generic/include/odp/api/buffer.h (renamed from platform/linux-generic/include/odp/buffer.h)10
-rw-r--r--platform/linux-generic/include/odp/api/byteorder.h (renamed from platform/linux-generic/include/odp/byteorder.h)8
-rw-r--r--platform/linux-generic/include/odp/api/classification.h (renamed from platform/linux-generic/include/odp/classification.h)14
-rw-r--r--platform/linux-generic/include/odp/api/compiler.h (renamed from platform/linux-generic/include/odp/compiler.h)2
-rw-r--r--platform/linux-generic/include/odp/api/config.h (renamed from platform/linux-generic/include/odp/config.h)2
-rw-r--r--platform/linux-generic/include/odp/api/cpu.h (renamed from platform/linux-generic/include/odp/cpu.h)2
-rw-r--r--platform/linux-generic/include/odp/api/cpumask.h (renamed from platform/linux-generic/include/odp/cpumask.h)6
-rw-r--r--platform/linux-generic/include/odp/api/crypto.h (renamed from platform/linux-generic/include/odp/crypto.h)14
-rw-r--r--platform/linux-generic/include/odp/api/debug.h (renamed from platform/linux-generic/include/odp/debug.h)2
-rw-r--r--platform/linux-generic/include/odp/api/errno.h (renamed from platform/linux-generic/include/odp/errno.h)2
-rw-r--r--platform/linux-generic/include/odp/api/event.h (renamed from platform/linux-generic/include/odp/event.h)4
-rw-r--r--platform/linux-generic/include/odp/api/hash.h (renamed from platform/linux-generic/include/odp/hash.h)2
-rw-r--r--platform/linux-generic/include/odp/api/hints.h (renamed from platform/linux-generic/include/odp/hints.h)2
-rw-r--r--platform/linux-generic/include/odp/api/init.h (renamed from platform/linux-generic/include/odp/init.h)4
-rw-r--r--platform/linux-generic/include/odp/api/packet.h (renamed from platform/linux-generic/include/odp/packet.h)14
-rw-r--r--platform/linux-generic/include/odp/api/packet_flags.h (renamed from platform/linux-generic/include/odp/packet_flags.h)2
-rw-r--r--platform/linux-generic/include/odp/api/packet_io.h (renamed from platform/linux-generic/include/odp/packet_io.h)14
-rw-r--r--platform/linux-generic/include/odp/api/plat/atomic_types.h (renamed from platform/linux-generic/include/odp/plat/atomic_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/barrier_types.h (renamed from platform/linux-generic/include/odp/plat/barrier_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/buffer_types.h (renamed from platform/linux-generic/include/odp/plat/buffer_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/byteorder_types.h (renamed from platform/linux-generic/include/odp/plat/byteorder_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/classification_types.h (renamed from platform/linux-generic/include/odp/plat/classification_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/cpumask_types.h (renamed from platform/linux-generic/include/odp/plat/cpumask_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/crypto_types.h (renamed from platform/linux-generic/include/odp/plat/crypto_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/event_types.h (renamed from platform/linux-generic/include/odp/plat/event_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/init_types.h (renamed from platform/linux-generic/include/odp/plat/init_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_io_types.h (renamed from platform/linux-generic/include/odp/plat/packet_io_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/packet_types.h (renamed from platform/linux-generic/include/odp/plat/packet_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/pool_types.h (renamed from platform/linux-generic/include/odp/plat/pool_types.h)6
-rw-r--r--platform/linux-generic/include/odp/api/plat/queue_types.h (renamed from platform/linux-generic/include/odp/plat/queue_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/rwlock_recursive_types.h (renamed from platform/linux-generic/include/odp/plat/rwlock_recursive_types.h)6
-rw-r--r--platform/linux-generic/include/odp/api/plat/rwlock_types.h (renamed from platform/linux-generic/include/odp/plat/rwlock_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/schedule_types.h (renamed from platform/linux-generic/include/odp/plat/schedule_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/shared_memory_types.h (renamed from platform/linux-generic/include/odp/plat/shared_memory_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/spinlock_recursive_types.h (renamed from platform/linux-generic/include/odp/plat/spinlock_recursive_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/plat/spinlock_types.h (renamed from platform/linux-generic/include/odp/plat/spinlock_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/strong_types.h (renamed from platform/linux-generic/include/odp/plat/strong_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/thread_types.h (renamed from platform/linux-generic/include/odp/plat/thread_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/thrmask_types.h (renamed from platform/linux-generic/include/odp/plat/thrmask_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/ticketlock_types.h (renamed from platform/linux-generic/include/odp/plat/ticketlock_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/plat/time_types.h (renamed from platform/linux-generic/include/odp/plat/time_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/timer_types.h (renamed from platform/linux-generic/include/odp/plat/timer_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/plat/version_types.h (renamed from platform/linux-generic/include/odp/plat/version_types.h)0
-rw-r--r--platform/linux-generic/include/odp/api/pool.h (renamed from platform/linux-generic/include/odp/pool.h)8
-rw-r--r--platform/linux-generic/include/odp/api/queue.h (renamed from platform/linux-generic/include/odp/queue.h)12
-rw-r--r--platform/linux-generic/include/odp/api/random.h (renamed from platform/linux-generic/include/odp/random.h)2
-rw-r--r--platform/linux-generic/include/odp/api/rwlock.h (renamed from platform/linux-generic/include/odp/rwlock.h)4
-rw-r--r--platform/linux-generic/include/odp/api/rwlock_recursive.h (renamed from platform/linux-generic/include/odp/rwlock_recursive.h)4
-rw-r--r--platform/linux-generic/include/odp/api/schedule.h (renamed from platform/linux-generic/include/odp/schedule.h)4
-rw-r--r--platform/linux-generic/include/odp/api/schedule_types.h (renamed from platform/linux-generic/include/odp/schedule_types.h)4
-rw-r--r--platform/linux-generic/include/odp/api/shared_memory.h (renamed from platform/linux-generic/include/odp/shared_memory.h)4
-rw-r--r--platform/linux-generic/include/odp/api/spinlock.h (renamed from platform/linux-generic/include/odp/spinlock.h)4
-rw-r--r--platform/linux-generic/include/odp/api/spinlock_recursive.h (renamed from platform/linux-generic/include/odp/spinlock_recursive.h)4
-rw-r--r--platform/linux-generic/include/odp/api/std_clib.h (renamed from platform/linux-generic/include/odp/std_clib.h)2
-rw-r--r--platform/linux-generic/include/odp/api/std_types.h (renamed from platform/linux-generic/include/odp/std_types.h)2
-rw-r--r--platform/linux-generic/include/odp/api/sync.h (renamed from platform/linux-generic/include/odp/sync.h)2
-rw-r--r--platform/linux-generic/include/odp/api/system_info.h (renamed from platform/linux-generic/include/odp/system_info.h)4
-rw-r--r--platform/linux-generic/include/odp/api/thread.h (renamed from platform/linux-generic/include/odp/thread.h)4
-rw-r--r--platform/linux-generic/include/odp/api/thrmask.h (renamed from platform/linux-generic/include/odp/thrmask.h)4
-rw-r--r--platform/linux-generic/include/odp/api/ticketlock.h (renamed from platform/linux-generic/include/odp/ticketlock.h)4
-rw-r--r--platform/linux-generic/include/odp/api/time.h (renamed from platform/linux-generic/include/odp/time.h)6
-rw-r--r--platform/linux-generic/include/odp/api/timer.h (renamed from platform/linux-generic/include/odp/timer.h)12
-rw-r--r--platform/linux-generic/include/odp/api/version.h (renamed from platform/linux-generic/include/odp/version.h)4
-rw-r--r--platform/linux-generic/include/odp_align_internal.h2
-rw-r--r--platform/linux-generic/include/odp_atomic_internal.h8
-rw-r--r--platform/linux-generic/include/odp_buffer_internal.h20
-rw-r--r--platform/linux-generic/include/odp_classification_datamodel.h4
-rw-r--r--platform/linux-generic/include/odp_classification_inlines.h2
-rw-r--r--platform/linux-generic/include/odp_classification_internal.h6
-rw-r--r--platform/linux-generic/include/odp_debug_internal.h2
-rw-r--r--platform/linux-generic/include/odp_internal.h4
-rw-r--r--platform/linux-generic/include/odp_packet_internal.h10
-rw-r--r--platform/linux-generic/include/odp_packet_io_internal.h8
-rw-r--r--platform/linux-generic/include/odp_packet_netmap.h10
-rw-r--r--platform/linux-generic/include/odp_packet_socket.h12
-rw-r--r--platform/linux-generic/include/odp_packet_tap.h2
-rw-r--r--platform/linux-generic/include/odp_pool_internal.h22
-rw-r--r--platform/linux-generic/include/odp_queue_internal.h12
-rw-r--r--platform/linux-generic/include/odp_schedule_internal.h6
-rw-r--r--platform/linux-generic/include/odp_timer_internal.h6
83 files changed, 206 insertions, 206 deletions
diff --git a/platform/linux-generic/include/odp/align.h b/platform/linux-generic/include/odp/api/align.h
index be8c9ae07..2f2d1e42e 100644
--- a/platform/linux-generic/include/odp/align.h
+++ b/platform/linux-generic/include/odp/api/align.h
@@ -65,7 +65,7 @@ extern "C" {
* @}
*/
-#include <odp/api/align.h>
+#include <odp/api/spec/align.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/atomic.h b/platform/linux-generic/include/odp/api/atomic.h
index e262f4851..b48738358 100644
--- a/platform/linux-generic/include/odp/atomic.h
+++ b/platform/linux-generic/include/odp/api/atomic.h
@@ -17,8 +17,8 @@
extern "C" {
#endif
-#include <odp/align.h>
-#include <odp/plat/atomic_types.h>
+#include <odp/api/align.h>
+#include <odp/api/plat/atomic_types.h>
/** @ingroup odp_atomic
* @{
@@ -411,7 +411,7 @@ static inline int odp_atomic_cas_acq_rel_u64(odp_atomic_u64_t *atom,
* @}
*/
-#include <odp/api/atomic.h>
+#include <odp/api/spec/atomic.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/barrier.h b/platform/linux-generic/include/odp/api/barrier.h
index 3447429f0..ab1b77562 100644
--- a/platform/linux-generic/include/odp/barrier.h
+++ b/platform/linux-generic/include/odp/api/barrier.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/atomic.h>
-#include <odp/plat/shared_memory_types.h>
-#include <odp/plat/barrier_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/atomic.h>
+#include <odp/api/plat/shared_memory_types.h>
+#include <odp/api/plat/barrier_types.h>
-#include <odp/api/barrier.h>
+#include <odp/api/spec/barrier.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/buffer.h b/platform/linux-generic/include/odp/api/buffer.h
index ae80e0c5c..81dbf1280 100644
--- a/platform/linux-generic/include/odp/buffer.h
+++ b/platform/linux-generic/include/odp/api/buffer.h
@@ -17,10 +17,10 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/event_types.h>
-#include <odp/plat/buffer_types.h>
-#include <odp/plat/pool_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/event_types.h>
+#include <odp/api/plat/buffer_types.h>
+#include <odp/api/plat/pool_types.h>
/** @ingroup odp_buffer
* @{
@@ -30,7 +30,7 @@ extern "C" {
* @}
*/
-#include <odp/api/buffer.h>
+#include <odp/api/spec/buffer.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/byteorder.h b/platform/linux-generic/include/odp/api/byteorder.h
index 6c94556b0..c347be071 100644
--- a/platform/linux-generic/include/odp/byteorder.h
+++ b/platform/linux-generic/include/odp/api/byteorder.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/byteorder_types.h>
-#include <odp/std_types.h>
-#include <odp/compiler.h>
+#include <odp/api/plat/byteorder_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/compiler.h>
/** @ingroup odp_compiler_optim
* @{
@@ -140,7 +140,7 @@ static inline odp_u64le_t odp_cpu_to_le_64(uint64_t cpu64)
* @}
*/
-#include <odp/api/byteorder.h>
+#include <odp/api/spec/byteorder.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/classification.h b/platform/linux-generic/include/odp/api/classification.h
index 5f122666d..0bec38be8 100644
--- a/platform/linux-generic/include/odp/classification.h
+++ b/platform/linux-generic/include/odp/api/classification.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/pool_types.h>
-#include <odp/plat/classification_types.h>
-#include <odp/plat/packet_types.h>
-#include <odp/plat/packet_io_types.h>
-#include <odp/plat/queue_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/pool_types.h>
+#include <odp/api/plat/classification_types.h>
+#include <odp/api/plat/packet_types.h>
+#include <odp/api/plat/packet_io_types.h>
+#include <odp/api/plat/queue_types.h>
/** @ingroup odp_classification
* @{
@@ -32,7 +32,7 @@ extern "C" {
* @}
*/
-#include <odp/api/classification.h>
+#include <odp/api/spec/classification.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/compiler.h b/platform/linux-generic/include/odp/api/compiler.h
index 8f15961dc..5249d5d62 100644
--- a/platform/linux-generic/include/odp/compiler.h
+++ b/platform/linux-generic/include/odp/api/compiler.h
@@ -25,7 +25,7 @@ extern "C" {
* @}
*/
-#include <odp/api/compiler.h>
+#include <odp/api/spec/compiler.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/config.h b/platform/linux-generic/include/odp/api/config.h
index da8856ff0..e21b6f71c 100644
--- a/platform/linux-generic/include/odp/config.h
+++ b/platform/linux-generic/include/odp/api/config.h
@@ -187,7 +187,7 @@ static inline int odp_config_shm_blocks(void)
return ODP_CONFIG_SHM_BLOCKS;
}
-#include <odp/api/config.h>
+#include <odp/api/spec/config.h>
/**
* @}
diff --git a/platform/linux-generic/include/odp/cpu.h b/platform/linux-generic/include/odp/api/cpu.h
index b98507dd5..e0bdc9eec 100644
--- a/platform/linux-generic/include/odp/cpu.h
+++ b/platform/linux-generic/include/odp/api/cpu.h
@@ -19,7 +19,7 @@ extern "C" {
#include <odp/cpu_arch.h>
-#include <odp/api/cpu.h>
+#include <odp/api/spec/cpu.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/cpumask.h b/platform/linux-generic/include/odp/api/cpumask.h
index cf7ad9d6a..15bf25e8a 100644
--- a/platform/linux-generic/include/odp/cpumask.h
+++ b/platform/linux-generic/include/odp/api/cpumask.h
@@ -20,10 +20,10 @@ extern "C" {
#include <string.h>
#include <sched.h>
-#include <odp/std_types.h>
-#include <odp/plat/cpumask_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/cpumask_types.h>
-#include <odp/api/cpumask.h>
+#include <odp/api/spec/cpumask.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/crypto.h b/platform/linux-generic/include/odp/api/crypto.h
index 7684c1e8c..4f65932aa 100644
--- a/platform/linux-generic/include/odp/crypto.h
+++ b/platform/linux-generic/include/odp/api/crypto.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/packet_types.h>
-#include <odp/plat/crypto_types.h>
-#include <odp/plat/buffer_types.h>
-#include <odp/plat/pool_types.h>
-#include <odp/queue.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/packet_types.h>
+#include <odp/api/plat/crypto_types.h>
+#include <odp/api/plat/buffer_types.h>
+#include <odp/api/plat/pool_types.h>
+#include <odp/api/queue.h>
/** @ingroup odp_crypto
* @{
@@ -32,7 +32,7 @@ extern "C" {
* @}
*/
-#include <odp/api/crypto.h>
+#include <odp/api/spec/crypto.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/debug.h b/platform/linux-generic/include/odp/api/debug.h
index a2e59bf7d..dc1fce08d 100644
--- a/platform/linux-generic/include/odp/debug.h
+++ b/platform/linux-generic/include/odp/api/debug.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/api/debug.h>
+#include <odp/api/spec/debug.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/errno.h b/platform/linux-generic/include/odp/api/errno.h
index e53b49cf8..f70d84df0 100644
--- a/platform/linux-generic/include/odp/errno.h
+++ b/platform/linux-generic/include/odp/api/errno.h
@@ -18,7 +18,7 @@ extern "C" {
#endif
-#include <odp/api/errno.h>
+#include <odp/api/spec/errno.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/event.h b/platform/linux-generic/include/odp/api/event.h
index 753d0235f..55931b625 100644
--- a/platform/linux-generic/include/odp/event.h
+++ b/platform/linux-generic/include/odp/api/event.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/event_types.h>
+#include <odp/api/plat/event_types.h>
/** @ingroup odp_event
* @{
@@ -27,7 +27,7 @@ extern "C" {
* @}
*/
-#include <odp/api/event.h>
+#include <odp/api/spec/event.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/hash.h b/platform/linux-generic/include/odp/api/hash.h
index df8add002..332029ed0 100644
--- a/platform/linux-generic/include/odp/hash.h
+++ b/platform/linux-generic/include/odp/api/hash.h
@@ -25,7 +25,7 @@ extern "C" {
* @}
*/
-#include <odp/api/hash.h>
+#include <odp/api/spec/hash.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/hints.h b/platform/linux-generic/include/odp/api/hints.h
index 002cfa8d0..3ba1ba95e 100644
--- a/platform/linux-generic/include/odp/hints.h
+++ b/platform/linux-generic/include/odp/api/hints.h
@@ -25,7 +25,7 @@ extern "C" {
* @}
*/
-#include <odp/api/hints.h>
+#include <odp/api/spec/hints.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/init.h b/platform/linux-generic/include/odp/api/init.h
index 3233e36de..1d9f59a6f 100644
--- a/platform/linux-generic/include/odp/init.h
+++ b/platform/linux-generic/include/odp/api/init.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/init_types.h>
+#include <odp/api/plat/init_types.h>
/** @ingroup odp_initialization
* @{
@@ -27,7 +27,7 @@ extern "C" {
* @}
*/
-#include <odp/api/init.h>
+#include <odp/api/spec/init.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/packet.h b/platform/linux-generic/include/odp/api/packet.h
index a59988b36..ebbeaf1b9 100644
--- a/platform/linux-generic/include/odp/packet.h
+++ b/platform/linux-generic/include/odp/api/packet.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/event_types.h>
-#include <odp/plat/packet_io_types.h>
-#include <odp/plat/packet_types.h>
-#include <odp/plat/buffer_types.h>
-#include <odp/plat/pool_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/event_types.h>
+#include <odp/api/plat/packet_io_types.h>
+#include <odp/api/plat/packet_types.h>
+#include <odp/api/plat/buffer_types.h>
+#include <odp/api/plat/pool_types.h>
/** @ingroup odp_packet
* @{
@@ -32,7 +32,7 @@ extern "C" {
* @}
*/
-#include <odp/api/packet.h>
+#include <odp/api/spec/packet.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/packet_flags.h b/platform/linux-generic/include/odp/api/packet_flags.h
index 5b9c3ca2d..467f5b1d7 100644
--- a/platform/linux-generic/include/odp/packet_flags.h
+++ b/platform/linux-generic/include/odp/api/packet_flags.h
@@ -25,7 +25,7 @@ extern "C" {
* @}
*/
-#include <odp/api/packet_flags.h>
+#include <odp/api/spec/packet_flags.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/packet_io.h b/platform/linux-generic/include/odp/api/packet_io.h
index 1d690f577..76c7dfeda 100644
--- a/platform/linux-generic/include/odp/packet_io.h
+++ b/platform/linux-generic/include/odp/api/packet_io.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/pool_types.h>
-#include <odp/plat/classification_types.h>
-#include <odp/plat/packet_types.h>
-#include <odp/plat/packet_io_types.h>
-#include <odp/plat/queue_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/pool_types.h>
+#include <odp/api/plat/classification_types.h>
+#include <odp/api/plat/packet_types.h>
+#include <odp/api/plat/packet_io_types.h>
+#include <odp/api/plat/queue_types.h>
/** @ingroup odp_packet_io
* @{
@@ -32,7 +32,7 @@ extern "C" {
* @}
*/
-#include <odp/api/packet_io.h>
+#include <odp/api/spec/packet_io.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/plat/atomic_types.h b/platform/linux-generic/include/odp/api/plat/atomic_types.h
index bc0bd8bfe..3bb2bbddb 100644
--- a/platform/linux-generic/include/odp/plat/atomic_types.h
+++ b/platform/linux-generic/include/odp/api/plat/atomic_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/align.h>
+#include <odp/api/std_types.h>
+#include <odp/api/align.h>
/**
* @internal
diff --git a/platform/linux-generic/include/odp/plat/barrier_types.h b/platform/linux-generic/include/odp/api/plat/barrier_types.h
index b8e1d97bb..440275e79 100644
--- a/platform/linux-generic/include/odp/plat/barrier_types.h
+++ b/platform/linux-generic/include/odp/api/plat/barrier_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/atomic.h>
+#include <odp/api/std_types.h>
+#include <odp/api/atomic.h>
/**
* @internal
diff --git a/platform/linux-generic/include/odp/plat/buffer_types.h b/platform/linux-generic/include/odp/api/plat/buffer_types.h
index 32030206b..344121b61 100644
--- a/platform/linux-generic/include/odp/plat/buffer_types.h
+++ b/platform/linux-generic/include/odp/api/plat/buffer_types.h
@@ -17,8 +17,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** ODP buffer */
typedef ODP_HANDLE_T(odp_buffer_t);
diff --git a/platform/linux-generic/include/odp/plat/byteorder_types.h b/platform/linux-generic/include/odp/api/plat/byteorder_types.h
index 0a8e4096e..0a8e4096e 100644
--- a/platform/linux-generic/include/odp/plat/byteorder_types.h
+++ b/platform/linux-generic/include/odp/api/plat/byteorder_types.h
diff --git a/platform/linux-generic/include/odp/plat/classification_types.h b/platform/linux-generic/include/odp/api/plat/classification_types.h
index d9b9c774b..2093f54ac 100644
--- a/platform/linux-generic/include/odp/plat/classification_types.h
+++ b/platform/linux-generic/include/odp/api/plat/classification_types.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/strong_types.h>
+#include <odp/api/plat/strong_types.h>
/** @addtogroup odp_classification
* @{
diff --git a/platform/linux-generic/include/odp/plat/cpumask_types.h b/platform/linux-generic/include/odp/api/plat/cpumask_types.h
index 8923f3622..c59f407a0 100644
--- a/platform/linux-generic/include/odp/plat/cpumask_types.h
+++ b/platform/linux-generic/include/odp/api/plat/cpumask_types.h
@@ -22,7 +22,7 @@ extern "C" {
* @{
*/
-#include <odp/std_types.h>
+#include <odp/api/std_types.h>
#define ODP_CPUMASK_SIZE 1024
diff --git a/platform/linux-generic/include/odp/plat/crypto_types.h b/platform/linux-generic/include/odp/api/plat/crypto_types.h
index 0cbbce8bd..0cbbce8bd 100644
--- a/platform/linux-generic/include/odp/plat/crypto_types.h
+++ b/platform/linux-generic/include/odp/api/plat/crypto_types.h
diff --git a/platform/linux-generic/include/odp/plat/event_types.h b/platform/linux-generic/include/odp/api/plat/event_types.h
index 06b15cdfe..9ca0fb80f 100644
--- a/platform/linux-generic/include/odp/plat/event_types.h
+++ b/platform/linux-generic/include/odp/api/plat/event_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** @defgroup odp_event ODP EVENT
* Operations on an event.
diff --git a/platform/linux-generic/include/odp/plat/init_types.h b/platform/linux-generic/include/odp/api/plat/init_types.h
index b240c93ca..b240c93ca 100644
--- a/platform/linux-generic/include/odp/plat/init_types.h
+++ b/platform/linux-generic/include/odp/api/plat/init_types.h
diff --git a/platform/linux-generic/include/odp/plat/packet_io_types.h b/platform/linux-generic/include/odp/api/plat/packet_io_types.h
index 934d7de97..cd43083ee 100644
--- a/platform/linux-generic/include/odp/plat/packet_io_types.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_io_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** @addtogroup odp_packet_io
* Operations on a packet.
diff --git a/platform/linux-generic/include/odp/plat/packet_types.h b/platform/linux-generic/include/odp/api/plat/packet_types.h
index 45cb8010d..5d1690faf 100644
--- a/platform/linux-generic/include/odp/plat/packet_types.h
+++ b/platform/linux-generic/include/odp/api/plat/packet_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** @addtogroup odp_packet ODP PACKET
* Operations on a packet.
diff --git a/platform/linux-generic/include/odp/plat/pool_types.h b/platform/linux-generic/include/odp/api/plat/pool_types.h
index 4b32c29ea..1ca8f02ed 100644
--- a/platform/linux-generic/include/odp/plat/pool_types.h
+++ b/platform/linux-generic/include/odp/api/plat/pool_types.h
@@ -13,9 +13,9 @@
#ifndef ODP_POOL_TYPES_H_
#define ODP_POOL_TYPES_H_
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
-#include <odp/plat/event_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
+#include <odp/api/plat/event_types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/platform/linux-generic/include/odp/plat/queue_types.h b/platform/linux-generic/include/odp/api/plat/queue_types.h
index 40a53e5e6..82b95bd89 100644
--- a/platform/linux-generic/include/odp/plat/queue_types.h
+++ b/platform/linux-generic/include/odp/api/plat/queue_types.h
@@ -17,8 +17,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** @addtogroup odp_queue ODP QUEUE
* Macros and operation on a queue.
diff --git a/platform/linux-generic/include/odp/plat/rwlock_recursive_types.h b/platform/linux-generic/include/odp/api/plat/rwlock_recursive_types.h
index 474751cf0..36f9204ac 100644
--- a/platform/linux-generic/include/odp/plat/rwlock_recursive_types.h
+++ b/platform/linux-generic/include/odp/api/plat/rwlock_recursive_types.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/rwlock.h>
-#include <odp/std_types.h>
-#include <odp/thread.h>
+#include <odp/api/rwlock.h>
+#include <odp/api/std_types.h>
+#include <odp/api/thread.h>
/** @internal */
struct odp_rwlock_recursive_s {
diff --git a/platform/linux-generic/include/odp/plat/rwlock_types.h b/platform/linux-generic/include/odp/api/plat/rwlock_types.h
index 35d65decb..f7dc04496 100644
--- a/platform/linux-generic/include/odp/plat/rwlock_types.h
+++ b/platform/linux-generic/include/odp/api/plat/rwlock_types.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp/atomic.h>
+#include <odp/api/atomic.h>
/** @internal */
struct odp_rwlock_s {
diff --git a/platform/linux-generic/include/odp/plat/schedule_types.h b/platform/linux-generic/include/odp/api/plat/schedule_types.h
index a4a352c04..a4a352c04 100644
--- a/platform/linux-generic/include/odp/plat/schedule_types.h
+++ b/platform/linux-generic/include/odp/api/plat/schedule_types.h
diff --git a/platform/linux-generic/include/odp/plat/shared_memory_types.h b/platform/linux-generic/include/odp/api/plat/shared_memory_types.h
index 4be7356dd..4d8bbccb8 100644
--- a/platform/linux-generic/include/odp/plat/shared_memory_types.h
+++ b/platform/linux-generic/include/odp/api/plat/shared_memory_types.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/strong_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/strong_types.h>
/** @addtogroup odp_shared_memory ODP SHARED MEMORY
* Operations on shared memory.
diff --git a/platform/linux-generic/include/odp/plat/spinlock_recursive_types.h b/platform/linux-generic/include/odp/api/plat/spinlock_recursive_types.h
index 2809277bd..c5a1adff9 100644
--- a/platform/linux-generic/include/odp/plat/spinlock_recursive_types.h
+++ b/platform/linux-generic/include/odp/api/plat/spinlock_recursive_types.h
@@ -17,8 +17,8 @@
extern "C" {
#endif
-#include <odp/spinlock.h>
-#include <odp/std_types.h>
+#include <odp/api/spinlock.h>
+#include <odp/api/std_types.h>
/** @internal */
struct odp_spinlock_recursive_s {
diff --git a/platform/linux-generic/include/odp/plat/spinlock_types.h b/platform/linux-generic/include/odp/api/plat/spinlock_types.h
index 3e0231d1d..f38ece6af 100644
--- a/platform/linux-generic/include/odp/plat/spinlock_types.h
+++ b/platform/linux-generic/include/odp/api/plat/spinlock_types.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp/std_types.h>
+#include <odp/api/std_types.h>
/** @internal */
struct odp_spinlock_s {
diff --git a/platform/linux-generic/include/odp/plat/strong_types.h b/platform/linux-generic/include/odp/api/plat/strong_types.h
index a53d76352..a53d76352 100644
--- a/platform/linux-generic/include/odp/plat/strong_types.h
+++ b/platform/linux-generic/include/odp/api/plat/strong_types.h
diff --git a/platform/linux-generic/include/odp/plat/thread_types.h b/platform/linux-generic/include/odp/api/plat/thread_types.h
index 33af45983..33af45983 100644
--- a/platform/linux-generic/include/odp/plat/thread_types.h
+++ b/platform/linux-generic/include/odp/api/plat/thread_types.h
diff --git a/platform/linux-generic/include/odp/plat/thrmask_types.h b/platform/linux-generic/include/odp/api/plat/thrmask_types.h
index 8b3c2fbcf..5d93890c1 100644
--- a/platform/linux-generic/include/odp/plat/thrmask_types.h
+++ b/platform/linux-generic/include/odp/api/plat/thrmask_types.h
@@ -21,7 +21,7 @@ extern "C" {
* @{
*/
-#include <odp/cpumask.h>
+#include <odp/api/cpumask.h>
/**
* Minimum size of output buffer for odp_thrmask_to_str()
diff --git a/platform/linux-generic/include/odp/plat/ticketlock_types.h b/platform/linux-generic/include/odp/api/plat/ticketlock_types.h
index 73f970542..81d479d61 100644
--- a/platform/linux-generic/include/odp/plat/ticketlock_types.h
+++ b/platform/linux-generic/include/odp/api/plat/ticketlock_types.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp/atomic.h>
+#include <odp/api/atomic.h>
/** @internal */
struct odp_ticketlock_s {
diff --git a/platform/linux-generic/include/odp/plat/time_types.h b/platform/linux-generic/include/odp/api/plat/time_types.h
index 1b9409b2a..1b9409b2a 100644
--- a/platform/linux-generic/include/odp/plat/time_types.h
+++ b/platform/linux-generic/include/odp/api/plat/time_types.h
diff --git a/platform/linux-generic/include/odp/plat/timer_types.h b/platform/linux-generic/include/odp/api/plat/timer_types.h
index 006683e90..006683e90 100644
--- a/platform/linux-generic/include/odp/plat/timer_types.h
+++ b/platform/linux-generic/include/odp/api/plat/timer_types.h
diff --git a/platform/linux-generic/include/odp/plat/version_types.h b/platform/linux-generic/include/odp/api/plat/version_types.h
index e3327eb33..e3327eb33 100644
--- a/platform/linux-generic/include/odp/plat/version_types.h
+++ b/platform/linux-generic/include/odp/api/plat/version_types.h
diff --git a/platform/linux-generic/include/odp/pool.h b/platform/linux-generic/include/odp/api/pool.h
index 02bc3b719..d712b6501 100644
--- a/platform/linux-generic/include/odp/pool.h
+++ b/platform/linux-generic/include/odp/api/pool.h
@@ -25,10 +25,10 @@ extern "C" {
* @}
*/
-#include <odp/plat/pool_types.h>
-#include <odp/plat/shared_memory_types.h>
-#include <odp/plat/event_types.h>
-#include <odp/api/pool.h>
+#include <odp/api/plat/pool_types.h>
+#include <odp/api/plat/shared_memory_types.h>
+#include <odp/api/plat/event_types.h>
+#include <odp/api/spec/pool.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/queue.h b/platform/linux-generic/include/odp/api/queue.h
index 3aa2150e9..a5cf87347 100644
--- a/platform/linux-generic/include/odp/queue.h
+++ b/platform/linux-generic/include/odp/api/queue.h
@@ -17,11 +17,11 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/event_types.h>
-#include <odp/plat/queue_types.h>
-#include <odp/plat/buffer_types.h>
-#include <odp/plat/pool_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/event_types.h>
+#include <odp/api/plat/queue_types.h>
+#include <odp/api/plat/buffer_types.h>
+#include <odp/api/plat/pool_types.h>
/** @ingroup odp_queue
* @{
@@ -31,7 +31,7 @@ extern "C" {
* @}
*/
-#include <odp/api/queue.h>
+#include <odp/api/spec/queue.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/random.h b/platform/linux-generic/include/odp/api/random.h
index e9b4bd0c7..c8529b3f9 100644
--- a/platform/linux-generic/include/odp/random.h
+++ b/platform/linux-generic/include/odp/api/random.h
@@ -25,7 +25,7 @@ extern "C" {
* @}
*/
-#include <odp/api/random.h>
+#include <odp/api/spec/random.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/rwlock.h b/platform/linux-generic/include/odp/api/rwlock.h
index f9d8f5fd4..4a86173f5 100644
--- a/platform/linux-generic/include/odp/rwlock.h
+++ b/platform/linux-generic/include/odp/api/rwlock.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/rwlock_types.h>
+#include <odp/api/plat/rwlock_types.h>
-#include <odp/api/rwlock.h>
+#include <odp/api/spec/rwlock.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/rwlock_recursive.h b/platform/linux-generic/include/odp/api/rwlock_recursive.h
index e9dadc878..4a081532d 100644
--- a/platform/linux-generic/include/odp/rwlock_recursive.h
+++ b/platform/linux-generic/include/odp/api/rwlock_recursive.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/rwlock_recursive_types.h>
+#include <odp/api/plat/rwlock_recursive_types.h>
-#include <odp/api/rwlock_recursive.h>
+#include <odp/api/spec/rwlock_recursive.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/schedule.h b/platform/linux-generic/include/odp/api/schedule.h
index cb4ac2f91..002648517 100644
--- a/platform/linux-generic/include/odp/schedule.h
+++ b/platform/linux-generic/include/odp/api/schedule.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/schedule_types.h>
+#include <odp/api/plat/schedule_types.h>
/** @ingroup odp_scheduler
* @{
@@ -27,7 +27,7 @@ extern "C" {
* @}
*/
-#include <odp/api/schedule.h>
+#include <odp/api/spec/schedule.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/schedule_types.h b/platform/linux-generic/include/odp/api/schedule_types.h
index 784ed8527..536007d66 100644
--- a/platform/linux-generic/include/odp/schedule_types.h
+++ b/platform/linux-generic/include/odp/api/schedule_types.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/schedule_types.h>
+#include <odp/api/plat/schedule_types.h>
-#include <odp/api/schedule_types.h>
+#include <odp/api/spec/schedule_types.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/shared_memory.h b/platform/linux-generic/include/odp/api/shared_memory.h
index 957be560a..affc290e7 100644
--- a/platform/linux-generic/include/odp/shared_memory.h
+++ b/platform/linux-generic/include/odp/api/shared_memory.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/shared_memory_types.h>
+#include <odp/api/plat/shared_memory_types.h>
/** @ingroup odp_shared_memory
* @{
@@ -27,7 +27,7 @@ extern "C" {
* @}
*/
-#include <odp/api/shared_memory.h>
+#include <odp/api/spec/shared_memory.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/spinlock.h b/platform/linux-generic/include/odp/api/spinlock.h
index 046fcfada..830f4edd2 100644
--- a/platform/linux-generic/include/odp/spinlock.h
+++ b/platform/linux-generic/include/odp/api/spinlock.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/spinlock_types.h>
+#include <odp/api/plat/spinlock_types.h>
-#include <odp/api/spinlock.h>
+#include <odp/api/spec/spinlock.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/spinlock_recursive.h b/platform/linux-generic/include/odp/api/spinlock_recursive.h
index e8a996837..d97b0173a 100644
--- a/platform/linux-generic/include/odp/spinlock_recursive.h
+++ b/platform/linux-generic/include/odp/api/spinlock_recursive.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/spinlock_recursive_types.h>
+#include <odp/api/plat/spinlock_recursive_types.h>
-#include <odp/api/spinlock_recursive.h>
+#include <odp/api/spec/spinlock_recursive.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/std_clib.h b/platform/linux-generic/include/odp/api/std_clib.h
index 11c59bec2..1578d09f1 100644
--- a/platform/linux-generic/include/odp/std_clib.h
+++ b/platform/linux-generic/include/odp/api/std_clib.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-#include <odp/api/std_types.h>
+#include <odp/api/spec/std_types.h>
static inline void *odp_memcpy(void *dst, const void *src, size_t num)
{
diff --git a/platform/linux-generic/include/odp/std_types.h b/platform/linux-generic/include/odp/api/std_types.h
index 56b5a4ee8..5737e43b2 100644
--- a/platform/linux-generic/include/odp/std_types.h
+++ b/platform/linux-generic/include/odp/api/std_types.h
@@ -37,7 +37,7 @@ typedef int odp_bool_t;
* @}
*/
-#include <odp/api/std_types.h>
+#include <odp/api/spec/std_types.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/sync.h b/platform/linux-generic/include/odp/api/sync.h
index b2995e19c..45fe6bdb0 100644
--- a/platform/linux-generic/include/odp/sync.h
+++ b/platform/linux-generic/include/odp/api/sync.h
@@ -40,7 +40,7 @@ static inline void odp_mb_full(void)
* @}
*/
-#include <odp/api/sync.h>
+#include <odp/api/spec/sync.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/system_info.h b/platform/linux-generic/include/odp/api/system_info.h
index d6926061e..36ddc814b 100644
--- a/platform/linux-generic/include/odp/system_info.h
+++ b/platform/linux-generic/include/odp/api/system_info.h
@@ -17,10 +17,10 @@
extern "C" {
#endif
-#include <odp/std_types.h>
+#include <odp/api/std_types.h>
-#include <odp/api/system_info.h>
+#include <odp/api/spec/system_info.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/thread.h b/platform/linux-generic/include/odp/api/thread.h
index 522ca2599..c54abc890 100644
--- a/platform/linux-generic/include/odp/thread.h
+++ b/platform/linux-generic/include/odp/api/thread.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/thread_types.h>
+#include <odp/api/plat/thread_types.h>
-#include <odp/api/thread.h>
+#include <odp/api/spec/thread.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/thrmask.h b/platform/linux-generic/include/odp/api/thrmask.h
index 0e98ece57..b1c207775 100644
--- a/platform/linux-generic/include/odp/thrmask.h
+++ b/platform/linux-generic/include/odp/api/thrmask.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/plat/thrmask_types.h>
+#include <odp/api/plat/thrmask_types.h>
/** @ingroup odp_thread
* @{
@@ -27,7 +27,7 @@ extern "C" {
* @}
*/
-#include <odp/api/thrmask.h>
+#include <odp/api/spec/thrmask.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/ticketlock.h b/platform/linux-generic/include/odp/api/ticketlock.h
index d3491519a..85be4bc5c 100644
--- a/platform/linux-generic/include/odp/ticketlock.h
+++ b/platform/linux-generic/include/odp/api/ticketlock.h
@@ -17,9 +17,9 @@
extern "C" {
#endif
-#include <odp/plat/ticketlock_types.h>
+#include <odp/api/plat/ticketlock_types.h>
-#include <odp/api/ticketlock.h>
+#include <odp/api/spec/ticketlock.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/time.h b/platform/linux-generic/include/odp/api/time.h
index 44e0d0d25..8d1c33e68 100644
--- a/platform/linux-generic/include/odp/time.h
+++ b/platform/linux-generic/include/odp/api/time.h
@@ -17,12 +17,12 @@
extern "C" {
#endif
-#include <odp/std_types.h>
+#include <odp/api/std_types.h>
-#include <odp/plat/time_types.h>
-#include <odp/api/time.h>
+#include <odp/api/plat/time_types.h>
+#include <odp/api/spec/time.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/timer.h b/platform/linux-generic/include/odp/api/timer.h
index 3e9cd4e7e..1450727f8 100644
--- a/platform/linux-generic/include/odp/timer.h
+++ b/platform/linux-generic/include/odp/api/timer.h
@@ -17,11 +17,11 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/plat/event_types.h>
-#include <odp/plat/pool_types.h>
-#include <odp/plat/queue_types.h>
-#include <odp/plat/timer_types.h>
+#include <odp/api/std_types.h>
+#include <odp/api/plat/event_types.h>
+#include <odp/api/plat/pool_types.h>
+#include <odp/api/plat/queue_types.h>
+#include <odp/api/plat/timer_types.h>
/** @ingroup odp_timer
* @{
@@ -31,7 +31,7 @@ extern "C" {
* @}
*/
-#include <odp/api/timer.h>
+#include <odp/api/spec/timer.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp/version.h b/platform/linux-generic/include/odp/api/version.h
index c98cb3097..fc4ea5865 100644
--- a/platform/linux-generic/include/odp/version.h
+++ b/platform/linux-generic/include/odp/api/version.h
@@ -17,8 +17,8 @@
extern "C" {
#endif
-#include <odp/plat/version_types.h>
-#include <odp/api/version.h>
+#include <odp/api/plat/version_types.h>
+#include <odp/api/spec/version.h>
#ifdef __cplusplus
}
diff --git a/platform/linux-generic/include/odp_align_internal.h b/platform/linux-generic/include/odp_align_internal.h
index 4ca5ceb3b..9ccde5320 100644
--- a/platform/linux-generic/include/odp_align_internal.h
+++ b/platform/linux-generic/include/odp_align_internal.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <odp/align.h>
+#include <odp/api/align.h>
/** @addtogroup odp_compiler_optim
* @{
diff --git a/platform/linux-generic/include/odp_atomic_internal.h b/platform/linux-generic/include/odp_atomic_internal.h
index ff3813f73..093280fd1 100644
--- a/platform/linux-generic/include/odp_atomic_internal.h
+++ b/platform/linux-generic/include/odp_atomic_internal.h
@@ -16,10 +16,10 @@
#ifndef ODP_ATOMIC_INTERNAL_H_
#define ODP_ATOMIC_INTERNAL_H_
-#include <odp/std_types.h>
-#include <odp/align.h>
-#include <odp/hints.h>
-#include <odp/atomic.h>
+#include <odp/api/std_types.h>
+#include <odp/api/align.h>
+#include <odp/api/hints.h>
+#include <odp/api/atomic.h>
#ifdef __cplusplus
extern "C" {
diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index abdd320b4..7a06b00d7 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -18,17 +18,17 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/atomic.h>
-#include <odp/pool.h>
-#include <odp/buffer.h>
-#include <odp/debug.h>
-#include <odp/align.h>
+#include <odp/api/std_types.h>
+#include <odp/api/atomic.h>
+#include <odp/api/pool.h>
+#include <odp/api/buffer.h>
+#include <odp/api/debug.h>
+#include <odp/api/align.h>
#include <odp_align_internal.h>
-#include <odp/config.h>
-#include <odp/byteorder.h>
-#include <odp/thread.h>
-#include <odp/event.h>
+#include <odp/api/config.h>
+#include <odp/api/byteorder.h>
+#include <odp/api/thread.h>
+#include <odp/api/event.h>
#include <odp_forward_typedefs_internal.h>
#define ODP_BITSIZE(x) \
diff --git a/platform/linux-generic/include/odp_classification_datamodel.h b/platform/linux-generic/include/odp_classification_datamodel.h
index 6301f18e1..63f3ec6ac 100644
--- a/platform/linux-generic/include/odp_classification_datamodel.h
+++ b/platform/linux-generic/include/odp_classification_datamodel.h
@@ -19,8 +19,8 @@
extern "C" {
#endif
-#include <odp/spinlock.h>
-#include <odp/classification.h>
+#include <odp/api/spinlock.h>
+#include <odp/api/classification.h>
#include <odp_pool_internal.h>
#include <odp_packet_internal.h>
#include <odp_packet_io_internal.h>
diff --git a/platform/linux-generic/include/odp_classification_inlines.h b/platform/linux-generic/include/odp_classification_inlines.h
index 96cf77ee2..8bd010d09 100644
--- a/platform/linux-generic/include/odp_classification_inlines.h
+++ b/platform/linux-generic/include/odp_classification_inlines.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#include <odp/debug.h>
+#include <odp/api/debug.h>
#include <odp/helper/eth.h>
#include <odp/helper/ip.h>
#include <odp/helper/ipsec.h>
diff --git a/platform/linux-generic/include/odp_classification_internal.h b/platform/linux-generic/include/odp_classification_internal.h
index d85eb9801..86b40fc97 100644
--- a/platform/linux-generic/include/odp_classification_internal.h
+++ b/platform/linux-generic/include/odp_classification_internal.h
@@ -19,10 +19,10 @@
extern "C" {
#endif
-#include <odp/classification.h>
-#include <odp/queue.h>
+#include <odp/api/classification.h>
+#include <odp/api/queue.h>
#include <odp_packet_internal.h>
-#include <odp/packet_io.h>
+#include <odp/api/packet_io.h>
#include <odp_packet_io_internal.h>
#include <odp_classification_datamodel.h>
diff --git a/platform/linux-generic/include/odp_debug_internal.h b/platform/linux-generic/include/odp_debug_internal.h
index 24608e12a..02ae87a90 100644
--- a/platform/linux-generic/include/odp_debug_internal.h
+++ b/platform/linux-generic/include/odp_debug_internal.h
@@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <odp/debug.h>
+#include <odp/api/debug.h>
#include <odp_internal.h>
#ifdef __cplusplus
extern "C" {
diff --git a/platform/linux-generic/include/odp_internal.h b/platform/linux-generic/include/odp_internal.h
index 98a569907..1819b77ff 100644
--- a/platform/linux-generic/include/odp_internal.h
+++ b/platform/linux-generic/include/odp_internal.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#include <odp/init.h>
-#include <odp/thread.h>
+#include <odp/api/init.h>
+#include <odp/api/thread.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h
index 85d4924d7..157d4723b 100644
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@ -18,14 +18,14 @@
extern "C" {
#endif
-#include <odp/align.h>
-#include <odp/debug.h>
+#include <odp/api/align.h>
+#include <odp/api/debug.h>
#include <odp_buffer_internal.h>
#include <odp_pool_internal.h>
#include <odp_buffer_inlines.h>
-#include <odp/packet.h>
-#include <odp/packet_io.h>
-#include <odp/crypto.h>
+#include <odp/api/packet.h>
+#include <odp/api/packet_io.h>
+#include <odp/api/crypto.h>
#include <odp_crypto_internal.h>
#define PACKET_JUMBO_LEN (9 * 1024)
diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h
index f871f0a76..fd66983e1 100644
--- a/platform/linux-generic/include/odp_packet_io_internal.h
+++ b/platform/linux-generic/include/odp_packet_io_internal.h
@@ -18,14 +18,14 @@
extern "C" {
#endif
-#include <odp/spinlock.h>
-#include <odp/ticketlock.h>
+#include <odp/api/spinlock.h>
+#include <odp/api/ticketlock.h>
#include <odp_classification_datamodel.h>
#include <odp_align_internal.h>
#include <odp_debug_internal.h>
-#include <odp/config.h>
-#include <odp/hints.h>
+#include <odp/api/config.h>
+#include <odp/api/hints.h>
#include <net/if.h>
#define PKTIO_MAX_QUEUES 64
diff --git a/platform/linux-generic/include/odp_packet_netmap.h b/platform/linux-generic/include/odp_packet_netmap.h
index b7990d9e9..85fbf086d 100644
--- a/platform/linux-generic/include/odp_packet_netmap.h
+++ b/platform/linux-generic/include/odp_packet_netmap.h
@@ -7,11 +7,11 @@
#ifndef ODP_PACKET_NETMAP_H
#define ODP_PACKET_NETMAP_H
-#include <odp/align.h>
-#include <odp/debug.h>
-#include <odp/packet_io.h>
-#include <odp/pool.h>
-#include <odp/ticketlock.h>
+#include <odp/api/align.h>
+#include <odp/api/debug.h>
+#include <odp/api/packet_io.h>
+#include <odp/api/pool.h>
+#include <odp/api/ticketlock.h>
#include <odp_align_internal.h>
#include <linux/if_ether.h>
diff --git a/platform/linux-generic/include/odp_packet_socket.h b/platform/linux-generic/include/odp_packet_socket.h
index a7797d1c0..08ffc6a38 100644
--- a/platform/linux-generic/include/odp_packet_socket.h
+++ b/platform/linux-generic/include/odp_packet_socket.h
@@ -13,12 +13,12 @@
#include <sys/socket.h>
#include <string.h>
-#include <odp/align.h>
-#include <odp/buffer.h>
-#include <odp/debug.h>
-#include <odp/pool.h>
-#include <odp/packet.h>
-#include <odp/packet_io.h>
+#include <odp/api/align.h>
+#include <odp/api/buffer.h>
+#include <odp/api/debug.h>
+#include <odp/api/pool.h>
+#include <odp/api/packet.h>
+#include <odp/api/packet_io.h>
#include <linux/version.h>
diff --git a/platform/linux-generic/include/odp_packet_tap.h b/platform/linux-generic/include/odp_packet_tap.h
index 787758674..a90bfbce0 100644
--- a/platform/linux-generic/include/odp_packet_tap.h
+++ b/platform/linux-generic/include/odp_packet_tap.h
@@ -7,7 +7,7 @@
#ifndef ODP_PACKET_TAP_H_
#define ODP_PACKET_TAP_H_
-#include <odp/pool.h>
+#include <odp/api/pool.h>
typedef struct {
int fd; /**< file descriptor for tap interface*/
diff --git a/platform/linux-generic/include/odp_pool_internal.h b/platform/linux-generic/include/odp_pool_internal.h
index fdac6067e..6832b316c 100644
--- a/platform/linux-generic/include/odp_pool_internal.h
+++ b/platform/linux-generic/include/odp_pool_internal.h
@@ -18,17 +18,17 @@
extern "C" {
#endif
-#include <odp/std_types.h>
-#include <odp/align.h>
+#include <odp/api/std_types.h>
+#include <odp/api/align.h>
#include <odp_align_internal.h>
-#include <odp/pool.h>
+#include <odp/api/pool.h>
#include <odp_buffer_internal.h>
-#include <odp/hints.h>
-#include <odp/config.h>
-#include <odp/debug.h>
-#include <odp/shared_memory.h>
-#include <odp/atomic.h>
-#include <odp/thread.h>
+#include <odp/api/hints.h>
+#include <odp/api/config.h>
+#include <odp/api/debug.h>
+#include <odp/api/shared_memory.h>
+#include <odp/api/atomic.h>
+#include <odp/api/thread.h>
#include <string.h>
/**
@@ -67,12 +67,12 @@ typedef struct local_cache_t {
#define POOL_USE_TICKETLOCK
#ifdef POOL_USE_TICKETLOCK
-#include <odp/ticketlock.h>
+#include <odp/api/ticketlock.h>
#define POOL_LOCK(a) odp_ticketlock_lock(a)
#define POOL_UNLOCK(a) odp_ticketlock_unlock(a)
#define POOL_LOCK_INIT(a) odp_ticketlock_init(a)
#else
-#include <odp/spinlock.h>
+#include <odp/api/spinlock.h>
#define POOL_LOCK(a) odp_spinlock_lock(a)
#define POOL_UNLOCK(a) odp_spinlock_unlock(a)
#define POOL_LOCK_INIT(a) odp_spinlock_init(a)
diff --git a/platform/linux-generic/include/odp_queue_internal.h b/platform/linux-generic/include/odp_queue_internal.h
index 2d349466f..11b64a996 100644
--- a/platform/linux-generic/include/odp_queue_internal.h
+++ b/platform/linux-generic/include/odp_queue_internal.h
@@ -18,21 +18,21 @@
extern "C" {
#endif
-#include <odp/queue.h>
+#include <odp/api/queue.h>
#include <odp_forward_typedefs_internal.h>
#include <odp_buffer_internal.h>
#include <odp_align_internal.h>
-#include <odp/packet_io.h>
-#include <odp/align.h>
-#include <odp/hints.h>
+#include <odp/api/packet_io.h>
+#include <odp/api/align.h>
+#include <odp/api/hints.h>
#define USE_TICKETLOCK
#ifdef USE_TICKETLOCK
-#include <odp/ticketlock.h>
+#include <odp/api/ticketlock.h>
#else
-#include <odp/spinlock.h>
+#include <odp/api/spinlock.h>
#endif
#define QUEUE_MULTI_MAX 8
diff --git a/platform/linux-generic/include/odp_schedule_internal.h b/platform/linux-generic/include/odp_schedule_internal.h
index 08683941a..fe8ff7b5e 100644
--- a/platform/linux-generic/include/odp_schedule_internal.h
+++ b/platform/linux-generic/include/odp_schedule_internal.h
@@ -14,10 +14,10 @@ extern "C" {
#endif
-#include <odp/buffer.h>
+#include <odp/api/buffer.h>
#include <odp_buffer_internal.h>
-#include <odp/queue.h>
-#include <odp/packet_io.h>
+#include <odp/api/queue.h>
+#include <odp/api/packet_io.h>
#include <odp_queue_internal.h>
int schedule_queue_init(queue_entry_t *qe);
diff --git a/platform/linux-generic/include/odp_timer_internal.h b/platform/linux-generic/include/odp_timer_internal.h
index 8b0e93dc0..b1cd73f71 100644
--- a/platform/linux-generic/include/odp_timer_internal.h
+++ b/platform/linux-generic/include/odp_timer_internal.h
@@ -14,11 +14,11 @@
#ifndef ODP_TIMER_INTERNAL_H_
#define ODP_TIMER_INTERNAL_H_
-#include <odp/align.h>
-#include <odp/debug.h>
+#include <odp/api/align.h>
+#include <odp/api/debug.h>
#include <odp_buffer_internal.h>
#include <odp_pool_internal.h>
-#include <odp/timer.h>
+#include <odp/api/timer.h>
/**
* Internal Timeout header