ODP has two functions, odp_pktin_recv_tmo and odp_pktin_recv_mq_tmo that
allow sleeping for a certain time. However, the sleep was not a genuine
interruptible sleep (select/poll/epoll) but rather a busy loop. This
resulted in high CPU use when this call was used. This functionality
adds to two pktio mechanisms a way to allow sleeping using select()
system call. The way is used if all used pktio mechanisms support it.
Signed-off-by: Juha-Matti Tilli juha-matti.ti...@iki.fi

----------------github------------------------
/** Email created from pull request 341 (jmtilli:genuinesleep)
 ** https://github.com/Linaro/odp/pull/341
 ** Patch: https://github.com/Linaro/odp/pull/341.patch
 ** Base sha: 6b5cdc77eb9759a2349b10372a964648559bc92c
 ** Merge commit sha: 7b570ec7d6d0d6e1d8d1252723d0d14a63d0c87a
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 563 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to