aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_schedule_if.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2016-06-15 13:44:17 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-06-16 15:22:18 +0300
commit7da43047a614ce4c030878ee8bef31725c7b71ef (patch)
tree2d6d6a7571f3d60c748a273284a810299d4feecb /platform/linux-generic/include/odp_schedule_if.h
parentbde29f1382ed76fa6b8450b67a249ab2c8c83323 (diff)
linux-gen: sched: use pktio index in scheduler interface
Replaced pktio handle with pktio index in scheduler interface. Indexes are used in implementation internal interfaces for performance reasons. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_schedule_if.h')
-rw-r--r--platform/linux-generic/include/odp_schedule_if.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_schedule_if.h b/platform/linux-generic/include/odp_schedule_if.h
index 86a117fd5..029a76789 100644
--- a/platform/linux-generic/include/odp_schedule_if.h
+++ b/platform/linux-generic/include/odp_schedule_if.h
@@ -12,7 +12,6 @@ extern "C" {
#endif
#include <odp/api/queue.h>
-#include <odp/api/packet_io.h>
#include <odp/api/schedule.h>
/* Constants defined by the scheduler. These should be converted into interface
@@ -21,7 +20,7 @@ extern "C" {
/* Number of ordered locks per queue */
#define SCHEDULE_ORDERED_LOCKS_PER_QUEUE 2
-typedef void (*schedule_pktio_start_fn_t)(odp_pktio_t pktio, int num_in_queue,
+typedef void (*schedule_pktio_start_fn_t)(int pktio_index, int num_in_queue,
int in_queue_idx[]);
typedef int (*schedule_thr_add_fn_t)(odp_schedule_group_t group, int thr);
typedef int (*schedule_thr_rem_fn_t)(odp_schedule_group_t group, int thr);