]> git.droids-corp.org - dpdk.git/blobdiff - drivers/event/sw/sw_evdev_scheduler.c
event/sw: add queue-to-port stats
[dpdk.git] / drivers / event / sw / sw_evdev_scheduler.c
index 35f8f175ad7a20e6d0007af9b36ff8939870f619..fe1551706103048de739969b3d75d9732463a5fa 100644 (file)
@@ -119,6 +119,7 @@ sw_schedule_atomic_to_cq(struct sw_evdev *sw, struct sw_qid * const qid,
 
                p->stats.tx_pkts++;
                qid->stats.tx_pkts++;
+               qid->to_port[cq]++;
 
                /* if we just filled in the last slot, flush the buffer */
                if (sw->cq_ring_space[cq] == 0) {