| 177 | } |
| 178 | |
| 179 | static unsigned int |
| 180 | test_ring_dequeue_zc_burst(struct rte_ring *r, void **obj_table, |
| 181 | unsigned int n, unsigned int *available) |
| 182 | { |
| 183 | unsigned int ret; |
| 184 | struct rte_ring_zc_data zcd; |
| 185 | |
| 186 | ret = rte_ring_dequeue_zc_burst_start(r, n, &zcd, available); |
| 187 | if (ret != 0) { |
| 188 | /* Copy the data from the ring */ |
| 189 | test_ring_copy_from(&zcd, obj_table, sizeof(void *), ret); |
| 190 | rte_ring_dequeue_zc_finish(r, ret); |
| 191 | } |
| 192 | |
| 193 | return ret; |
| 194 | } |
| 195 | |
| 196 | static unsigned int |
| 197 | test_ring_dequeue_zc_burst_elem(struct rte_ring *r, void *obj_table, |
nothing calls this directly
no test coverage detected