8e68dfd99f
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> |
||
---|---|---|
.. | ||
fd_man.c | ||
fd_man.h | ||
Makefile | ||
rte_vhost.h | ||
socket.c | ||
vhost_user.c | ||
vhost_user.h | ||
vhost.c | ||
vhost.h |