Re: [dpdk-dev] [PATCH] event/sw: fix credit tracking in port dequeue

2017-05-30 Thread Eads, Gage
A couple nit-picks on the test, but once resolved: Acked-by: Gage Eads > -Original Message- > From: Van Haaren, Harry > Sent: Monday, May 29, 2017 10:17 AM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Eads, Gage ; > Van Haaren, Harry > Subject: [PATCH] event/sw: fix cr

[dpdk-dev] [PATCH] event/sw: fix credit tracking in port dequeue

2017-05-29 Thread Harry van Haaren
This patch targets the next-eventdev tree. 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. The fixed implement