DPDK
18.11.3
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
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
struct
rte_intr_handle
;
23
25
typedef
void (*
rte_intr_callback_fn
)(
void
*cb_arg);
26
27
#include "
rte_eal_interrupts.h
"
28
43
int
rte_intr_callback_register
(
const
struct
rte_intr_handle
*intr_handle,
44
rte_intr_callback_fn
cb,
void
*cb_arg);
45
61
int
rte_intr_callback_unregister
(
const
struct
rte_intr_handle
*intr_handle,
62
rte_intr_callback_fn
cb,
void
*cb_arg);
63
74
int
rte_intr_enable
(
const
struct
rte_intr_handle
*intr_handle);
75
86
int
rte_intr_disable
(
const
struct
rte_intr_handle
*intr_handle);
87
88
#ifdef __cplusplus
89
}
90
#endif
91
92
#endif
rte_intr_handle
Definition:
rte_eal_interrupts.h:69
rte_intr_callback_register
int rte_intr_callback_register(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb, void *cb_arg)
rte_intr_callback_unregister
int rte_intr_callback_unregister(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb, void *cb_arg)
rte_common.h
rte_intr_enable
int rte_intr_enable(const struct rte_intr_handle *intr_handle)
rte_eal_interrupts.h
rte_intr_disable
int rte_intr_disable(const struct rte_intr_handle *intr_handle)
rte_intr_callback_fn
void(* rte_intr_callback_fn)(void *cb_arg)
Definition:
rte_interrupts.h:25
Generated by
1.8.16