[dpdk-dev] [PATCH v2] event/sw: fix credit tracking in port dequeue
Jerin Jacob
jerin.jacob at caviumnetworks.com
Tue Jun 6 05:20:48 CEST 2017
-----Original Message-----
> Date: Thu, 1 Jun 2017 16:45:54 +0100
> From: Harry van Haaren <harry.van.haaren at intel.com>
> To: dev at dpdk.org
> CC: jerin.jacob at caviumnetworks.com, gage.eads at intel.com, Harry van Haaren
> <harry.van.haaren at intel.com>
> 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 <harry.van.haaren at intel.com>
> Acked-by: Gage Eads <gage.eads at intel.com>
Applied to dpdk-next-eventdev/master. Thanks.
More information about the dev
mailing list