numam-spdk/lib/vhost
Tomasz Zawadzki 1cf1b00b1b lib/vhost: force cpumask to be subset of application's CPU mask
Documentation for vhost target states that CPU mask must be a subset
of application CPU mask. This wasn't enforced right now and allowed
the cpumask on controller creation so long as at least single
CPU core overlapped with application's CPU mask.

This might have been misleading and covered up user configuration errors.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6212 (master)

(cherry picked from commit b74363bcdf)
Change-Id: I03f959ec37efd0be9b98cff9c93c5f996b04af35
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6390
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-03-05 08:01:35 +00:00
..
Makefile vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
rte_vhost_compat.c lib:vhost Add version check when use RTE_VHOST_USER_ASYNC_COPY in 21.01 2021-02-16 08:13:11 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
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: force cpumask to be subset of application's CPU mask 2021-03-05 08:01:35 +00:00