DPDK
19.05.0
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_eal
common
include
rte_interrupts.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
5
#ifndef _RTE_INTERRUPTS_H_
6
#define _RTE_INTERRUPTS_H_
7
8
#include <
rte_common.h
>
9
#include <rte_compat.h>
10
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
23
struct
rte_intr_handle
;
24
26
typedef
void (*
rte_intr_callback_fn
)(
void
*cb_arg);
27
32
typedef
void (*
rte_intr_unregister_callback_fn
)(
struct
rte_intr_handle
*intr_handle,
33
void
*cb_arg);
34
35
#include "
rte_eal_interrupts.h
"
36
51
int
rte_intr_callback_register
(
const
struct
rte_intr_handle
*intr_handle,
52
rte_intr_callback_fn
cb,
void
*cb_arg);
53
69
int
rte_intr_callback_unregister
(
const
struct
rte_intr_handle
*intr_handle,
70
rte_intr_callback_fn
cb,
void
*cb_arg);
71
91
int
__rte_experimental
92
rte_intr_callback_unregister_pending
(
const
struct
rte_intr_handle
*intr_handle,
93
rte_intr_callback_fn
cb_fn,
void
*cb_arg,
94
rte_intr_unregister_callback_fn
ucb_fn);
95
106
int
rte_intr_enable
(
const
struct
rte_intr_handle
*intr_handle);
107
118
int
rte_intr_disable
(
const
struct
rte_intr_handle
*intr_handle);
119
120
#ifdef __cplusplus
121
}
122
#endif
123
124
#endif
Generated by
1.8.1.2