]> git.droids-corp.org - dpdk.git/commit
eventdev: quiesce an event port
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 13 May 2022 17:58:39 +0000 (23:28 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 17 May 2022 14:43:27 +0000 (16:43 +0200)
commit1ff23ce659ae23907555d010a0f27b648f6c2a7f
tree0ec582522ce1d8b9eb03da43f6883517313cb215
parent22bfcba4f93c26a6cdb906357252471c79762387
eventdev: quiesce an event port

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@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/prog_guide/eventdev.rst
doc/guides/rel_notes/release_22_07.rst
lib/eventdev/eventdev_pmd.h
lib/eventdev/rte_eventdev.c
lib/eventdev/rte_eventdev.h
lib/eventdev/version.map