aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_schedule_internal.h
blob: 08683941acf85f3f502865c56b815b1bb4e99d88 (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
34
/* 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);
void schedule_pktio_start(odp_pktio_t pktio, int num_in_queue,
			  int in_queue_idx[]);
void odp_schedule_release_context(void);

#ifdef __cplusplus
}
#endif

#endif