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

Function show_rx_pkt_offsets

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

Source from the content-addressed store, hash-verified

5485}
5486
5487void
5488show_rx_pkt_offsets(void)
5489{
5490 uint32_t i, n;
5491
5492 n = rx_pkt_nb_offs;
5493 printf("Number of offsets: %u\n", n);
5494 if (n) {
5495 printf("Segment offsets: ");
5496 for (i = 0; i != n - 1; i++)
5497 printf("%hu,", rx_pkt_seg_offsets[i]);
5498 printf("%hu\n", rx_pkt_seg_lengths[i]);
5499 }
5500}
5501
5502void
5503set_rx_pkt_offsets(unsigned int *seg_offsets, unsigned int nb_offs)

Callers 1

cmd_showcfg_parsedFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected