numam-spdk/mk
Kyle Zhang 2187424ab2 lib/vhost: remove dependency on lib/event
In current implementation, lib/vhost assumes that it always runs
together with lib/event, and would call lib/event's functions in
vhost.c. This is not necessary and make program unable to
create/destroy vhost module without init/fini the whole spdk env. It
would cause problems when program runs with vhost and other spdk
components together.

In this patch, we remove the dependency of lib/vhost on lib/event by
adding a global vairable g_vhost_core_mask so that it could handle
core mask by itself.

Signed-off-by: Kyle Zhang <kyle@smartx.com>
Change-Id: I38ceb92ac39b6980955346fda41e968aaead863d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1204
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-05-13 07:47:01 +00:00
..
nvme.libtest.mk make: don't link vpp into fio plugins. 2020-03-26 08:12:04 +00:00
spdk.app_cxx.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.app_vars.mk mk: force --no-as-needed for spdk libs. 2019-08-12 21:12:16 +00:00
spdk.app.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.common.mk Makefile: add -lfuse3 when building with --with-fuse 2020-05-05 08:04:08 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib_deps.mk lib/vhost: remove dependency on lib/event 2020-05-13 07:47:01 +00:00
spdk.lib.mk make: add a map file for libspdk_accel. 2020-04-03 06:31:46 +00:00
spdk.mock.unittest.mk test: Add mocks for sendmsg and recvmsg 2019-11-01 17:56:16 +00:00
spdk.modules.mk module/idxd: accel framework plug-in for idxd 2020-04-23 15:48:32 +00:00
spdk.nvmecli.mk mk: add nvme-cli make fragment to mk dir. 2020-04-22 09:22:44 +00:00
spdk.subdirs.mk Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
spdk.unittest.mk make/unittest: don't link against shared env lib. 2020-04-22 09:21:55 +00:00