Spdk/test/unit/lib/vhost
Shuhei Matsumoto 0686f0381b vhost: Remove DPDK dependency and simplify load balancing
The latest patch for the iSCSI connection is applied to the vhost
too.

RTE_MAX_LCORE in the for loop is removed and the for loop is
replaced by SPDK_ENV_FOREACH_CORE().

When the cpumask is unexpectedly 0, not 0 but the first core is
returned.

Change-Id: I39cfc2219a3532eccc8c0ce59712102b947a76d7
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/392588
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
2017-12-28 12:03:40 -05:00
..
vhost_blk.c ut/vhost: move mock functions to common vhost file 2017-11-20 19:34:53 -05:00
vhost_scsi.c vhost: Switch "Dev" keyword to "Target" 2017-12-08 09:25:49 -05:00
vhost.c vhost: Remove DPDK dependency and simplify load balancing 2017-12-28 12:03:40 -05:00
Makefile ut/vhost: add UT coverage for vhost_blk.c 2017-09-06 18:14:15 -04:00
test_vhost.c event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00