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

2017-06-05 Thread Jerin Jacob
-Original Message- > Date: Thu, 1 Jun 2017 16:45:54 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com, gage.e...@intel.com, Harry van Haaren > > Subject: [PATCH v2] event/sw: fix credit tracking in port dequeue > X-Mailer: git-send-email 2.7.4 > > Si

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

2017-06-01 Thread Harry van Haaren
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 reduce