numam-dpdk/lib/librte_sched
Stephen Hemminger 1f1f3a0078 sched: fix grinder bug
The rte_scheduler will get stuck and not deliver any more packets
if there are two active subports and then one of them stops enqueing
more packets. This is because of a bug in how the grinder state machines
are managed.

If a non-zero grinder is assigned (but not yet active), then the dequeue
would miss it and always return zero packets. The cure is to always
do a first pass over all grinders.

Signed-off-by: Stephen Hemminger <shemming@brocade.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-05-22 16:14:36 +02:00
..
Makefile mk: compilation fixes 2014-02-25 21:29:18 +01:00
rte_approx.c update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte_approx.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte_bitmap.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte_red.c sched: use common macro RTE_DIM 2014-02-25 21:29:18 +01:00
rte_red.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte_sched_common.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
rte_sched.c sched: fix grinder bug 2014-05-22 16:14:36 +02:00
rte_sched.h update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00