numam-spdk/lib/vhost
Tomasz Zawadzki ce9efeda3a lib/vhost: set g_vhost_core_mask to all cores rather than threads
spdk_vhost_init() relies on having a thread on each reactor.
Every vhost controller could be created on the same core and
even passing --cpumask when creating would not affect it.

This has happened before, see patch (7cc83b62).

This patch modifies the g_vhost_core_mask to match the actual
cores in use.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I42a07c5f99690bfa4ecd2a5b9b7b04d1aa7d2800
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6188
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2021-02-04 08:35:08 +00:00
..
Makefile
rte_vhost_compat.c vhost/compat: add RTE_VHOST_USER_ASYNC_COPY flag when used IOVA_PA mode 2021-01-29 15:16:06 +00:00
spdk_vhost.map
vhost_blk.c vhost-blk: resubmit inflight descs of packed ring 2021-01-15 08:30:18 +00:00
vhost_internal.h vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_rpc.c vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_scsi.c vhost-scsi: fix hang when removing target 2020-11-19 09:23:39 +00:00
vhost.c lib/vhost: set g_vhost_core_mask to all cores rather than threads 2021-02-04 08:35:08 +00:00