| 10 | #include <rte_mempool.h> |
| 11 | |
| 12 | static int |
| 13 | common_ring_mp_enqueue(struct rte_mempool *mp, void * const *obj_table, |
| 14 | unsigned n) |
| 15 | { |
| 16 | return rte_ring_mp_enqueue_bulk(mp->pool_data, |
| 17 | obj_table, n, NULL) == 0 ? -ENOBUFS : 0; |
| 18 | } |
| 19 | |
| 20 | static int |
| 21 | common_ring_sp_enqueue(struct rte_mempool *mp, void * const *obj_table, |
nothing calls this directly
no test coverage detected