numam-dpdk/drivers/event/sw
Bruce Richardson 2e516d18dc event/sw: fix events mis-identified as needing reorder
When taking events from a port, we checked the history list to check if the
event needed to be put back in order i.e. originally came from a reordered
queue type. The check for reordering involved checking if the reorder
buffer entry pointer was null. However, after that pointer was used it was
never cleared to null again.

This caused problems when we had mixed reordered and atomic or parallel
events, as the events from the latter two queue types were misidentified as
needing reordering. This let in some cases to crashes, but mostly led to
dropping events, and then application lock-up.

Fixes: 617995dfc5 ("event/sw: add scheduling logic")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-04-20 00:30:04 +02:00
..
event_ring.h event/sw: support event ports 2017-04-04 19:19:51 +02:00
iq_ring.h event/sw: support event queues 2017-04-04 19:19:51 +02:00
Makefile event/sw: support xstats 2017-04-04 19:19:52 +02:00
rte_pmd_evdev_sw_version.map event/sw: add new software-only eventdev driver 2017-04-04 19:19:51 +02:00
sw_evdev_scheduler.c event/sw: fix events mis-identified as needing reorder 2017-04-20 00:30:04 +02:00
sw_evdev_worker.c event/sw: fix credit return on invalid queue id 2017-04-20 00:26:55 +02:00
sw_evdev_xstats.c event/sw: support xstats 2017-04-04 19:19:52 +02:00
sw_evdev.c vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
sw_evdev.h event/sw: support xstats 2017-04-04 19:19:52 +02:00