| 901 | } |
| 902 | |
| 903 | static unsigned int |
| 904 | get_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 | |
| 913 | static inline void |
| 914 | dump_packets(void) |
no test coverage detected