16#include <rte_stdatomic.h>
22#define RTE_INTR_EVENT_ADD 1UL
23#define RTE_INTR_EVENT_DEL 2UL
25typedef void (*rte_intr_event_cb_t)(
int fd,
void *arg);
27struct rte_epoll_data {
30 rte_intr_event_cb_t cb_fun;
35 RTE_EPOLL_INVALID = 0,
45 struct rte_epoll_data epdata;
48#define RTE_EPOLL_PER_THREAD -1
69 int maxevents,
int timeout);
90 int maxevents,
int timeout);
int rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)
int rte_epoll_wait(int epfd, struct rte_epoll_event *events, int maxevents, int timeout)
int rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events, int maxevents, int timeout)