Copy to the ring memory */
| 69 | |
| 70 | /* Copy to the ring memory */ |
| 71 | static inline void |
| 72 | test_ring_copy_to(struct rte_ring_zc_data *zcd, void * const *src, int esize, |
| 73 | unsigned int num) |
| 74 | { |
| 75 | test_ring_mem_copy(zcd->ptr1, src, esize, zcd->n1); |
| 76 | if (zcd->n1 != num) { |
| 77 | if (esize == -1) |
| 78 | src = src + zcd->n1; |
| 79 | else |
| 80 | src = (void * const *)((const uint32_t *)src + |
| 81 | (zcd->n1 * esize / sizeof(uint32_t))); |
| 82 | test_ring_mem_copy(zcd->ptr2, src, |
| 83 | esize, num - zcd->n1); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | /* Copy from the ring memory */ |
| 88 | static inline void |
no test coverage detected