Print out statistics for one dmadev device. */
| 145 | |
| 146 | /* Print out statistics for one dmadev device. */ |
| 147 | static void |
| 148 | print_dmadev_stats(uint32_t dev_id, struct rte_dma_stats stats) |
| 149 | { |
| 150 | printf("\nDMA channel %u", dev_id); |
| 151 | printf("\n\t Total submitted ops: %"PRIu64"", stats.submitted); |
| 152 | printf("\n\t Total completed ops: %"PRIu64"", stats.completed); |
| 153 | printf("\n\t Total failed ops: %"PRIu64"", stats.errors); |
| 154 | } |
| 155 | |
| 156 | static void |
| 157 | print_total_stats(struct total_statistics *ts) |