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

Function rte_mempool_ops_alloc

dpdk/lib/mempool/rte_mempool_ops.c:74–82  ·  view source on GitHub ↗

wrapper to allocate an external mempool's private (pool) data. */

Source from the content-addressed store, hash-verified

72
73/* wrapper to allocate an external mempool's private (pool) data. */
74int
75rte_mempool_ops_alloc(struct rte_mempool *mp)
76{
77 struct rte_mempool_ops *ops;
78
79 rte_mempool_trace_ops_alloc(mp);
80 ops = rte_mempool_get_ops(mp->ops_index);
81 return ops->alloc(mp);
82}
83
84/* wrapper to free an external pool ops. */
85void

Callers 1

mempool_ops_alloc_onceFunction · 0.85

Calls 1

rte_mempool_get_opsFunction · 0.85

Tested by

no test coverage detected