[24.03,v2,6/9] event/dsw: add schedule-type capability flags
Checks
Commit Message
Document explicitly the scheduling types supported by this driver, both
via info_get() function, and via table in the documentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
doc/guides/eventdevs/features/dsw.ini | 2 ++
drivers/event/dsw/dsw_evdev.c | 2 ++
2 files changed, 4 insertions(+)
@@ -4,6 +4,8 @@
; Refer to default.ini for the full list of available PMD features.
;
[Scheduling Features]
+atomic_scheduling = Y
+parallel_scheduling = Y
distributed_sched = Y
burst_mode = Y
nonseq_mode = Y
@@ -220,6 +220,8 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused,
.max_num_events = DSW_MAX_EVENTS,
.max_profiles_per_port = 1,
.event_dev_cap = RTE_EVENT_DEV_CAP_BURST_MODE|
+ RTE_EVENT_DEV_CAP_ATOMIC |
+ RTE_EVENT_DEV_CAP_PARALLEL |
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED|
RTE_EVENT_DEV_CAP_NONSEQ_MODE|
RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT|