[v3,4/9] event/dlb2: 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>
Acked-by: Abdullah Sevincer <abdullah.sevincer@intel.com>
---
doc/guides/eventdevs/features/dlb2.ini | 3 +++
drivers/event/dlb2/dlb2.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
event_qos = Y
distributed_sched = Y
queue_all_types = Y
@@ -71,7 +71,10 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
.max_num_events = DLB2_MAX_NUM_LDB_CREDITS,
.max_single_link_event_port_queue_pairs =
DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
- .event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
+ .event_dev_cap = (RTE_EVENT_DEV_CAP_ATOMIC |
+ RTE_EVENT_DEV_CAP_ORDERED |
+ RTE_EVENT_DEV_CAP_PARALLEL |
+ RTE_EVENT_DEV_CAP_EVENT_QOS |
RTE_EVENT_DEV_CAP_NONSEQ_MODE |
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |