From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v2] event/sw: fix credit tracking in port dequeue Date: Tue, 6 Jun 2017 08:50:48 +0530 Message-ID: <20170606032046.GA29322@jerin> References: <9184057F7FC11744A2107296B6B8EB1E01EC4180@FMSMSX108.amr.corp.intel.com> <1496331954-93915-1-git-send-email-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, gage.eads@intel.com To: Harry van Haaren Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0063.outbound.protection.outlook.com [104.47.38.63]) by dpdk.org (Postfix) with ESMTP id A7D977CB8 for ; Tue, 6 Jun 2017 05:21:10 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1496331954-93915-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, 1 Jun 2017 16:45:54 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, gage.eads@intel.com, Harry van Haaren > > Subject: [PATCH v2] event/sw: fix credit tracking in port dequeue > X-Mailer: git-send-email 2.7.4 > > Single-link optimized ports previously did not correctly track > credits when dequeued, and re-enqueued as a FORWARD type. This > could "inflate" the number of credits in the system. > > A unit test is added to reproduce and verify the issue, and the > fixed implementation counts FORWARD packets, and reduces the > number of credits the port has if it is of single-link type. > > Fixes: 656af9180014 ("event/sw: add worker core functions") > > Signed-off-by: Harry van Haaren > Acked-by: Gage Eads Applied to dpdk-next-eventdev/master. Thanks.