[24.03,v2,3/9] event/cnxk: 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/cnxk.ini | 3 +++
drivers/event/cnxk/cnxk_eventdev.c | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
@@ -4,6 +4,9 @@
; Refer to default.ini for the full list of available PMD features.
;
[Scheduling Features]
+atomic_scheduling = Y
+ordered_scheduling = Y
+parallel_scheduling = Y
queue_qos = Y
distributed_sched = Y
queue_all_types = Y
@@ -22,7 +22,10 @@ cnxk_sso_info_get(struct cnxk_sso_evdev *dev,
dev_info->max_event_port_dequeue_depth = 1;
dev_info->max_event_port_enqueue_depth = 1;
dev_info->max_num_events = dev->max_num_events;
- dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_QUEUE_QOS |
+ dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_ATOMIC |
+ RTE_EVENT_DEV_CAP_ORDERED |
+ RTE_EVENT_DEV_CAP_PARALLEL |
+ RTE_EVENT_DEV_CAP_QUEUE_QOS |
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK |