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

Function get_next_core

dpdk/app/pdump/main.c:903–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901}
902
903static unsigned int
904get_next_core(unsigned int lcore)
905{
906 lcore = rte_get_next_lcore(lcore, 1, 0);
907 if (lcore == RTE_MAX_LCORE)
908 rte_exit(EXIT_FAILURE,
909 "Max core limit %u reached for packet capture", lcore);
910 return lcore;
911}
912
913static inline void
914dump_packets(void)

Callers 1

dump_packetsFunction · 0.85

Calls 2

rte_get_next_lcoreFunction · 0.85
rte_exitFunction · 0.85

Tested by

no test coverage detected