The following patchset adds software eventdev implementation to the next-eventdev tree.
v5 changes include; - Rebased to latest git head (app/ to test/ move) - New patch 01 reworks eventdev common unit test to return -ENOTSUP - Reworked test patch into smaller patches for review - Fixed compilation checks for clang (double const) and old gcc versions - Resolved 32 bit printf() of uint64_t's using PRIu64 - Removed patches from patchset that have been applied - Added docs patch for eventdev SW PMD - Claiming maintainership of SW PMD There are 7 checkpatch warnings, - 2 complex macros (cannot be resolved) - 4 long lines (resolving makes code more obfuscated) - 1 unecessary else (false positive) Cheers, -Harry Bruce Richardson (12): event/sw: add new software-only eventdev driver event/sw: add device capabilities function event/sw: add configure function event/sw: add fns to return default port/queue config event/sw: add support for event queues event/sw: add support for event ports event/sw: add support for linking queues to ports event/sw: add worker core functions event/sw: add scheduling logic event/sw: add start stop and close functions event/sw: add dump function for easier debugging event/sw: add xstats support Harry van Haaren (8): test/eventdev: pass timeout ticks unsupported test/eventdev: add SW test infrastructure test/eventdev: add basic SW tests test/eventdev: add SW tests for load balancing test/eventdev: add SW xstats tests test/eventdev: add SW deadlock tests doc: add event device and software eventdev maintainers: add eventdev section and claim SW PMD MAINTAINERS | 9 + config/common_base | 6 + doc/guides/eventdevs/index.rst | 40 + doc/guides/eventdevs/sw.rst | 148 ++ doc/guides/index.rst | 1 + drivers/event/Makefile | 1 + drivers/event/sw/Makefile | 69 + drivers/event/sw/event_ring.h | 185 ++ drivers/event/sw/iq_ring.h | 176 ++ drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + drivers/event/sw/sw_evdev.c | 818 +++++++ drivers/event/sw/sw_evdev.h | 318 +++ drivers/event/sw/sw_evdev_scheduler.c | 602 +++++ drivers/event/sw/sw_evdev_worker.c | 188 ++ drivers/event/sw/sw_evdev_xstats.c | 674 ++++++ mk/rte.app.mk | 1 + test/test/Makefile | 5 +- test/test/autotest_data.py | 26 + test/test/test_eventdev.c | 5 +- test/test/test_eventdev_sw.c | 3185 +++++++++++++++++++++++++ 20 files changed, 6457 insertions(+), 3 deletions(-) create mode 100644 doc/guides/eventdevs/index.rst create mode 100644 doc/guides/eventdevs/sw.rst create mode 100644 drivers/event/sw/Makefile create mode 100644 drivers/event/sw/event_ring.h create mode 100644 drivers/event/sw/iq_ring.h create mode 100644 drivers/event/sw/rte_pmd_evdev_sw_version.map create mode 100644 drivers/event/sw/sw_evdev.c create mode 100644 drivers/event/sw/sw_evdev.h create mode 100644 drivers/event/sw/sw_evdev_scheduler.c create mode 100644 drivers/event/sw/sw_evdev_worker.c create mode 100644 drivers/event/sw/sw_evdev_xstats.c create mode 100644 test/test/test_eventdev_sw.c -- 2.7.4