1554a344c9
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> |
||
---|---|---|
.. | ||
rpc | ||
subsystems | ||
app.c | ||
json_config.c | ||
json_config.h | ||
Makefile | ||
reactor.c | ||
rpc.c | ||
subsystem.c |