[24.03,v2,5/9] event/dpaa*: add schedule-type capability flags
Checks
Commit Message
Document explicitly the scheduling types supported by these drivers,
both via info_get() function, and via table in the documentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
doc/guides/eventdevs/features/dpaa.ini | 2 ++
doc/guides/eventdevs/features/dpaa2.ini | 2 ++
drivers/event/dpaa/dpaa_eventdev.c | 2 ++
drivers/event/dpaa2/dpaa2_eventdev.c | 2 ++
4 files changed, 8 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
@@ -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
queue_all_types = Y
burst_mode = Y
@@ -353,6 +353,8 @@ dpaa_event_dev_info_get(struct rte_eventdev *dev,
dev_info->max_num_events =
DPAA_EVENT_MAX_NUM_EVENTS;
dev_info->event_dev_cap =
+ RTE_EVENT_DEV_CAP_ATOMIC |
+ RTE_EVENT_DEV_CAP_PARALLEL |
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
RTE_EVENT_DEV_CAP_BURST_MODE |
RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT |
@@ -404,6 +404,8 @@ dpaa2_eventdev_info_get(struct rte_eventdev *dev,
DPAA2_EVENT_MAX_PORT_ENQUEUE_DEPTH;
dev_info->max_num_events = DPAA2_EVENT_MAX_NUM_EVENTS;
dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
+ RTE_EVENT_DEV_CAP_ATOMIC |
+ RTE_EVENT_DEV_CAP_PARALLEL |
RTE_EVENT_DEV_CAP_BURST_MODE|
RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK |
RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT |