[PATCH 1/3] eventdev: add function to quiesce an event port
Ray Kinsella
mdr at ashroe.eu
Wed May 4 11:02:02 CEST 2022
Pavan Nikhilesh <pbhagavatula at marvell.com> writes:
> Add function to quiesce any core specific resources consumed by
> the event port.
>
> When the application decides to migrate the event port to another lcore
> or teardown the current lcore it may to call `rte_event_port_quiesce`
> to make sure that all the data associated with the event port are released
> from the lcore, this might also include any prefetched events.
>
> While releasing the event port from the lcore, this function calls the
> user-provided flush callback once per event.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> ---
> lib/eventdev/eventdev_pmd.h | 19 +++++++++++++++++++
> lib/eventdev/rte_eventdev.c | 19 +++++++++++++++++++
> lib/eventdev/rte_eventdev.h | 33 +++++++++++++++++++++++++++++++++
> lib/eventdev/version.map | 3 +++
> 4 files changed, 74 insertions(+)
>
Acked-by: Ray Kinsella <mdr at ashroe.eu>
--
Regards, Ray K
More information about the dev
mailing list