MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_interrupt_deinit

Function test_interrupt_deinit

dpdk/app/test/test_interrupts.c:120–131  ·  view source on GitHub ↗

* Deinitialization for interrupt test. */

Source from the content-addressed store, hash-verified

118 * Deinitialization for interrupt test.
119 */
120static int
121test_interrupt_deinit(void)
122{
123 int i;
124
125 for (i = 0; i < TEST_INTERRUPT_HANDLE_MAX; i++)
126 rte_intr_instance_free(intr_handles[i]);
127 close(pfds.pipefd[0]);
128 close(pfds.pipefd[1]);
129
130 return 0;
131}
132
133/**
134 * Write the pipe to simulate an interrupt.

Callers 1

test_interruptFunction · 0.85

Calls 2

rte_intr_instance_freeFunction · 0.85
closeFunction · 0.50

Tested by

no test coverage detected