MCPcopy Create free account
hub / github.com/F-Stack/f-stack / show_rx_pkt_segments

Function show_rx_pkt_segments

dpdk/app/test-pmd/config.c:5531–5544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5529}
5530
5531void
5532show_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
5546static const char *get_ptype_str(uint32_t ptype)
5547{

Callers 1

cmd_showcfg_parsedFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected