| 42 | } |
| 43 | |
| 44 | static int |
| 45 | stack_enqueue(struct rte_mempool *mp, void * const *obj_table, |
| 46 | unsigned int n) |
| 47 | { |
| 48 | struct rte_stack *s = mp->pool_data; |
| 49 | |
| 50 | return rte_stack_push(s, obj_table, n) == 0 ? -ENOBUFS : 0; |
| 51 | } |
| 52 | |
| 53 | static int |
| 54 | stack_dequeue(struct rte_mempool *mp, void **obj_table, |
nothing calls this directly
no test coverage detected