Home
last modified time | relevance | path

Searched refs:pfds (Results 1 – 1 of 1) sorted by relevance

/dpdk/app/test/
H A Dtest_interrupts.c45 static union intr_pipefds pfds; variable
68 if (pipe(pfds.pipefd) < 0) in test_interrupt_init()
85 if (rte_intr_fd_set(test_intr_handle, pfds.readfd)) in test_interrupt_init()
91 if (rte_intr_fd_set(test_intr_handle, pfds.readfd)) in test_interrupt_init()
97 if (rte_intr_fd_set(test_intr_handle, pfds.readfd)) in test_interrupt_init()
103 if (rte_intr_fd_set(test_intr_handle, pfds.readfd)) in test_interrupt_init()
109 if (rte_intr_fd_set(test_intr_handle, pfds.writefd)) in test_interrupt_init()
127 close(pfds.pipefd[0]); in test_interrupt_deinit()
128 close(pfds.pipefd[1]); in test_interrupt_deinit()
139 if (write(pfds.writefd, "1", 1) < 0) in test_interrupt_trigger_interrupt()