| 5529 | } |
| 5530 | |
| 5531 | void |
| 5532 | show_rx_pkt_segments(void) |
| 5533 | { |
| 5534 | uint32_t i, n; |
| 5535 | |
| 5536 | n = rx_pkt_nb_segs; |
| 5537 | printf("Number of segments: %u\n", n); |
| 5538 | if (n) { |
| 5539 | printf("Segment sizes: "); |
| 5540 | for (i = 0; i != n - 1; i++) |
| 5541 | printf("%hu,", rx_pkt_seg_lengths[i]); |
| 5542 | printf("%hu\n", rx_pkt_seg_lengths[i]); |
| 5543 | } |
| 5544 | } |
| 5545 | |
| 5546 | static const char *get_ptype_str(uint32_t ptype) |
| 5547 | { |
no test coverage detected