[dpdk-dev] eventdev: method for finding out unlink status

Elo, Matias (Nokia - FI/Espoo) matias.elo at nokia.com
Mon Jul 30 08:39:45 CEST 2018


Hi,

In bug report https://bugs.dpdk.org/show_bug.cgi?id=60 we have been discussing
issues related to events ending up in wrong ports after calling
rte_event_port_unlink(). In addition of finding few bugs we have identified a
need for a new API call (or documentation extension) for an application to be
able to find out when an unlink() call has finished and no new events are
scheduled anymore to the particular event port. This is required e.g. when doing
clean-up after an application thread stops processing events.

The bug report discussion provides more background on the subject and Harry has
already proposed a new 'int32_t rte_event_unlinks_in_progress()' API as one
possible solution.

-Matias



More information about the dev mailing list