Spdk/lib/vhost
Darek Stojaczyk 1eba43239e vhost: add a separate cpl cb to foreach_session()
Currently vhost_dev_foreach_session() accepts a single
callback function for both iterating through all active
sessions and for signaling the end of iteration (called
last time with vsession param == NULL). Now that the
final signal has completely different semantics and is
called on a specific thread, it makes sense to put it in
a separate function.

While here, remove the one-line description of
spdk_vhost_session_fn typepef. It wasn't helpful anyway.

Change-Id: I56b97180110874a813e666f964bb51c39a8ce6bb
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466732
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-09-09 01:39:41 +00:00
..
rte_vhost vhost: remove unnecessary membarrier on I/O completion 2019-08-23 22:34:02 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_blk.c vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00
vhost_internal.h vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00
vhost_nvme.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_rpc.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_scsi.c vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00
vhost.c vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00