From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] event/sw: allow fwd and rel when out of credits Date: Mon, 16 Oct 2017 17:03:26 +0530 Message-ID: <20171016113325.GA17937@jerin> References: <1504894072-15735-1-git-send-email-gage.eads@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Eads, Gage" , "dev@dpdk.org" , "jerin.jacon@caviumnetworks.com" To: "Van Haaren, Harry" Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0052.outbound.protection.outlook.com [104.47.36.52]) by dpdk.org (Postfix) with ESMTP id DBC001B695 for ; Mon, 16 Oct 2017 13:33:51 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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: Mon, 11 Sep 2017 08:52:44 +0000 > From: "Van Haaren, Harry" > To: "Eads, Gage" , "dev@dpdk.org" > CC: "jerin.jacon@caviumnetworks.com" > Subject: Re: [dpdk-dev] [PATCH] event/sw: allow fwd and rel when out of > credits > > > From: Eads, Gage > > Sent: Friday, September 8, 2017 7:08 PM > > To: dev@dpdk.org > > Cc: Van Haaren, Harry ; > > jerin.jacon@caviumnetworks.com > > Subject: [PATCH] event/sw: allow fwd and rel when out of credits > > > > When forwarding or releasing events, the operation would fail if the port > > has 0 inflight credits and cannot acquire more, or the inflight count > > exceeds the port's new event threshold. > > > > This patch fixes that by counting the number of new events in the burst, > > and applying the credit and new event threshold checks accordingly. > > > > Signed-off-by: Gage Eads > > Acked-by: Harry van Haaren Applied to dpdk-next-eventdev/master. Thanks.