| 107 | } |
| 108 | |
| 109 | static unsigned int |
| 110 | test_ring_enqueue_zc_burst(struct rte_ring *r, void * const *obj_table, |
| 111 | unsigned int n, unsigned int *free_space) |
| 112 | { |
| 113 | unsigned int ret; |
| 114 | struct rte_ring_zc_data zcd; |
| 115 | |
| 116 | ret = rte_ring_enqueue_zc_burst_start(r, n, &zcd, free_space); |
| 117 | if (ret != 0) { |
| 118 | /* Copy the data to the ring */ |
| 119 | test_ring_copy_to(&zcd, obj_table, sizeof(void *), ret); |
| 120 | rte_ring_enqueue_zc_finish(r, ret); |
| 121 | } |
| 122 | |
| 123 | return ret; |
| 124 | } |
| 125 | |
| 126 | static unsigned int |
| 127 | test_ring_enqueue_zc_burst_elem(struct rte_ring *r, const void *obj_table, |
nothing calls this directly
no test coverage detected