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

Function dump_packets_core

dpdk/app/pdump/main.c:888–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888static int
889dump_packets_core(void *arg)
890{
891 struct pdump_tuples *pt = (struct pdump_tuples *) arg;
892
893 printf(" core (%u); port %u device (%s) queue %u\n",
894 rte_lcore_id(), pt->port, pt->device_id, pt->queue);
895 fflush(stdout);
896
897 while (!quit_signal)
898 pdump_packets(pt);
899
900 return 0;
901}
902
903static unsigned int
904get_next_core(unsigned int lcore)

Callers

nothing calls this directly

Calls 3

rte_lcore_idFunction · 0.85
pdump_packetsFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected