diff mbox

[API-NEXT,PATCHv2,2/3] api: move include/odp.h to include/odp_api.h

Message ID 1454956317-2519-3-git-send-email-christophe.milard@linaro.org
State Superseded
Headers show

Commit Message

Christophe Milard Feb. 8, 2016, 6:31 p.m. UTC
odp.h actually describes the applicatiion interface of ODP and is
logicaly moved to odp_api.h.
Applications now includes <odp_api.h>.
This simplifies the addition of other ODP interfaces (e.g. drivers may
include odp_drv.h in the future.)

This patch has been done by a script which is given in the cover letter
of this patch serie.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 example/classifier/odp_classifier.c                            | 2 +-
 example/generator/odp_generator.c                              | 2 +-
 example/ipsec/odp_ipsec.c                                      | 2 +-
 example/ipsec/odp_ipsec_cache.c                                | 2 +-
 example/ipsec/odp_ipsec_cache.h                                | 2 +-
 example/ipsec/odp_ipsec_fwd_db.c                               | 2 +-
 example/ipsec/odp_ipsec_fwd_db.h                               | 2 +-
 example/ipsec/odp_ipsec_loop_db.c                              | 2 +-
 example/ipsec/odp_ipsec_loop_db.h                              | 2 +-
 example/ipsec/odp_ipsec_misc.h                                 | 2 +-
 example/ipsec/odp_ipsec_sa_db.c                                | 2 +-
 example/ipsec/odp_ipsec_sp_db.c                                | 2 +-
 example/ipsec/odp_ipsec_stream.c                               | 2 +-
 example/ipsec/odp_ipsec_stream.h                               | 2 +-
 example/packet/odp_pktio.c                                     | 2 +-
 example/time/time_global_test.c                                | 2 +-
 example/timer/odp_timer_test.c                                 | 2 +-
 example/traffic_mgmt/odp_traffic_mgmt.c                        | 2 +-
 helper/hashtable.c                                             | 2 +-
 helper/include/odp/helper/linux.h                              | 2 +-
 helper/lineartable.c                                           | 2 +-
 helper/ring.c                                                  | 2 +-
 helper/test/odp_chksum.c                                       | 2 +-
 helper/test/odp_process.c                                      | 2 +-
 helper/test/odp_table.c                                        | 2 +-
 helper/test/odp_thread.c                                       | 2 +-
 include/{odp.h => odp_api.h}                                   | 0
 platform/linux-generic/Makefile.am                             | 2 +-
 platform/linux-generic/include/odp_name_table_internal.h       | 2 +-
 platform/linux-generic/include/odp_pkt_queue_internal.h        | 2 +-
 platform/linux-generic/include/odp_timer_wheel_internal.h      | 2 +-
 platform/linux-generic/odp_pkt_queue.c                         | 2 +-
 platform/linux-generic/odp_sorted_list.c                       | 2 +-
 platform/linux-generic/odp_timer_wheel.c                       | 2 +-
 platform/linux-generic/pktio/ethtool.c                         | 2 +-
 platform/linux-generic/pktio/loop.c                            | 2 +-
 platform/linux-generic/pktio/pcap.c                            | 2 +-
 platform/linux-generic/pktio/socket.c                          | 2 +-
 platform/linux-generic/pktio/socket_mmap.c                     | 2 +-
 platform/linux-generic/pktio/sysfs.c                           | 2 +-
 platform/linux-generic/pktio/tap.c                             | 2 +-
 test/api_test/odp_common.c                                     | 2 +-
 test/api_test/odp_ring_test.c                                  | 2 +-
 test/miscellaneous/odp_api_from_cpp.cpp                        | 2 +-
 test/performance/odp_atomic.c                                  | 2 +-
 test/performance/odp_l2fwd.c                                   | 2 +-
 test/performance/odp_pktio_perf.c                              | 2 +-
 test/performance/odp_scheduling.c                              | 2 +-
 test/validation/atomic/atomic.c                                | 2 +-
 test/validation/barrier/barrier.c                              | 2 +-
 test/validation/buffer/buffer.c                                | 2 +-
 test/validation/classification/classification.c                | 2 +-
 test/validation/classification/odp_classification_testsuites.h | 2 +-
 test/validation/common/mask_common.c                           | 2 +-
 test/validation/common/odp_cunit_common.c                      | 2 +-
 test/validation/config/config.c                                | 2 +-
 test/validation/cpumask/cpumask.c                              | 2 +-
 test/validation/cpumask/cpumask.h                              | 2 +-
 test/validation/crypto/crypto.c                                | 2 +-
 test/validation/crypto/odp_crypto_test_inp.c                   | 2 +-
 test/validation/errno/errno.c                                  | 2 +-
 test/validation/hash/hash.c                                    | 2 +-
 test/validation/init/init.c                                    | 2 +-
 test/validation/lock/lock.c                                    | 2 +-
 test/validation/packet/packet.c                                | 2 +-
 test/validation/pktio/pktio.c                                  | 2 +-
 test/validation/pool/pool.c                                    | 2 +-
 test/validation/queue/queue.c                                  | 2 +-
 test/validation/random/random.c                                | 2 +-
 test/validation/scheduler/scheduler.c                          | 2 +-
 test/validation/shmem/shmem.c                                  | 2 +-
 test/validation/std_clib/std_clib.c                            | 2 +-
 test/validation/system/system.c                                | 2 +-
 test/validation/thread/thread.c                                | 2 +-
 test/validation/thread/thread.h                                | 2 +-
 test/validation/time/time.c                                    | 2 +-
 test/validation/timer/timer.c                                  | 2 +-
 77 files changed, 76 insertions(+), 76 deletions(-)
 rename include/{odp.h => odp_api.h} (100%)
diff mbox

Patch

diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index 8e0a200..68802ce 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -10,7 +10,7 @@ 
 #include <unistd.h>
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c
index ab8c7fa..65ac5f2 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -17,7 +17,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp/helper/linux.h>
 #include <odp/helper/eth.h>
diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 6134ab6..e4b0a22 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -21,7 +21,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp/helper/linux.h>
 #include <odp/helper/eth.h>
diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c
index 0883d4d..2bd44cf 100644
--- a/example/ipsec/odp_ipsec_cache.c
+++ b/example/ipsec/odp_ipsec_cache.c
@@ -9,7 +9,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp/helper/ipsec.h>
 
diff --git a/example/ipsec/odp_ipsec_cache.h b/example/ipsec/odp_ipsec_cache.h
index 56be9d8..7a4b95c 100644
--- a/example/ipsec/odp_ipsec_cache.h
+++ b/example/ipsec/odp_ipsec_cache.h
@@ -11,7 +11,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/ipsec.h>
 
 #include <odp_ipsec_misc.h>
diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c
index 59cb6e4..38fc283 100644
--- a/example/ipsec/odp_ipsec_fwd_db.c
+++ b/example/ipsec/odp_ipsec_fwd_db.c
@@ -14,7 +14,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp_ipsec_fwd_db.h>
 
diff --git a/example/ipsec/odp_ipsec_fwd_db.h b/example/ipsec/odp_ipsec_fwd_db.h
index 9d7aa09..0e2e9ed 100644
--- a/example/ipsec/odp_ipsec_fwd_db.h
+++ b/example/ipsec/odp_ipsec_fwd_db.h
@@ -11,7 +11,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/eth.h>
 #include <odp_ipsec_misc.h>
 
diff --git a/example/ipsec/odp_ipsec_loop_db.c b/example/ipsec/odp_ipsec_loop_db.c
index ab0129b..1d5e404 100644
--- a/example/ipsec/odp_ipsec_loop_db.c
+++ b/example/ipsec/odp_ipsec_loop_db.c
@@ -9,7 +9,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp_ipsec_loop_db.h>
 
diff --git a/example/ipsec/odp_ipsec_loop_db.h b/example/ipsec/odp_ipsec_loop_db.h
index 677f488..0778186 100644
--- a/example/ipsec/odp_ipsec_loop_db.h
+++ b/example/ipsec/odp_ipsec_loop_db.h
@@ -11,7 +11,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/eth.h>
 #include <odp_ipsec_misc.h>
 
diff --git a/example/ipsec/odp_ipsec_misc.h b/example/ipsec/odp_ipsec_misc.h
index e583c01..6a49dcb 100644
--- a/example/ipsec/odp_ipsec_misc.h
+++ b/example/ipsec/odp_ipsec_misc.h
@@ -11,7 +11,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
 #include <odp/helper/ipsec.h>
diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c
index 8b2d212..28215b5 100644
--- a/example/ipsec/odp_ipsec_sa_db.c
+++ b/example/ipsec/odp_ipsec_sa_db.c
@@ -14,7 +14,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp_ipsec_sa_db.h>
 
diff --git a/example/ipsec/odp_ipsec_sp_db.c b/example/ipsec/odp_ipsec_sp_db.c
index 48874eb..ed631c7 100644
--- a/example/ipsec/odp_ipsec_sp_db.c
+++ b/example/ipsec/odp_ipsec_sp_db.c
@@ -14,7 +14,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp_ipsec_sp_db.h>
 
diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c
index ff2ca33..ba6b669 100644
--- a/example/ipsec/odp_ipsec_stream.c
+++ b/example/ipsec/odp_ipsec_stream.c
@@ -19,7 +19,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
diff --git a/example/ipsec/odp_ipsec_stream.h b/example/ipsec/odp_ipsec_stream.h
index 12e368c..ea480c3 100644
--- a/example/ipsec/odp_ipsec_stream.h
+++ b/example/ipsec/odp_ipsec_stream.h
@@ -11,7 +11,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_ipsec_misc.h>
 #include <odp_ipsec_cache.h>
 
diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c
index adabc03..579f3fb 100644
--- a/example/packet/odp_pktio.c
+++ b/example/packet/odp_pktio.c
@@ -11,7 +11,7 @@ 
 
 #include <example_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c
index 7cfd969..16dda4c 100644
--- a/example/time/time_global_test.c
+++ b/example/time/time_global_test.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <example_debug.h>
 #include <odp/helper/linux.h>
 
diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
index e6717bf..4294376 100644
--- a/example/timer/odp_timer_test.c
+++ b/example/timer/odp_timer_test.c
@@ -10,7 +10,7 @@ 
 #include <example_debug.h>
 
 /* ODP main header */
-#include <odp.h>
+#include <odp_api.h>
 
 /* ODP helper for Linux apps */
 #include <odp/helper/linux.h>
diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c
index b4f0101..d9769d3 100644
--- a/example/traffic_mgmt/odp_traffic_mgmt.c
+++ b/example/traffic_mgmt/odp_traffic_mgmt.c
@@ -15,7 +15,7 @@ 
 #include <signal.h>
 #include <sys/resource.h>
 #include <execinfo.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/api/plat/packet_types.h>
 #include <example_debug.h>
 
diff --git a/helper/hashtable.c b/helper/hashtable.c
index e0f562e..8bb1ae5 100644
--- a/helper/hashtable.c
+++ b/helper/hashtable.c
@@ -10,7 +10,7 @@ 
 #include "odph_hashtable.h"
 #include "odph_list_internal.h"
 #include "odph_debug.h"
-#include <odp.h>
+#include <odp_api.h>
 
 #define    ODPH_SUCCESS	0
 #define    ODPH_FAIL	-1
diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h
index c48b3ed..c38081d 100644
--- a/helper/include/odp/helper/linux.h
+++ b/helper/include/odp/helper/linux.h
@@ -22,7 +22,7 @@ 
 extern "C" {
 #endif
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include <pthread.h>
 #include <sys/types.h>
diff --git a/helper/lineartable.c b/helper/lineartable.c
index 68d9350..e82c165 100644
--- a/helper/lineartable.c
+++ b/helper/lineartable.c
@@ -10,7 +10,7 @@ 
 
 #include "odph_lineartable.h"
 #include "odph_debug.h"
-#include <odp.h>
+#include <odp_api.h>
 
 #define     ODPH_SUCCESS	0
 #define     ODPH_FAIL		-1
diff --git a/helper/ring.c b/helper/ring.c
index 6699186..6e3f07a 100644
--- a/helper/ring.c
+++ b/helper/ring.c
@@ -69,7 +69,7 @@ 
  *
  ***************************************************************************/
 
-#include <odp.h>
+#include <odp_api.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/helper/test/odp_chksum.c b/helper/test/odp_chksum.c
index b71fabc..3c0af8f 100644
--- a/helper/test/odp_chksum.c
+++ b/helper/test/odp_chksum.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
 #include <odp/helper/udp.h>
diff --git a/helper/test/odp_process.c b/helper/test/odp_process.c
index cb9b328..796c9be 100644
--- a/helper/test/odp_process.c
+++ b/helper/test/odp_process.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 
 #define NUMBER_WORKERS 16 /* 0 = max */
diff --git a/helper/test/odp_table.c b/helper/test/odp_table.c
index 16de165..fe790cc 100644
--- a/helper/test/odp_table.c
+++ b/helper/test/odp_table.c
@@ -7,7 +7,7 @@ 
 #include <test_debug.h>
 #include <../odph_hashtable.h>
 #include <../odph_lineartable.h>
-#include <odp.h>
+#include <odp_api.h>
 
 /**
  * Address Resolution Protocol (ARP)
diff --git a/helper/test/odp_thread.c b/helper/test/odp_thread.c
index f2f7904..8ab3df1 100644
--- a/helper/test/odp_thread.c
+++ b/helper/test/odp_thread.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <test_debug.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 
 #define NUMBER_WORKERS 16
diff --git a/include/odp.h b/include/odp_api.h
similarity index 100%
rename from include/odp.h
rename to include/odp_api.h
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 6762dd7..fb7f030 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -9,7 +9,7 @@  AM_CFLAGS +=  -I$(top_srcdir)/include
 AM_CFLAGS +=  -I$(top_srcdir)/helper/include
 
 include_HEADERS = \
-		  $(top_srcdir)/include/odp.h
+		  $(top_srcdir)/include/odp_api.h
 
 odpapiincludedir= $(includedir)/odp/api
 odpapiinclude_HEADERS = \
diff --git a/platform/linux-generic/include/odp_name_table_internal.h b/platform/linux-generic/include/odp_name_table_internal.h
index d810128..e9a85da 100644
--- a/platform/linux-generic/include/odp_name_table_internal.h
+++ b/platform/linux-generic/include/odp_name_table_internal.h
@@ -14,7 +14,7 @@  extern "C" {
 #endif
 
 #include <stdint.h>
-#include <odp.h>
+#include <odp_api.h>
 
 typedef enum {
 	ODP_COS_HANDLE,
diff --git a/platform/linux-generic/include/odp_pkt_queue_internal.h b/platform/linux-generic/include/odp_pkt_queue_internal.h
index 85cdada..83375d0 100644
--- a/platform/linux-generic/include/odp_pkt_queue_internal.h
+++ b/platform/linux-generic/include/odp_pkt_queue_internal.h
@@ -14,7 +14,7 @@  extern "C" {
 #endif
 
 #include <stdint.h>
-#include <odp.h>
+#include <odp_api.h>
 
 typedef uint64_t _odp_int_queue_pool_t;
 typedef uint32_t _odp_int_pkt_queue_t;
diff --git a/platform/linux-generic/include/odp_timer_wheel_internal.h b/platform/linux-generic/include/odp_timer_wheel_internal.h
index ac0aac5..0e5828f 100644
--- a/platform/linux-generic/include/odp_timer_wheel_internal.h
+++ b/platform/linux-generic/include/odp_timer_wheel_internal.h
@@ -14,7 +14,7 @@  extern "C" {
 #endif
 
 #include <stdint.h>
-#include <odp.h>
+#include <odp_api.h>
 
 /* Note that ALL times in this API are in units of processor/cpu clock
  * cycles!
diff --git a/platform/linux-generic/odp_pkt_queue.c b/platform/linux-generic/odp_pkt_queue.c
index 88520b1..64f4930 100644
--- a/platform/linux-generic/odp_pkt_queue.c
+++ b/platform/linux-generic/odp_pkt_queue.c
@@ -10,7 +10,7 @@ 
 #include <string.h>
 #include <malloc.h>
 #include <stdio.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_pkt_queue_internal.h>
 #include <odp_debug_internal.h>
 
diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c
index 5811266..9c8d3e1 100644
--- a/platform/linux-generic/odp_sorted_list.c
+++ b/platform/linux-generic/odp_sorted_list.c
@@ -10,7 +10,7 @@ 
 #include <string.h>
 #include <malloc.h>
 #include <stdio.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_debug_internal.h>
 #include <odp_sorted_list_internal.h>
 
diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c
index 21be3ef..288ea49 100644
--- a/platform/linux-generic/odp_timer_wheel.c
+++ b/platform/linux-generic/odp_timer_wheel.c
@@ -10,7 +10,7 @@ 
 #include <string.h>
 #include <malloc.h>
 #include <stdio.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_timer_wheel_internal.h>
 #include <odp_debug_internal.h>
 
diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c
index 1f29438..1b0f25b 100644
--- a/platform/linux-generic/pktio/ethtool.c
+++ b/platform/linux-generic/pktio/ethtool.c
@@ -12,7 +12,7 @@ 
 #include <errno.h>
 #include <net/if.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_socket.h>
 #include <odp_debug_internal.h>
 
diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c
index 340e106..34d769e 100644
--- a/platform/linux-generic/pktio/loop.c
+++ b/platform/linux-generic/pktio/loop.c
@@ -5,7 +5,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
 #include <odp_classification_internal.h>
diff --git a/platform/linux-generic/pktio/pcap.c b/platform/linux-generic/pktio/pcap.c
index c22cce0..ef42c11 100644
--- a/platform/linux-generic/pktio/pcap.c
+++ b/platform/linux-generic/pktio/pcap.c
@@ -36,7 +36,7 @@ 
 
 #include <odp_posix_extensions.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
 
diff --git a/platform/linux-generic/pktio/socket.c b/platform/linux-generic/pktio/socket.c
index 9c5be22..be53900 100644
--- a/platform/linux-generic/pktio/socket.c
+++ b/platform/linux-generic/pktio/socket.c
@@ -32,7 +32,7 @@ 
 #include <linux/ethtool.h>
 #include <linux/sockios.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_socket.h>
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c
index 887fccc..da2682c 100644
--- a/platform/linux-generic/pktio/socket_mmap.c
+++ b/platform/linux-generic/pktio/socket_mmap.c
@@ -22,7 +22,7 @@ 
 #include <sys/ioctl.h>
 #include <errno.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_socket.h>
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
diff --git a/platform/linux-generic/pktio/sysfs.c b/platform/linux-generic/pktio/sysfs.c
index 4e5c028..7aadc14 100644
--- a/platform/linux-generic/pktio/sysfs.c
+++ b/platform/linux-generic/pktio/sysfs.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_io_internal.h>
 #include <errno.h>
 #include <string.h>
diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c
index 1eb4f56..14cc600 100644
--- a/platform/linux-generic/pktio/tap.c
+++ b/platform/linux-generic/pktio/tap.c
@@ -38,7 +38,7 @@ 
 #include <sys/types.h>
 #include <linux/if_tun.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_packet_socket.h>
 #include <odp_packet_internal.h>
 #include <odp_packet_io_internal.h>
diff --git a/test/api_test/odp_common.c b/test/api_test/odp_common.c
index 70aee96..75423ec 100644
--- a/test/api_test/odp_common.c
+++ b/test/api_test/odp_common.c
@@ -11,7 +11,7 @@ 
  */
 
 #include <string.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 #include <odp_common.h>
 #include <test_debug.h>
diff --git a/test/api_test/odp_ring_test.c b/test/api_test/odp_ring_test.c
index e8a962a..146c95d 100644
--- a/test/api_test/odp_ring_test.c
+++ b/test/api_test/odp_ring_test.c
@@ -47,7 +47,7 @@ 
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_common.h>
 #include <odp/helper/ring.h>
 #include <test_debug.h>
diff --git a/test/miscellaneous/odp_api_from_cpp.cpp b/test/miscellaneous/odp_api_from_cpp.cpp
index c9733ee..be74c27 100644
--- a/test/miscellaneous/odp_api_from_cpp.cpp
+++ b/test/miscellaneous/odp_api_from_cpp.cpp
@@ -1,5 +1,5 @@ 
 #include <cstdio>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 
 int main(int argc ODP_UNUSED, const char *argv[] ODP_UNUSED)
diff --git a/test/performance/odp_atomic.c b/test/performance/odp_atomic.c
index 067329b..69c23e2 100644
--- a/test/performance/odp_atomic.c
+++ b/test/performance/odp_atomic.c
@@ -8,7 +8,7 @@ 
 #include <sys/time.h>
 #include <test_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 
 static void test_atomic_inc_dec_u32(void);
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index ec46bf2..02b3adf 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -22,7 +22,7 @@ 
 
 #include <test_debug.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/helper/linux.h>
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
diff --git a/test/performance/odp_pktio_perf.c b/test/performance/odp_pktio_perf.c
index 9a47355..0fbecec 100644
--- a/test/performance/odp_pktio_perf.c
+++ b/test/performance/odp_pktio_perf.c
@@ -20,7 +20,7 @@ 
  * a single packet rate can be specified on the command line.
  *
  */
-#include <odp.h>
+#include <odp_api.h>
 
 #include <odp/helper/eth.h>
 #include <odp/helper/ip.h>
diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c
index d785878..19bfa2a 100644
--- a/test/performance/odp_scheduling.c
+++ b/test/performance/odp_scheduling.c
@@ -16,7 +16,7 @@ 
 #include <test_debug.h>
 
 /* ODP main header */
-#include <odp.h>
+#include <odp_api.h>
 
 /* ODP helper for Linux apps */
 #include <odp/helper/linux.h>
diff --git a/test/validation/atomic/atomic.c b/test/validation/atomic/atomic.c
index 24c0de7..1c81bdd 100644
--- a/test/validation/atomic/atomic.c
+++ b/test/validation/atomic/atomic.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <malloc.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <CUnit/Basic.h>
 #include <odp_cunit_common.h>
 #include <unistd.h>
diff --git a/test/validation/barrier/barrier.c b/test/validation/barrier/barrier.c
index 8f15cdf..98df247 100644
--- a/test/validation/barrier/barrier.c
+++ b/test/validation/barrier/barrier.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <malloc.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <CUnit/Basic.h>
 #include <odp_cunit_common.h>
 #include <unistd.h>
diff --git a/test/validation/buffer/buffer.c b/test/validation/buffer/buffer.c
index 9c8da81..c336ac3 100644
--- a/test/validation/buffer/buffer.c
+++ b/test/validation/buffer/buffer.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "buffer.h"
 
diff --git a/test/validation/classification/classification.c b/test/validation/classification/classification.c
index 9c3dbbb..a266c56 100644
--- a/test/validation/classification/classification.c
+++ b/test/validation/classification/classification.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "odp_classification_testsuites.h"
 #include "classification.h"
diff --git a/test/validation/classification/odp_classification_testsuites.h b/test/validation/classification/odp_classification_testsuites.h
index 44577a0..8d5b5ff 100644
--- a/test/validation/classification/odp_classification_testsuites.h
+++ b/test/validation/classification/odp_classification_testsuites.h
@@ -7,7 +7,7 @@ 
 #ifndef ODP_CLASSIFICATION_TESTSUITES_H_
 #define ODP_CLASSIFICATION_TESTSUITES_H_
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 
 extern odp_testinfo_t classification_suite[];
diff --git a/test/validation/common/mask_common.c b/test/validation/common/mask_common.c
index 9b1a23f..5001364 100644
--- a/test/validation/common/mask_common.c
+++ b/test/validation/common/mask_common.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include "odp_cunit_common.h"
 #include "mask_common.h"
diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c
index a886f10..023d86a 100644
--- a/test/validation/common/odp_cunit_common.c
+++ b/test/validation/common/odp_cunit_common.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <string.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include <odp/helper/linux.h>
 /* Globals */
diff --git a/test/validation/config/config.c b/test/validation/config/config.c
index f957150..380163c 100644
--- a/test/validation/config/config.c
+++ b/test/validation/config/config.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "config.h"
 
diff --git a/test/validation/cpumask/cpumask.c b/test/validation/cpumask/cpumask.c
index 2419f47..017332a 100644
--- a/test/validation/cpumask/cpumask.c
+++ b/test/validation/cpumask/cpumask.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 
 #include "odp_cunit_common.h"
 #include "cpumask.h"
diff --git a/test/validation/cpumask/cpumask.h b/test/validation/cpumask/cpumask.h
index c6f9cde..2019f7a 100644
--- a/test/validation/cpumask/cpumask.h
+++ b/test/validation/cpumask/cpumask.h
@@ -7,7 +7,7 @@ 
 #ifndef _ODP_TEST_CPUMASK_H_
 #define _ODP_TEST_CPUMASK_H_
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 
 /* test functions: */
diff --git a/test/validation/crypto/crypto.c b/test/validation/crypto/crypto.c
index b2d8f45..a0411c6 100644
--- a/test/validation/crypto/crypto.c
+++ b/test/validation/crypto/crypto.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "odp_crypto_test_inp.h"
 #include "crypto.h"
diff --git a/test/validation/crypto/odp_crypto_test_inp.c b/test/validation/crypto/odp_crypto_test_inp.c
index b6fcb12..fc125f7 100644
--- a/test/validation/crypto/odp_crypto_test_inp.c
+++ b/test/validation/crypto/odp_crypto_test_inp.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <CUnit/Basic.h>
 #include <odp_cunit_common.h>
 #include "test_vectors.h"
diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c
index d0e2128..9dd1be6 100644
--- a/test/validation/errno/errno.c
+++ b/test/validation/errno/errno.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "errno.h"
 
diff --git a/test/validation/hash/hash.c b/test/validation/hash/hash.c
index 11b331e..faba0b6 100644
--- a/test/validation/hash/hash.c
+++ b/test/validation/hash/hash.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "hash.h"
 
diff --git a/test/validation/init/init.c b/test/validation/init/init.c
index 62bd75c..665c3dc 100644
--- a/test/validation/init/init.c
+++ b/test/validation/init/init.c
@@ -6,7 +6,7 @@ 
 
 #include <stdarg.h>
 #include <stdlib.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <CUnit/Basic.h>
 #include "init.h"
 
diff --git a/test/validation/lock/lock.c b/test/validation/lock/lock.c
index 0f4415d..f1f6d69 100644
--- a/test/validation/lock/lock.c
+++ b/test/validation/lock/lock.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <malloc.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <CUnit/Basic.h>
 #include <odp_cunit_common.h>
 #include <unistd.h>
diff --git a/test/validation/packet/packet.c b/test/validation/packet/packet.c
index 2467dec..83cb803 100644
--- a/test/validation/packet/packet.c
+++ b/test/validation/packet/packet.c
@@ -6,7 +6,7 @@ 
 
 #include <stdlib.h>
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "packet.h"
 
diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c
index f3577ec..216c7a6 100644
--- a/test/validation/pktio/pktio.c
+++ b/test/validation/pktio/pktio.c
@@ -3,7 +3,7 @@ 
  *
  * SPDX-License-Identifier:     BSD-3-Clause
  */
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 
 #include <odp/helper/eth.h>
diff --git a/test/validation/pool/pool.c b/test/validation/pool/pool.c
index bca210a..7f32991 100644
--- a/test/validation/pool/pool.c
+++ b/test/validation/pool/pool.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:	BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "pool.h"
 
diff --git a/test/validation/queue/queue.c b/test/validation/queue/queue.c
index 7c55eb3..50c6857 100644
--- a/test/validation/queue/queue.c
+++ b/test/validation/queue/queue.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "queue.h"
 
diff --git a/test/validation/random/random.c b/test/validation/random/random.c
index 8ed5944..7f899e8 100644
--- a/test/validation/random/random.c
+++ b/test/validation/random/random.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "random.h"
 
diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c
index dcf01c0..5631618 100644
--- a/test/validation/scheduler/scheduler.c
+++ b/test/validation/scheduler/scheduler.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "scheduler.h"
 
diff --git a/test/validation/shmem/shmem.c b/test/validation/shmem/shmem.c
index 08425e6..ba4973d 100644
--- a/test/validation/shmem/shmem.c
+++ b/test/validation/shmem/shmem.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "shmem.h"
 
diff --git a/test/validation/std_clib/std_clib.c b/test/validation/std_clib/std_clib.c
index e69bc39..5d5beab 100644
--- a/test/validation/std_clib/std_clib.c
+++ b/test/validation/std_clib/std_clib.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include "std_clib.h"
 
diff --git a/test/validation/system/system.c b/test/validation/system/system.c
index de953f0..7520d16 100644
--- a/test/validation/system/system.c
+++ b/test/validation/system/system.c
@@ -5,7 +5,7 @@ 
  */
 
 #include <ctype.h>
-#include <odp.h>
+#include <odp_api.h>
 #include <odp/api/cpumask.h>
 #include "odp_cunit_common.h"
 #include "test_debug.h"
diff --git a/test/validation/thread/thread.c b/test/validation/thread/thread.c
index 03bf3cd..5cbec83 100644
--- a/test/validation/thread/thread.c
+++ b/test/validation/thread/thread.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier:     BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 #include <mask_common.h>
 #include <test_debug.h>
diff --git a/test/validation/thread/thread.h b/test/validation/thread/thread.h
index 6cbc694..f8ea710 100644
--- a/test/validation/thread/thread.h
+++ b/test/validation/thread/thread.h
@@ -7,7 +7,7 @@ 
 #ifndef _ODP_TEST_THREAD_H_
 #define _ODP_TEST_THREAD_H_
 
-#include <odp.h>
+#include <odp_api.h>
 #include <odp_cunit_common.h>
 
 /* test functions: */
diff --git a/test/validation/time/time.c b/test/validation/time/time.c
index 4eb6dd5..cd475e6 100644
--- a/test/validation/time/time.c
+++ b/test/validation/time/time.c
@@ -4,7 +4,7 @@ 
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "time.h"
 
diff --git a/test/validation/timer/timer.c b/test/validation/timer/timer.c
index 004670a..c17c407 100644
--- a/test/validation/timer/timer.c
+++ b/test/validation/timer/timer.c
@@ -14,7 +14,7 @@ 
 #endif
 
 #include <time.h>
-#include <odp.h>
+#include <odp_api.h>
 #include "odp_cunit_common.h"
 #include "test_debug.h"
 #include "timer.h"