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> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |