DPDK
18.11.11
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
28
#include "
rte_eal_interrupts.h
"
29
44
int
rte_intr_callback_register
(
const
struct
rte_intr_handle
*intr_handle,
45
rte_intr_callback_fn
cb,
void
*cb_arg);
46
62
int
rte_intr_callback_unregister
(
const
struct
rte_intr_handle
*intr_handle,
63
rte_intr_callback_fn
cb,
void
*cb_arg);
64
75
int
rte_intr_enable
(
const
struct
rte_intr_handle
*intr_handle);
76
87
int
rte_intr_disable
(
const
struct
rte_intr_handle
*intr_handle);
88
106
__rte_experimental
107
int
rte_intr_ack
(
const
struct
rte_intr_handle
*intr_handle);
108
109
#ifdef __cplusplus
110
}
111
#endif
112
113
#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_ack
__rte_experimental int rte_intr_ack(const struct rte_intr_handle *intr_handle)
rte_intr_callback_fn
void(* rte_intr_callback_fn)(void *cb_arg)
Definition:
rte_interrupts.h:26
Generated by
1.8.20