Spdk/test
Tomasz Kulasek 601bcbcf66 util: extend cpumask to hold more than 64 cpus
Fixes github issue #218.

This patch introduces spdk_cpuset object to store and manipulate
the set of individual CPUs. The main objective of this object is
to replace cpumask declared as uint64_t and extend the limitation
of supported CPUs (lcores) above 64 CPUs.

spdk_cpuset is always allocated dynamically and accessed by opaque
pointer, what makes it easier to extend in the future without
breaking API/ABI.

This patch also extends parsing function allowing to set cpumask
using a list of cpus e.g. "[0-4,10,12]" sets mask of 0,1,2,3,4,10,12
as well as hexadecimal string with and without "0x" prefix.

Change-Id: I475c3ba7fab629021a22e03176e57e400dd24a49
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Reviewed-on: https://review.gerrithub.io/390794
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-25 18:51:50 -05:00
..
app stub: fix a io_queue_size limitation 2018-01-11 11:48:06 -05:00
blobfs/rocksdb test/rocksdb: reduce test time for per-patch tests 2017-12-15 15:48:06 -05:00
blobstore autotest: blobstore_test (porting from nightly to autotest) 2018-01-24 17:12:47 -05:00
config test: minor updates to vm_setup script 2018-01-25 14:35:28 -05:00
cpp_headers build: include spdk.app.mk in all app Makefiles 2017-11-15 17:57:07 -05:00
iscsi_tgt test/iscsi: check and avoid setting DataDigest 2018-01-24 16:52:30 -05:00
lib Test: fix the syntax error issue in the nvme.sh 2018-01-19 15:52:05 -05:00
lvol bdev: remove vbdevs during spdk_bdev_unregister() 2018-01-24 15:50:04 -05:00
nvmf autotest:Add fio_plugin with nvmf lvol backend(Porting from DTS) 2018-01-25 13:44:18 -05:00
pmem bdev/pmem: require name in construct_pmem_bdev RPC 2017-12-04 18:51:14 -05:00
unit util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
vhost test/vhost: live migration test plan 2018-01-25 17:59:04 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00