| 142 | } |
| 143 | |
| 144 | static unsigned int |
| 145 | test_ring_dequeue_zc_bulk(struct rte_ring *r, void **obj_table, |
| 146 | unsigned int n, unsigned int *available) |
| 147 | { |
| 148 | unsigned int ret; |
| 149 | struct rte_ring_zc_data zcd; |
| 150 | |
| 151 | ret = rte_ring_dequeue_zc_bulk_start(r, n, &zcd, available); |
| 152 | if (ret != 0) { |
| 153 | /* Copy the data from the ring */ |
| 154 | test_ring_copy_from(&zcd, obj_table, sizeof(void *), ret); |
| 155 | rte_ring_dequeue_zc_finish(r, ret); |
| 156 | } |
| 157 | |
| 158 | return ret; |
| 159 | } |
| 160 | |
| 161 | static unsigned int |
| 162 | test_ring_dequeue_zc_bulk_elem(struct rte_ring *r, void *obj_table, |
nothing calls this directly
no test coverage detected