Spdk/lib/vhost
Shuhei Matsumoto 1a1cbdf303 lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev
Following the recent effort, allocate struct spdk_cpuset statically
for struct spdk_vhost_dev. In vhost_dev_register(), a dynamically
allocated  cpumask had been set to spdk_vhost_dev, but change it
to spdk_cpuset_copy().  So use local cpuset instance in vhost_dev_register()
accordingly.

To reduce the size of patch, this patch doesn't include the change
for g_tmp_cpuset. This will be done by the next patch.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ic97753d1f470cbfd9ae7fc7f2af8ced5a31c8477
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478578
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>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2020-01-03 08:32:38 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: add a protocol_features parameter in vdev 2019-12-30 11:46:24 +00:00
vhost_blk.c lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev 2020-01-03 08:32:38 +00:00
vhost_internal.h lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev 2020-01-03 08:32:38 +00:00
vhost_nvme.c nvme: allow setting of completion queue CDW0 2019-10-24 18:02:38 +00:00
vhost_rpc.c lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev 2020-01-03 08:32:38 +00:00
vhost_scsi.c lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev 2020-01-03 08:32:38 +00:00
vhost.c lib/vhost: Allocate cpumask statically for struct spdk_vhost_dev 2020-01-03 08:32:38 +00:00