Lines Matching defs:intr_handle
52 static struct rte_intr_handle *intr_handle;
59 rte_intr_instance_free(intr_handle);
66 intr_handle = rte_intr_instance_alloc(RTE_INTR_INSTANCE_F_PRIVATE);
67 if (intr_handle == NULL) {
68 EAL_LOG(ERR, "Fail to allocate intr_handle");
72 if (rte_intr_type_set(intr_handle, RTE_INTR_HANDLE_ALARM))
76 if (rte_intr_fd_set(intr_handle,
80 if (rte_intr_fd_get(intr_handle) == -1)
85 rte_intr_instance_free(intr_handle);
125 timerfd_settime(rte_intr_fd_get(intr_handle), 0, &atime, NULL);
156 if (rte_intr_callback_register(intr_handle,
186 ret |= timerfd_settime(rte_intr_fd_get(intr_handle), 0, &alarm_time, NULL);