resets the packet counts for a new test */
| 72 | |
| 73 | /* resets the packet counts for a new test */ |
| 74 | static inline void |
| 75 | clear_packet_count(void) |
| 76 | { |
| 77 | unsigned int i; |
| 78 | for (i = 0; i < RTE_MAX_LCORE; i++) |
| 79 | __atomic_store_n(&worker_stats[i].handled_packets, 0, |
| 80 | __ATOMIC_RELAXED); |
| 81 | } |
| 82 | |
| 83 | /* this is the basic worker function for sanity test |
| 84 | * it does nothing but return packets and count them. |
no outgoing calls
no test coverage detected