Spdk/lib/vhost
Darek Stojaczyk 8e68dfd99f rte_vhost: unaffinitize the thread inside rte_vhost API function
We used to call rte_vhost_driver_start() under
spdk_call_unaffinitized() because that function could
spawn a new pthread and we didn't want to to be pinned
to the one single cpu of the current SPDK reactor.

New DPDK versions (>= 19.05) already unaffinitize the
pthread by themselves, so our spdk_call_unaffinitized()
was only required for the legacy, internal rte_vhost fork
in SPDK. To clean up SPDK code, move the un-affinitization
down to the rte_vhost fork.

Change-Id: I53836517e9ec2ff366b509f00e1403845e3c3172
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466746
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-11-20 09:33:43 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_blk.c rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
vhost_internal.h vhost: delete vhost_put_poll_group declaration 2019-11-14 03:44:32 +00:00
vhost_nvme.c nvme: allow setting of completion queue CDW0 2019-10-24 18:02:38 +00:00
vhost_rpc.c vhost_rpc: Fix function typo error. 2019-10-10 16:52:44 +00:00
vhost_scsi.c lib/scsi: Check pending tasks for the SCSI device only from the specific initiator 2019-10-18 17:30:13 +00:00
vhost.c rte_vhost: unaffinitize the thread inside rte_vhost API function 2019-11-20 09:33:43 +00:00