Spdk/lib/event
Shuhei Matsumoto d34d32f684 event: Replace the constant SPDK_MAX_REACTORS to spdk_env_get_last_core()
SPDK reactor is one per cpu and SPDK_MAX_REACTORS is used as the
maximum number of cpus locally in the file.

When the maximum number of cpus is changed, SPDK_MAX_REACTORS is likely
to fail to be changed.

Adopting two improvements for iSCSI by Ziye to the reactor will be safer
than now for the reactor.
- iscsi/conn: remove rte_config.h header
- env: export spdk_env_get_last_core function

Change-Id: I4941454ffdb704fa7799549e1f190c9bae3a4421
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/392911
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-12-28 12:03:40 -05:00
..
rpc log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
subsystems nbd: add nbd as one event subsystem 2017-12-07 16:23:19 -05:00
app.c lib/event replace printf and fprintf with spdk_log 2017-12-19 11:59:21 -05:00
Makefile rpc: remove rpc subsystem 2017-11-10 17:00:58 -05:00
reactor.c event: Replace the constant SPDK_MAX_REACTORS to spdk_env_get_last_core() 2017-12-28 12:03:40 -05:00
rpc.c rpc: prefer command-line address over config file 2017-12-05 13:16:57 -05:00
subsystem.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00