aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_schedule_internal.h
blob: 6b301cd184d24affb1814775c1ed9cef62aae09e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Copyright (c) 2013, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */



#ifndef ODP_SCHEDULE_INTERNAL_H_
#define ODP_SCHEDULE_INTERNAL_H_

#ifdef __cplusplus
extern "C" {
#endif


#include <odp/buffer.h>
#include <odp_buffer_internal.h>
#include <odp/queue.h>
#include <odp/packet_io.h>
#include <odp_queue_internal.h>

int schedule_queue_init(queue_entry_t *qe);
void schedule_queue_destroy(queue_entry_t *qe);
int schedule_queue(const queue_entry_t *qe);
int schedule_pktio_start(odp_pktio_t pktio, int prio);
void odp_schedule_release_context(void);

#ifdef __cplusplus
}
#endif

#endif