Spdk/lib/vhost
Shuhei Matsumoto baf3e12c09 lib/vhost: Replace poll group per session by thread per controller
Currently each controller is associated with one of the poll groups.
For each controller, all sessions are associated with the poll
groups with which the corresponding controller is associated.

Vhost poll group does not have any polling loop but its usage was
very complex.

Association of controller with poll group is done based on the
specified cpumask, and poll group is created per CPU core.

This is as same as association of thread with CPU core.

So in this patch, replace poll group per session by thread per
controller.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ifa1e136caae11959f7b097b06a22910bc2169b30
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1146
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>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@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: Replace poll group per session by thread per controller 2020-03-10 09:12:12 +00:00