From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] event/sw: add queue-to-port stats Date: Mon, 15 May 2017 09:08:55 +0530 Message-ID: <20170515033854.GA21041@jerin> References: <1494496586-57161-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Harry van Haaren Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0040.outbound.protection.outlook.com [104.47.38.40]) by dpdk.org (Postfix) with ESMTP id ECA9120F for ; Mon, 15 May 2017 05:39:20 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1494496586-57161-1-git-send-email-harry.van.haaren@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Thu, 11 May 2017 10:56:26 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, Harry van Haaren > > 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 Applied to dpdk-next-eventdev/master after removing "This patch targets the next-eventdev tree." in the git commit log. Thanks.