eal: add IPC asynchronous request
authorAnatoly Burakov <anatoly.burakov@intel.com>
Sat, 31 Mar 2018 17:06:16 +0000 (18:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 4 Apr 2018 21:47:59 +0000 (23:47 +0200)
commitf05e26051c15dd208277c7e27c77f67720d5d4b1
tree551ac4109310b01257ba92c304953931f708decb
parentce3a7312357ba636dea4e326e5676615502805c5
eal: add IPC asynchronous request

This API is similar to the blocking API that is already present,
but reply will be received in a separate callback by the caller
(callback specified at the time of request, rather than registering
for it in advance).

Under the hood, we create a separate thread to deal with replies to
asynchronous requests, that will just wait to be notified by the
main thread, or woken up on a timer.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
lib/librte_eal/common/eal_common_proc.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/rte_eal_version.map