@@ -5,18 +5,26 @@ include_HEADERS = \
odpapiincludedir= $(includedir)/odp/api/
odpapiinclude_HEADERS = \
+ odp/api/barrier.h \
+ odp/api/buffer.h \
odp/api/cpumask.h \
+ odp/api/event.h \
odp/api/init.h \
+ odp/api/ipsec.h \
+ odp/api/pool.h \
+ odp/api/queue.h \
odp/api/rwlock.h \
odp/api/rwlock_recursive.h \
odp/api/schedule.h \
odp/api/schedule_types.h \
+ odp/api/shared_memory.h \
odp/api/spinlock.h \
odp/api/spinlock_recursive.h \
odp/api/std_types.h \
odp/api/thread.h \
odp/api/thrmask.h \
odp/api/time.h \
+ odp/api/timer.h \
odp/api/traffic_mngr.h \
odp/api/version.h
similarity index 78%
rename from platform/linux-generic/include/odp/api/barrier.h
rename to include/odp/api/barrier.h
@@ -10,8 +10,8 @@
* ODP execution barriers
*/
-#ifndef ODP_PLAT_BARRIER_H_
-#define ODP_PLAT_BARRIER_H_
+#ifndef ODP_API_BARRIER_H_
+#define ODP_API_BARRIER_H_
#ifdef __cplusplus
extern "C" {
@@ -19,7 +19,7 @@ extern "C" {
#include <odp/api/std_types.h>
#include <odp/api/atomic.h>
-#include <odp/api/plat/shared_memory_types.h>
+#include <odp/api/abi/shared_memory.h>
#include <odp/api/abi/barrier.h>
#include <odp/api/spec/barrier.h>
similarity index 58%
rename from platform/linux-generic/include/odp/api/buffer.h
rename to include/odp/api/buffer.h
@@ -10,25 +10,17 @@
* ODP buffer descriptor
*/
-#ifndef ODP_PLAT_BUFFER_H_
-#define ODP_PLAT_BUFFER_H_
+#ifndef ODP_API_BUFFER_H_
+#define ODP_API_BUFFER_H_
#ifdef __cplusplus
extern "C" {
#endif
#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
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/event.h>
+#include <odp/api/abi/buffer.h>
+#include <odp/api/abi/pool.h>
#include <odp/api/spec/buffer.h>
similarity index 65%
rename from platform/linux-generic/include/odp/api/event.h
rename to include/odp/api/event.h
@@ -10,22 +10,14 @@
* ODP event
*/
-#ifndef ODP_PLAT_EVENT_H_
-#define ODP_PLAT_EVENT_H_
+#ifndef ODP_API_EVENT_H_
+#define ODP_API_EVENT_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/event_types.h>
-
-/** @ingroup odp_event
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/event.h>
#include <odp/api/spec/event.h>
similarity index 67%
rename from platform/linux-generic/include/odp/api/ipsec.h
rename to include/odp/api/ipsec.h
@@ -10,22 +10,14 @@
* ODP IPSEC API - platform specific header
*/
-#ifndef ODP_PLAT_IPSEC_H_
-#define ODP_PLAT_IPSEC_H_
+#ifndef ODP_API_IPSEC_H_
+#define ODP_API_IPSEC_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/ipsec_types.h>
-
-/** @ingroup odp_ipsec
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/ipsec.h>
#include <odp/api/spec/ipsec.h>
similarity index 53%
rename from platform/linux-generic/include/odp/api/pool.h
rename to include/odp/api/pool.h
@@ -10,24 +10,17 @@
* ODP pool
*/
-#ifndef ODP_PLAT_POOL_H_
-#define ODP_PLAT_POOL_H_
+#ifndef ODP_API_POOL_H_
+#define ODP_API_POOL_H_
#ifdef __cplusplus
extern "C" {
#endif
-/** @ingroup odp_buffer
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/pool.h>
+#include <odp/api/abi/shared_memory.h>
+#include <odp/api/abi/event.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
similarity index 58%
rename from platform/linux-generic/include/odp/api/queue.h
rename to include/odp/api/queue.h
@@ -10,18 +10,18 @@
* ODP queue
*/
-#ifndef ODP_PLAT_QUEUE_H_
-#define ODP_PLAT_QUEUE_H_
+#ifndef ODP_API_QUEUE_H_
+#define ODP_API_QUEUE_H_
#ifdef __cplusplus
extern "C" {
#endif
#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>
+#include <odp/api/abi/event.h>
+#include <odp/api/abi/queue.h>
+#include <odp/api/abi/buffer.h>
+#include <odp/api/abi/pool.h>
#include <odp/api/spec/queue.h>
similarity index 62%
rename from platform/linux-generic/include/odp/api/shared_memory.h
rename to include/odp/api/shared_memory.h
@@ -10,22 +10,14 @@
* ODP shared memory
*/
-#ifndef ODP_PLAT_SHARED_MEMORY_H_
-#define ODP_PLAT_SHARED_MEMORY_H_
+#ifndef ODP_API_SHARED_MEMORY_H_
+#define ODP_API_SHARED_MEMORY_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/shared_memory_types.h>
-
-/** @ingroup odp_shared_memory
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/shared_memory.h>
#include <odp/api/spec/shared_memory.h>
similarity index 54%
rename from platform/linux-generic/include/odp/api/timer.h
rename to include/odp/api/timer.h
@@ -10,26 +10,18 @@
* ODP timer service
*/
-#ifndef ODP_PLAT_TIMER_H_
-#define ODP_PLAT_TIMER_H_
+#ifndef ODP_API_TIMER_H_
+#define ODP_API_TIMER_H_
#ifdef __cplusplus
extern "C" {
#endif
#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
- * @{
- */
-
-/**
- * @}
- */
+#include <odp/api/abi/event.h>
+#include <odp/api/abi/pool.h>
+#include <odp/api/abi/queue.h>
+#include <odp/api/abi/timer.h>
#include <odp/api/spec/timer.h>
@@ -21,64 +21,46 @@ odpapiincludedir= $(includedir)/odp/api
odpapiinclude_HEADERS = \
include/odp/api/align.h \
include/odp/api/atomic.h \
- include/odp/api/barrier.h \
- include/odp/api/buffer.h \
include/odp/api/byteorder.h \
+ include/odp/api/chksum.h \
include/odp/api/classification.h \
include/odp/api/compiler.h \
- include/odp/api/chksum.h \
include/odp/api/cpu.h \
include/odp/api/crypto.h \
include/odp/api/debug.h \
include/odp/api/deprecated.h \
include/odp/api/errno.h \
- include/odp/api/event.h \
include/odp/api/feature.h \
include/odp/api/hash.h \
include/odp/api/hints.h \
- include/odp/api/ipsec.h \
include/odp/api/packet_flags.h \
include/odp/api/packet.h \
include/odp/api/packet_io.h \
include/odp/api/packet_io_stats.h \
- include/odp/api/pool.h \
- include/odp/api/queue.h \
include/odp/api/random.h \
- include/odp/api/shared_memory.h \
include/odp/api/std_clib.h \
include/odp/api/support.h \
include/odp/api/sync.h \
include/odp/api/system_info.h \
- include/odp/api/ticketlock.h \
- include/odp/api/timer.h
+ include/odp/api/ticketlock.h
odpapiplatincludedir= $(includedir)/odp/api/plat
odpapiplatinclude_HEADERS = \
include/odp/api/plat/atomic_inlines.h \
include/odp/api/plat/atomic_types.h \
- include/odp/api/plat/buffer_types.h \
include/odp/api/plat/byteorder_inlines.h \
include/odp/api/plat/byteorder_types.h \
- include/odp/api/plat/classification_types.h \
- include/odp/api/plat/crypto_types.h \
- include/odp/api/plat/event_types.h \
- include/odp/api/plat/ipsec_types.h \
include/odp/api/plat/packet_flag_inlines.h \
include/odp/api/plat/packet_flag_inlines_api.h \
include/odp/api/plat/packet_inlines.h \
include/odp/api/plat/packet_inlines_api.h \
include/odp/api/plat/packet_types.h \
- include/odp/api/plat/packet_io_types.h \
- include/odp/api/plat/pool_types.h \
- include/odp/api/plat/queue_types.h \
- include/odp/api/plat/shared_memory_types.h \
include/odp/api/plat/std_clib_inlines.h \
include/odp/api/plat/strong_types.h \
include/odp/api/plat/sync_inlines.h \
include/odp/api/plat/ticketlock_inlines.h \
include/odp/api/plat/ticketlock_inlines_api.h \
- include/odp/api/plat/ticketlock_types.h \
- include/odp/api/plat/timer_types.h
+ include/odp/api/plat/ticketlock_types.h
nodist_odpapiplatinclude_HEADERS = \
include/odp/api/plat/static_inline.h
@@ -87,18 +69,28 @@ if !ODP_ABI_COMPAT
odpapiabiarchincludedir= $(includedir)/odp/api/abi
odpapiabiarchinclude_HEADERS = \
include-abi/odp/api/abi/barrier.h \
+ include-abi/odp/api/abi/buffer.h \
+ include-abi/odp/api/abi/classification.h \
include-abi/odp/api/abi/cpumask.h \
+ include-abi/odp/api/abi/crypto.h \
+ include-abi/odp/api/abi/event.h \
include-abi/odp/api/abi/init.h \
+ include-abi/odp/api/abi/ipsec.h \
+ include-abi/odp/api/abi/packet_io.h \
+ include-abi/odp/api/abi/pool.h \
+ include-abi/odp/api/abi/queue.h \
include-abi/odp/api/abi/rwlock.h \
include-abi/odp/api/abi/rwlock_recursive.h \
include-abi/odp/api/abi/schedule.h \
include-abi/odp/api/abi/schedule_types.h \
+ include-abi/odp/api/abi/shared_memory.h \
include-abi/odp/api/abi/spinlock.h \
include-abi/odp/api/abi/spinlock_recursive.h \
include-abi/odp/api/abi/std_types.h \
include-abi/odp/api/abi/thread.h \
include-abi/odp/api/abi/thrmask.h \
include-abi/odp/api/abi/time.h \
+ include-abi/odp/api/abi/timer.h \
include-abi/odp/api/abi/traffic_mngr.h \
include-abi/odp/api/abi/version.h
endif
similarity index 73%
rename from platform/linux-generic/include/odp/api/plat/buffer_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/buffer.h
@@ -10,18 +10,13 @@
* ODP buffer descriptor
*/
-#ifndef ODP_BUFFER_TYPES_H_
-#define ODP_BUFFER_TYPES_H_
+#ifndef ODP_API_ABI_BUFFER_H_
+#define ODP_API_ABI_BUFFER_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/buffer.h>
-#else
-
#include <odp/api/std_types.h>
#include <odp/api/plat/strong_types.h>
@@ -37,8 +32,6 @@ typedef ODP_HANDLE_T(odp_buffer_t);
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 74%
rename from platform/linux-generic/include/odp/api/plat/classification_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/classification.h
@@ -10,18 +10,13 @@
* ODP classification descriptor
*/
-#ifndef ODP_CLASSIFICATION_TYPES_H_
-#define ODP_CLASSIFICATION_TYPES_H_
+#ifndef ODP_API_ABI_CLASSIFICATION_H_
+#define ODP_API_ABI_CLASSIFICATION_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/classification.h>
-#else
-
#include <odp/api/plat/strong_types.h>
/** @ingroup odp_classification
@@ -40,8 +35,6 @@ typedef ODP_HANDLE_T(odp_pmr_t);
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 71%
rename from platform/linux-generic/include/odp/api/plat/crypto_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/crypto.h
@@ -11,18 +11,13 @@
* ODP crypto
*/
-#ifndef ODP_CRYPTO_TYPES_H_
-#define ODP_CRYPTO_TYPES_H_
+#ifndef ODP_API_ABI_CRYPTO_H_
+#define ODP_API_ABI_CRYPTO_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/crypto.h>
-#else
-
/** @ingroup odp_crypto
* @{
*/
@@ -36,8 +31,6 @@ typedef ODP_HANDLE_T(odp_crypto_compl_t);
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 80%
rename from platform/linux-generic/include/odp/api/plat/event_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/event.h
@@ -11,19 +11,13 @@
* ODP event
*/
-#ifndef ODP_EVENT_TYPES_H_
-#define ODP_EVENT_TYPES_H_
+#ifndef ODP_API_ABI_EVENT_H_
+#define ODP_API_ABI_EVENT_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/event.h>
-#else
-
-#include <odp/api/std_types.h>
#include <odp/api/plat/strong_types.h>
/** @ingroup odp_event
@@ -53,8 +47,6 @@ typedef enum odp_event_subtype_t {
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 88%
rename from platform/linux-generic/include/odp/api/plat/ipsec_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/ipsec.h
@@ -10,8 +10,8 @@
* ODP IPSEC API - platform specific types
*/
-#ifndef ODP_PLAT_IPSEC_TYPES_H_
-#define ODP_PLAT_IPSEC_TYPES_H_
+#ifndef ODP_API_ABI_IPSEC_H_
+#define ODP_API_ABI_IPSEC_H_
#ifdef __cplusplus
extern "C" {
similarity index 83%
rename from platform/linux-generic/include/odp/api/plat/packet_io_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/packet_io.h
@@ -11,8 +11,8 @@
* ODP Packet IO
*/
-#ifndef ODP_PACKET_IO_TYPES_H_
-#define ODP_PACKET_IO_TYPES_H_
+#ifndef ODP_API_ABI_PACKET_IO_H_
+#define ODP_API_ABI_PACKET_IO_H_
#ifdef __cplusplus
extern "C" {
@@ -47,12 +47,6 @@ typedef struct odp_pktout_queue_t {
#define ODP_PKTIN_NO_WAIT 0
#define ODP_PKTIN_WAIT UINT64_MAX
-/** Get printable format of odp_pktio_t */
-static inline uint64_t odp_pktio_to_u64(odp_pktio_t hdl)
-{
- return _odp_pri(hdl);
-}
-
/**
* @}
*/
similarity index 76%
rename from platform/linux-generic/include/odp/api/plat/pool_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/pool.h
@@ -10,21 +10,16 @@
* ODP pool
*/
-#ifndef ODP_POOL_TYPES_H_
-#define ODP_POOL_TYPES_H_
+#ifndef ODP_API_ABI_POOL_H_
+#define ODP_API_ABI_POOL_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/pool.h>
-#else
-
#include <odp/api/std_types.h>
#include <odp/api/plat/strong_types.h>
-#include <odp/api/plat/event_types.h>
+#include <odp/api/abi/event.h>
/** @ingroup odp_pool
* @{
@@ -46,8 +41,6 @@ typedef enum odp_pool_type_t {
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 74%
rename from platform/linux-generic/include/odp/api/plat/queue_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/queue.h
@@ -10,18 +10,13 @@
* ODP queue
*/
-#ifndef ODP_QUEUE_TYPES_H_
-#define ODP_QUEUE_TYPES_H_
+#ifndef ODP_API_ABI_QUEUE_H_
+#define ODP_API_ABI_QUEUE_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/queue.h>
-#else
-
#include <odp/api/std_types.h>
#include <odp/api/plat/strong_types.h>
@@ -39,8 +34,6 @@ typedef ODP_HANDLE_T(odp_queue_t);
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 73%
rename from platform/linux-generic/include/odp/api/plat/shared_memory_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/shared_memory.h
@@ -11,18 +11,13 @@
* ODP shared memory
*/
-#ifndef ODP_SHARED_MEMORY_TYPES_H_
-#define ODP_SHARED_MEMORY_TYPES_H_
+#ifndef ODP_API_ABI_SHARED_MEMORY_H_
+#define ODP_API_ABI_SHARED_MEMORY_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include <odp/api/plat/static_inline.h>
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/abi/shared_memory.h>
-#else
-
#include <odp/api/std_types.h>
#include <odp/api/plat/strong_types.h>
@@ -41,8 +36,6 @@ typedef ODP_HANDLE_T(odp_shm_t);
* @}
*/
-#endif
-
#ifdef __cplusplus
}
#endif
similarity index 92%
rename from platform/linux-generic/include/odp/api/plat/timer_types.h
rename to platform/linux-generic/include-abi/odp/api/abi/timer.h
@@ -11,8 +11,8 @@
* ODP timer service
*/
-#ifndef ODP_TIMER_TYPES_H_
-#define ODP_TIMER_TYPES_H_
+#ifndef ODP_API_ABI_TIMER_H_
+#define ODP_API_ABI_TIMER_H_
#ifdef __cplusplus
extern "C" {
@@ -10,19 +10,19 @@
* ODP classification descriptor
*/
-#ifndef ODP_PLAT_CLASSIFICATION_H_
-#define ODP_PLAT_CLASSIFICATION_H_
+#ifndef ODP_API_CLASSIFICATION_H_
+#define ODP_API_CLASSIFICATION_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <odp/api/std_types.h>
-#include <odp/api/plat/pool_types.h>
-#include <odp/api/plat/classification_types.h>
+#include <odp/api/abi/pool.h>
+#include <odp/api/abi/classification.h>
#include <odp/api/plat/packet_types.h>
-#include <odp/api/plat/packet_io_types.h>
-#include <odp/api/plat/queue_types.h>
+#include <odp/api/abi/packet_io.h>
+#include <odp/api/abi/queue.h>
#include <odp/api/spec/classification.h>
@@ -10,8 +10,8 @@
* ODP crypto
*/
-#ifndef ODP_PLAT_CRYPTO_H_
-#define ODP_PLAT_CRYPTO_H_
+#ifndef ODP_API_CRYPTO_H_
+#define ODP_API_CRYPTO_H_
#ifdef __cplusplus
extern "C" {
@@ -19,9 +19,9 @@ extern "C" {
#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/abi/crypto.h>
+#include <odp/api/abi/buffer.h>
+#include <odp/api/abi/pool.h>
#include <odp/api/queue.h>
/** @ingroup odp_crypto
@@ -18,11 +18,11 @@ extern "C" {
#endif
#include <odp/api/std_types.h>
-#include <odp/api/plat/event_types.h>
-#include <odp/api/plat/packet_io_types.h>
+#include <odp/api/abi/event.h>
+#include <odp/api/abi/packet_io.h>
#include <odp/api/plat/packet_types.h>
-#include <odp/api/plat/buffer_types.h>
-#include <odp/api/plat/pool_types.h>
+#include <odp/api/abi/buffer.h>
+#include <odp/api/abi/pool.h>
#include <odp/api/plat/static_inline.h>
#if ODP_ABI_COMPAT == 0
@@ -18,11 +18,11 @@ extern "C" {
#endif
#include <odp/api/std_types.h>
-#include <odp/api/plat/pool_types.h>
-#include <odp/api/plat/classification_types.h>
+#include <odp/api/abi/pool.h>
+#include <odp/api/abi/classification.h>
#include <odp/api/plat/packet_types.h>
-#include <odp/api/plat/packet_io_types.h>
-#include <odp/api/plat/queue_types.h>
+#include <odp/api/abi/packet_io.h>
+#include <odp/api/abi/queue.h>
/** @ingroup odp_packet_io
* @{
@@ -13,6 +13,7 @@
#ifndef _ODP_PLAT_PACKET_INLINES_H_
#define _ODP_PLAT_PACKET_INLINES_H_
+#include <odp/api/plat/strong_types.h>
#include <odp/api/plat/packet_types.h>
#include <odp/api/pool.h>
#include <odp/api/packet_io.h>
@@ -15,6 +15,8 @@
#ifndef STRONG_TYPES_H_
#define STRONG_TYPES_H_
+#include <odp/api/std_types.h>
+
/** Use strong typing for ODP types */
#ifdef __cplusplus
/* Allow type to be expanded before concatenation with underscore */
@@ -18,6 +18,7 @@
extern "C" {
#endif
+#include <odp/api/plat/strong_types.h>
#include <odp/api/queue.h>
#include <odp_forward_typedefs_internal.h>
#include <odp_queue_if.h>
@@ -13,6 +13,7 @@
extern "C" {
#endif
+#include <odp/api/plat/strong_types.h>
#include <odp/api/queue.h>
#include <odp_forward_typedefs_internal.h>
#include <odp_queue_if.h>
@@ -1772,3 +1772,9 @@ int odp_pktout_send(odp_pktout_queue_t queue, const odp_packet_t packets[],
return entry->s.ops->send(entry, queue.index, packets, num);
}
+
+/** Get printable format of odp_pktio_t */
+uint64_t odp_pktio_to_u64(odp_pktio_t hdl)
+{
+ return _odp_pri(hdl);
+}
Rework more platform headers to use odp/api/abi/ subdir instead of odp/api/plat/. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> --- include/Makefile.am | 8 +++++ .../include => include}/odp/api/barrier.h | 6 ++-- .../include => include}/odp/api/buffer.h | 18 ++++-------- .../include => include}/odp/api/event.h | 14 ++------- .../include => include}/odp/api/ipsec.h | 14 ++------- .../include => include}/odp/api/pool.h | 17 ++++------- .../include => include}/odp/api/queue.h | 12 ++++---- .../include => include}/odp/api/shared_memory.h | 14 ++------- .../include => include}/odp/api/timer.h | 20 ++++--------- platform/linux-generic/Makefile.am | 34 +++++++++------------- .../odp/api/abi/buffer.h} | 11 ++----- .../odp/api/abi/classification.h} | 11 ++----- .../odp/api/abi/crypto.h} | 11 ++----- .../odp/api/abi/event.h} | 12 ++------ .../odp/api/abi/ipsec.h} | 4 +-- .../odp/api/abi/packet_io.h} | 10 ++----- .../odp/api/abi/pool.h} | 13 ++------- .../odp/api/abi/queue.h} | 11 ++----- .../odp/api/abi/shared_memory.h} | 11 ++----- .../odp/api/abi/timer.h} | 4 +-- .../linux-generic/include/odp/api/classification.h | 12 ++++---- platform/linux-generic/include/odp/api/crypto.h | 10 +++---- platform/linux-generic/include/odp/api/packet.h | 8 ++--- platform/linux-generic/include/odp/api/packet_io.h | 8 ++--- .../include/odp/api/plat/packet_inlines.h | 1 + .../include/odp/api/plat/strong_types.h | 2 ++ .../linux-generic/include/odp_queue_internal.h | 1 + .../include/odp_queue_scalable_internal.h | 1 + platform/linux-generic/odp_packet_io.c | 6 ++++ 29 files changed, 106 insertions(+), 198 deletions(-) rename {platform/linux-generic/include => include}/odp/api/barrier.h (78%) rename {platform/linux-generic/include => include}/odp/api/buffer.h (58%) rename {platform/linux-generic/include => include}/odp/api/event.h (65%) rename {platform/linux-generic/include => include}/odp/api/ipsec.h (67%) rename {platform/linux-generic/include => include}/odp/api/pool.h (53%) rename {platform/linux-generic/include => include}/odp/api/queue.h (58%) rename {platform/linux-generic/include => include}/odp/api/shared_memory.h (62%) rename {platform/linux-generic/include => include}/odp/api/timer.h (54%) rename platform/linux-generic/{include/odp/api/plat/buffer_types.h => include-abi/odp/api/abi/buffer.h} (73%) rename platform/linux-generic/{include/odp/api/plat/classification_types.h => include-abi/odp/api/abi/classification.h} (74%) rename platform/linux-generic/{include/odp/api/plat/crypto_types.h => include-abi/odp/api/abi/crypto.h} (71%) rename platform/linux-generic/{include/odp/api/plat/event_types.h => include-abi/odp/api/abi/event.h} (80%) rename platform/linux-generic/{include/odp/api/plat/ipsec_types.h => include-abi/odp/api/abi/ipsec.h} (88%) rename platform/linux-generic/{include/odp/api/plat/packet_io_types.h => include-abi/odp/api/abi/packet_io.h} (83%) rename platform/linux-generic/{include/odp/api/plat/pool_types.h => include-abi/odp/api/abi/pool.h} (76%) rename platform/linux-generic/{include/odp/api/plat/queue_types.h => include-abi/odp/api/abi/queue.h} (74%) rename platform/linux-generic/{include/odp/api/plat/shared_memory_types.h => include-abi/odp/api/abi/shared_memory.h} (73%) rename platform/linux-generic/{include/odp/api/plat/timer_types.h => include-abi/odp/api/abi/timer.h} (92%) -- 2.14.2