[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:52:44 CEST 2017


> 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