[dpdk-dev] [PATCH] event/sw: allow fwd and rel when out of credits

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon Oct 16 13:33:26 CEST 2017


-----Original Message-----
> Date: Mon, 11 Sep 2017 08:52:44 +0000
> From: "Van Haaren, Harry" <harry.van.haaren at intel.com>
> To: "Eads, Gage" <gage.eads at intel.com>, "dev at dpdk.org" <dev at dpdk.org>
> CC: "jerin.jacon at caviumnetworks.com" <jerin.jacon at 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 at dpdk.org
> > Cc: Van Haaren, Harry <harry.van.haaren at intel.com>;
> > jerin.jacon at 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 <gage.eads at intel.com>
> 
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>

Applied to dpdk-next-eventdev/master. Thanks.



More information about the dev mailing list