numam-spdk/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
..
rte_vhost vhost: Reduces size of vhost app coredump file. 2017-12-01 12:56:04 -05:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: Test Plan for vhost initiator. 2017-10-26 14:07:59 -04:00
vhost_blk.c vhost_blk: close the bdev in the hotplug callback 2017-12-19 14:54:51 -05:00
vhost_internal.h vhost: interrupts coalescing 2017-10-27 13:06:40 -04:00
vhost_rpc.c vhost: Switch "Dev" keyword to "Target" 2017-12-08 09:25:49 -05:00
vhost_scsi.c vhost/rpc: fix get_vhost_controllers 2017-12-14 11:27:57 -05:00
vhost.c vhost: Remove DPDK dependency and simplify load balancing 2017-12-28 12:03:40 -05:00