On Sun, Oct 6, 2024 at 10:44 PM <[email protected]> wrote:
>
> From: Pavan Nikhilesh <[email protected]>
>
> Add a new eventdev API to provide a hint to the eventdev PMD to
> pre-schedule the next event into the event port, without releasing
> the current flow context.
> Event device that support this feature advertises the capability
> using the RTE_EVENT_DEV_CAP_PRESCHEDULE_EXPLICIT capability flag.
>
> Application can invoke `rte_event_port_preschedule` to hint the PMD,
> if event device does not support this feature it is treated as a no-op.
>
> Signed-off-by: Pavan Nikhilesh <[email protected]>
> ---
> Starting the EventDev
> ~~~~~~~~~~~~~~~~~~~~~
> diff --git a/doc/guides/rel_notes/release_24_11.rst
> b/doc/guides/rel_notes/release_24_11.rst
> index f7cc2ec047..e4ba9c2d53 100644
> --- a/doc/guides/rel_notes/release_24_11.rst
> +++ b/doc/guides/rel_notes/release_24_11.rst
> @@ -76,7 +76,8 @@ New Features
> level pre-scheduling type.
> * Added ``rte_event_port_preschedule_modify`` to modify pre-scheduling type
> on a given event port.
> -
1) Don't delete this new line.
Also add new line between features.
Final one should like below,
<NEWLINE>
* **Added event device pre-scheduling support.**
<NEWLINE>
Added support for pre-scheduling of events to event ports to improve
scheduling performance and latency.
<NEWLINE>
* Added ``rte_event_dev_config::preschedule_type`` to configure the device
level pre-scheduling type.
<NEWLINE>
* Added ``rte_event_port_preschedule_modify`` to modify pre-scheduling type
on a given event port.
<NEWLINE>
* Added ``rte_event_port_preschedule`` to allow applications provide explicit
pre-schedule hints to event ports.
<NEWLINE>
<NEWLINE>
2)Due to the merge of https://patches.dpdk.org/project/dpdk/list/?series=33326
Capa flags value are changed. Please rebase.
> + * Added ``rte_event_port_preschedule`` to allow applications provide
> explicit
> + pre-schedule hints to event ports.
>