Acked-by: Hemant Agrawal <hemant.agra...@nxp.com>
> -----Original Message-----
> From: Bruce Richardson <bruce.richard...@intel.com>
> Sent: Monday, November 20, 2023 10:56 PM
> To: dev@dpdk.org
> Cc: Bruce Richardson <bruce.richard...@intel.com>; Hemant Agrawal
> <hemant.agra...@nxp.com>; Sachin Saxena <sachin.sax...@nxp.com>
> Subject: [PATCH 24.03 4/8] event/dpaa*: add schedule-type capability flags
> Importance: High
>
> 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.richard...@intel.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(+)
>
> diff --git a/doc/guides/eventdevs/features/dpaa.ini
> b/doc/guides/eventdevs/features/dpaa.ini
> index b73bfa02e5..b2ee6ed93a 100644
> --- a/doc/guides/eventdevs/features/dpaa.ini
> +++ b/doc/guides/eventdevs/features/dpaa.ini
> @@ -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
> diff --git a/doc/guides/eventdevs/features/dpaa2.ini
> b/doc/guides/eventdevs/features/dpaa2.ini
> index c935bd0cfc..6d3c07ed66 100644
> --- a/doc/guides/eventdevs/features/dpaa2.ini
> +++ b/doc/guides/eventdevs/features/dpaa2.ini
> @@ -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
> diff --git a/drivers/event/dpaa/dpaa_eventdev.c
> b/drivers/event/dpaa/dpaa_eventdev.c
> index 46a9b88c73..57ddb85e52 100644
> --- a/drivers/event/dpaa/dpaa_eventdev.c
> +++ b/drivers/event/dpaa/dpaa_eventdev.c
> @@ -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 | diff --git
> a/drivers/event/dpaa2/dpaa2_eventdev.c
> b/drivers/event/dpaa2/dpaa2_eventdev.c
> index dd4e64395f..dd62c76c86 100644
> --- a/drivers/event/dpaa2/dpaa2_eventdev.c
> +++ b/drivers/event/dpaa2/dpaa2_eventdev.c
> @@ -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 |
> --
> 2.39.2