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

Function pmd_free

dpdk/drivers/net/softnic/rte_eth_softnic.c:181–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181static void
182pmd_free(struct pmd_internals *p)
183{
184 if (p == NULL)
185 return;
186
187 if (p->params.conn_port)
188 softnic_conn_free(p->conn);
189
190 softnic_thread_free(p);
191 softnic_pipeline_free(p);
192 softnic_swq_free(p);
193 softnic_mempool_free(p);
194
195 rte_free(p);
196}
197
198static int
199pmd_dev_close(struct rte_eth_dev *dev)

Callers 2

pmd_dev_closeFunction · 0.85
pmd_probeFunction · 0.85

Calls 6

softnic_conn_freeFunction · 0.85
softnic_thread_freeFunction · 0.85
softnic_pipeline_freeFunction · 0.85
softnic_swq_freeFunction · 0.85
softnic_mempool_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected