numam-spdk/lib/rte_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
..
fd_man.c make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
fd_man.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
socket.c rte_vhost: unaffinitize the thread inside rte_vhost API function 2019-11-20 09:33:43 +00:00
vhost_user.c make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
vhost_user.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
vhost.c make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
vhost.h make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00