wrapper to allocate an external mempool's private (pool) data. */
| 72 | |
| 73 | /* wrapper to allocate an external mempool's private (pool) data. */ |
| 74 | int |
| 75 | rte_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. */ |
| 85 | void |
no test coverage detected