The various eventdev drivers, while fitting under a common API, do not all support all scheduling types. The eventdev API is missing some way to query the particular scheduling support for a driver, a key piece of information for application developers. This patchset adds the necessary capability flags, and documentation feature rows, then, driver-by-driver adds the necessary flags to both code and docs.
V2: * Fix flag values to be unique * Fix missing PARALLEL flag on DSW * Add patch adjusting definition of the ALL_TYPES flag Bruce Richardson (9): eventdev: add capability flags for supported sched types eventdev: increase flexibility of all-types flag event/cnxk: add schedule-type capability flags event/dlb2: add schedule-type capability flags event/dpaa*: add schedule-type capability flags event/dsw: add schedule-type capability flags event/octeontx: add schedule-type capability flags event/opdl: add schedule-type capability flags event/sw: add schedule-type capability flags doc/guides/eventdevs/features/cnxk.ini | 3 ++ doc/guides/eventdevs/features/default.ini | 3 ++ doc/guides/eventdevs/features/dlb2.ini | 3 ++ doc/guides/eventdevs/features/dpaa.ini | 2 ++ doc/guides/eventdevs/features/dpaa2.ini | 2 ++ doc/guides/eventdevs/features/dsw.ini | 2 ++ doc/guides/eventdevs/features/octeontx.ini | 3 ++ doc/guides/eventdevs/features/opdl.ini | 2 ++ doc/guides/eventdevs/features/sw.ini | 3 ++ drivers/event/cnxk/cnxk_eventdev.c | 5 ++- drivers/event/dlb2/dlb2.c | 5 ++- drivers/event/dpaa/dpaa_eventdev.c | 2 ++ drivers/event/dpaa2/dpaa2_eventdev.c | 2 ++ drivers/event/dsw/dsw_evdev.c | 2 ++ drivers/event/octeontx/ssovf_evdev.c | 3 ++ drivers/event/opdl/opdl_evdev.c | 3 ++ drivers/event/sw/sw_evdev.c | 3 ++ lib/eventdev/rte_eventdev.h | 36 ++++++++++++++++++++-- 18 files changed, 79 insertions(+), 5 deletions(-) -- 2.39.2