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

Function rte_mempool_ops_free

dpdk/lib/mempool/rte_mempool_ops.c:85–95  ·  view source on GitHub ↗

wrapper to free an external pool ops. */

Source from the content-addressed store, hash-verified

83
84/* wrapper to free an external pool ops. */
85void
86rte_mempool_ops_free(struct rte_mempool *mp)
87{
88 struct rte_mempool_ops *ops;
89
90 rte_mempool_trace_ops_free(mp);
91 ops = rte_mempool_get_ops(mp->ops_index);
92 if (ops->free == NULL)
93 return;
94 ops->free(mp);
95}
96
97/* wrapper to get available objects in an external mempool. */
98unsigned int

Callers 1

rte_mempool_freeFunction · 0.85

Calls 1

rte_mempool_get_opsFunction · 0.85

Tested by

no test coverage detected