Spdk/lib/vhost
Shuhei Matsumoto 34f53ab7cc lib/vhost: Simplify vhost_dev_foreach_session()
By sending message to the thread with which controller is associated,
we can simplify vhost_dev_foreach_session(). We can iterate
sessions list and we do not have to differentiate if session is
started or not.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I59767a5788c190545a81976e75871609da703f45
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1147
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2020-03-10 09:12:12 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: Inline the calculation of vhost session memory region. 2020-01-07 12:17:55 +00:00
vhost_blk.c lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
vhost_internal.h lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
vhost_nvme.c lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
vhost_rpc.c lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
vhost_scsi.c lib/vhost: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00
vhost.c lib/vhost: Simplify vhost_dev_foreach_session() 2020-03-10 09:12:12 +00:00