[dpdk-dev] [PATCH] event/sw: add queue-to-port stats

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon May 15 05:38:55 CEST 2017


-----Original Message-----
> Date: Thu, 11 May 2017 10:56:26 +0100
> From: Harry van Haaren <harry.van.haaren at intel.com>
> To: dev at dpdk.org
> CC: jerin.jacob at caviumnetworks.com, Harry van Haaren
>  <harry.van.haaren at intel.com>
> Subject: [PATCH] event/sw: add queue-to-port stats
> X-Mailer: git-send-email 2.7.4
> 
> This patch targets the next-eventdev tree.
> 
> This commit adds a new statistic to the SW eventdev PMD.
> The statistic shows how many packets were sent from a
> queue to a port. This provides information on how traffic
> from a specific queue is being load-balanced to worker cores.
> 
> Note that these numbers should be compared across all queue
> stages - the load-balancing does not try to perfectly share
> each queue's traffic, rather it balances the overall traffic
> from all queues to the ports.
> 
> The statistic is printed from the rte_eventdev_dump() function,
> as well as being made available via the xstats API.
> 
> Unit tests have been updated to expect more per-queue statistics,
> and the correctness of counts and counts after reset is verified.
> 
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>

Applied to dpdk-next-eventdev/master after removing "This patch targets
the next-eventdev tree." in the git commit log.

Thanks.



More information about the dev mailing list