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

Van Haaren, Harry harry.van.haaren at intel.com
Mon Sep 11 10:55:13 CEST 2017


Re-send fixing Jerin's email;

> From: Van Haaren, Harry
> Sent: Monday, September 11, 2017 9:53 AM
> To: Eads, Gage <gage.eads at intel.com>; dev at dpdk.org
> Cc: jerin.jacon at caviumnetworks.com
> Subject: RE: [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>


More information about the dev mailing list