numam-spdk/lib/event
Shuhei Matsumoto 1554a344c9 env: Add free_space parameter to spdk_ring_enqueue
DPDK rte_ring_enqueue_bulk() has free_space parameter to return
the amount of space in the ring after enqueue operation has finished.
This parameter can be used to wait when the ring is almost full and
wake up when there is enough space available in the ring.

Hence we add free_space to spdk_ring_enqueue() and spdk_ring_enqueue()
passes it to rte_ring_enqueue_bulk() simply.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I9b9d6a5a097cf6dc4b97dfda7442f2c4b0aed4d3
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456734
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-05 05:23:58 +00:00
..
rpc lib/notify: rename spdk_notify_get_events to spdk_notify_foreach_event 2019-05-07 06:11:27 +00:00
subsystems nvmf: Remove use of events from nvmf application 2019-05-09 04:35:10 +00:00
app.c reactor: pin spdk threads to their cores 2019-05-02 17:06:34 +00:00
json_config.c util: add a new file operation API 2019-05-15 18:54:27 +00:00
json_config.h event: spdk_app_json_config_load no longer requires an event 2019-03-06 08:26:04 +00:00
Makefile app: add option to read json configuration files during startup 2019-01-14 04:48:18 +00:00
reactor.c env: Add free_space parameter to spdk_ring_enqueue 2019-06-05 05:23:58 +00:00
rpc.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
subsystem.c event: spdk_subsystem_config_json is no longer asynchronous 2019-03-19 15:54:34 +00:00