numam-dpdk/test
Harry van Haaren 636615142b event/sw: fix credit tracking in port dequeue
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: 656af91800 ("event/sw: add worker core functions")

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Gage Eads <gage.eads@intel.com>
2017-06-21 15:33:22 +02:00
..
cmdline_test mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test event/sw: fix credit tracking in port dequeue 2017-06-21 15:33:22 +02:00
test-acl mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test-pipeline test: remove unnecessary cast of void pointer 2017-04-11 18:05:10 +02:00
Makefile test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00