remove useless include of EAL memory config header
[dpdk.git] / app / test / test_distributor.c
index 928238f..7090b55 100644 (file)
@@ -375,7 +375,8 @@ handle_work_for_shutdown_test(void *arg)
                                id, buf, buf, num);
 
                while (!quit) {
-                       worker_stats[id].handled_packets++, count++;
+                       worker_stats[id].handled_packets += num;
+                       count += num;
                        rte_pktmbuf_free(pkt);
                        num = rte_distributor_get_pkt(d, id, buf, buf, num);
                }