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

Function softnic_thread_free

dpdk/drivers/net/softnic/rte_eth_softnic_thread.c:18–31  ·  view source on GitHub ↗

* Main thread: data plane thread init */

Source from the content-addressed store, hash-verified

16 * Main thread: data plane thread init
17 */
18void
19softnic_thread_free(struct pmd_internals *softnic)
20{
21 uint32_t i;
22
23 RTE_LCORE_FOREACH_WORKER(i) {
24 struct softnic_thread *t = &softnic->thread[i];
25
26 /* MSGQs */
27 rte_ring_free(t->msgq_req);
28
29 rte_ring_free(t->msgq_rsp);
30 }
31}
32
33int
34softnic_thread_init(struct pmd_internals *softnic)

Callers 3

softnic_thread_initFunction · 0.85
pmd_freeFunction · 0.85
pmd_initFunction · 0.85

Calls 1

rte_ring_freeFunction · 0.85

Tested by

no test coverage detected