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

Function show_rx_pkt_hdrs

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

Source from the content-addressed store, hash-verified

5621}
5622
5623void
5624show_rx_pkt_hdrs(void)
5625{
5626 uint32_t i, n;
5627
5628 n = rx_pkt_nb_segs;
5629 printf("Number of segments: %u\n", n);
5630 if (n) {
5631 printf("Packet segs: ");
5632 for (i = 0; i < n - 1; i++)
5633 printf("%s, ", get_ptype_str(rx_pkt_hdr_protos[i]));
5634 printf("payload\n");
5635 }
5636}
5637
5638void
5639set_rx_pkt_hdrs(unsigned int *seg_hdrs, unsigned int nb_segs)

Callers 1

cmd_showcfg_parsedFunction · 0.85

Calls 2

get_ptype_strFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected