aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/linux-generic/Makefile.am2
-rw-r--r--platform/linux-generic/include/odp_buffer_internal.h2
-rw-r--r--platform/linux-generic/include/odp_queue_internal.h2
-rw-r--r--platform/linux-generic/include/odp_schedule_if.h (renamed from platform/linux-generic/include/odp_schedule_internal.h)7
-rw-r--r--platform/linux-generic/odp_packet_io.c2
-rw-r--r--platform/linux-generic/odp_queue.c2
-rw-r--r--platform/linux-generic/odp_schedule.c2
-rw-r--r--platform/linux-generic/odp_schedule_if.c2
-rw-r--r--platform/linux-generic/odp_schedule_ordered.c2
-rw-r--r--platform/linux-generic/odp_thread.c2
10 files changed, 11 insertions, 14 deletions
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 759e10154..aed0586c2 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -117,7 +117,7 @@ noinst_HEADERS = \
${srcdir}/include/odp_pool_internal.h \
${srcdir}/include/odp_posix_extensions.h \
${srcdir}/include/odp_queue_internal.h \
- ${srcdir}/include/odp_schedule_internal.h \
+ ${srcdir}/include/odp_schedule_if.h \
${srcdir}/include/odp_schedule_ordered_internal.h \
${srcdir}/include/odp_sorted_list_internal.h \
${srcdir}/include/odp_shm_internal.h \
diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index deccf01fc..a427a806f 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -30,7 +30,7 @@ extern "C" {
#include <odp/api/thread.h>
#include <odp/api/event.h>
#include <odp_forward_typedefs_internal.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#define ODP_BITSIZE(x) \
((x) <= 2 ? 1 : \
diff --git a/platform/linux-generic/include/odp_queue_internal.h b/platform/linux-generic/include/odp_queue_internal.h
index 614e7acd0..8f8e5617d 100644
--- a/platform/linux-generic/include/odp_queue_internal.h
+++ b/platform/linux-generic/include/odp_queue_internal.h
@@ -20,7 +20,7 @@ extern "C" {
#include <odp/api/queue.h>
#include <odp_forward_typedefs_internal.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <odp_buffer_internal.h>
#include <odp_align_internal.h>
#include <odp/api/packet_io.h>
diff --git a/platform/linux-generic/include/odp_schedule_internal.h b/platform/linux-generic/include/odp_schedule_if.h
index 7436f5a38..b875f6cf7 100644
--- a/platform/linux-generic/include/odp_schedule_internal.h
+++ b/platform/linux-generic/include/odp_schedule_if.h
@@ -4,10 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-
-
-#ifndef ODP_SCHEDULE_INTERNAL_H_
-#define ODP_SCHEDULE_INTERNAL_H_
+#ifndef ODP_SCHEDULE_IF_H_
+#define ODP_SCHEDULE_IF_H_
#ifdef __cplusplus
extern "C" {
@@ -32,7 +30,6 @@ typedef int (*schedule_init_queue_fn_t)(uint32_t queue_index);
typedef void (*schedule_destroy_queue_fn_t)(uint32_t queue_index);
typedef int (*schedule_sched_queue_fn_t)(uint32_t queue_index);
-
typedef struct schedule_fn_t {
schedule_pktio_start_fn_t pktio_start;
schedule_thr_add_fn_t thr_add;
diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c
index b7be7e0be..572db9b43 100644
--- a/platform/linux-generic/odp_packet_io.c
+++ b/platform/linux-generic/odp_packet_io.c
@@ -17,7 +17,7 @@
#include <odp_packet_socket.h>
#include <odp_config_internal.h>
#include <odp_queue_internal.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <odp_classification_internal.h>
#include <odp_debug_internal.h>
#include <odp_packet_io_ipc_internal.h>
diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c
index df57b0679..b2de5ea00 100644
--- a/platform/linux-generic/odp_queue.c
+++ b/platform/linux-generic/odp_queue.c
@@ -15,7 +15,7 @@
#include <odp_internal.h>
#include <odp/api/shared_memory.h>
#include <odp/api/schedule.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <odp_config_internal.h>
#include <odp_packet_io_internal.h>
#include <odp_packet_io_queue.h>
diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c
index ed9f557a2..e896c0f97 100644
--- a/platform/linux-generic/odp_schedule.c
+++ b/platform/linux-generic/odp_schedule.c
@@ -6,7 +6,7 @@
#include <string.h>
#include <odp/api/schedule.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <odp_schedule_ordered_internal.h>
#include <odp/api/align.h>
#include <odp/api/queue.h>
diff --git a/platform/linux-generic/odp_schedule_if.c b/platform/linux-generic/odp_schedule_if.c
index 7dc6dd017..bf11cd3e1 100644
--- a/platform/linux-generic/odp_schedule_if.c
+++ b/platform/linux-generic/odp_schedule_if.c
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
extern const schedule_fn_t default_schedule_fn;
diff --git a/platform/linux-generic/odp_schedule_ordered.c b/platform/linux-generic/odp_schedule_ordered.c
index fb646eb38..46db0608d 100644
--- a/platform/linux-generic/odp_schedule_ordered.c
+++ b/platform/linux-generic/odp_schedule_ordered.c
@@ -6,7 +6,7 @@
#include <odp_packet_io_queue.h>
#include <odp_queue_internal.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <odp_schedule_ordered_internal.h>
#include <odp_traffic_mngr_internal.h>
diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c
index a9a44147f..33a8a7f3c 100644
--- a/platform/linux-generic/odp_thread.c
+++ b/platform/linux-generic/odp_thread.c
@@ -16,7 +16,7 @@
#include <odp/api/shared_memory.h>
#include <odp/api/align.h>
#include <odp/api/cpu.h>
-#include <odp_schedule_internal.h>
+#include <odp_schedule_if.h>
#include <string.h>
#include <stdio.h>