[PATCH 24.03 5/8] event/dsw: add schedule-type capability flags
Mattias Rönnblom
hofors at lysator.liu.se
Tue Nov 21 10:30:40 CET 2023
On 2023-11-20 18:26, Bruce Richardson wrote:
> 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 at intel.com>
> ---
> doc/guides/eventdevs/features/dsw.ini | 1 +
> drivers/event/dsw/dsw_evdev.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/doc/guides/eventdevs/features/dsw.ini b/doc/guides/eventdevs/features/dsw.ini
> index c8bc6b3f1d..941d257e3d 100644
> --- a/doc/guides/eventdevs/features/dsw.ini
> +++ b/doc/guides/eventdevs/features/dsw.ini
> @@ -4,6 +4,7 @@
> ; Refer to default.ini for the full list of available PMD features.
> ;
> [Scheduling Features]
> +atomic_scheduling = Y
> distributed_sched = Y
> burst_mode = Y
> nonseq_mode = Y
> diff --git a/drivers/event/dsw/dsw_evdev.c b/drivers/event/dsw/dsw_evdev.c
> index 1209e73a9d..a68ca1fe30 100644
> --- a/drivers/event/dsw/dsw_evdev.c
> +++ b/drivers/event/dsw/dsw_evdev.c
> @@ -220,6 +220,7 @@ 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_DISTRIBUTED_SCHED|
> RTE_EVENT_DEV_CAP_NONSEQ_MODE|
> RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT|
> --
> 2.39.2
>
Acked-by: Mattias Rönnblom <mattias.ronnblom at ericsson.com>
More information about the dev
mailing list