numam-spdk/lib
Daniel Verkamp efca92b85b nvme/rdma: partly remove CC.EN = 1 hack
The generic NVMe library controller initialization process already
handles enabling the controller; the RDMA transport should not need to
set EN itself.

For now, the discovery controller is cheating and not using the normal
initialization process, so move the EN = 1 hack to the discovery
controller bringup until it is overhauled to use the full
nvme_ctrlr_process_init() path.

The previous code where CC.EN was set to 1 before going through the
controller init process would cause an EN = 1 to EN = 0 transition,
which triggers a controller level reset.

This change stops us from causing a reset during the controller
startup sequence, which is defined by the NVMe over Fabrics spec as
terminating the host/controller association (breaking the connection).

Our NVMe over Fabrics target does not yet implement this correctly, but
we should still do the right thing in preparation for a full reset
implementation.

This patch also reverts the NVMe over Fabrics target reset
handling hack that was added as part of the NVMe over Fabrics host
commit to its previous state of just printing an error message.

Change-Id: I0aedd73dfd2dd1168e7b13b79575cc387737d4f0
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2016-11-23 16:34:41 -07:00
..
bdev bdev/rpc: add driver-specific data to get_bdevs 2016-11-21 12:35:57 -07:00
conf conf: move structures out of public API header 2016-11-16 10:33:16 -07:00
copy copy_engine: only calculate task size once 2016-11-16 15:04:45 -07:00
cunit eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
env_dpdk env: Detect correct DPDK header install location 2016-11-23 13:37:29 -07:00
event log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
ioat log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
iscsi iscsi: fix unused variable warning in release build 2016-11-17 10:29:11 -07:00
json json: add printf-style spdk_json_write_string_fmt() 2016-11-22 16:32:35 -07:00
jsonrpc log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
log log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
net log: split internal TRACELOG macro into new header 2016-11-16 13:33:51 -07:00
nvme nvme/rdma: partly remove CC.EN = 1 hack 2016-11-23 16:34:41 -07:00
nvmf nvme/rdma: partly remove CC.EN = 1 hack 2016-11-23 16:34:41 -07:00
rpc rpc: always unregister RPC setup poller 2016-10-21 15:42:53 -07:00
scsi lib/scsi: handle scattered input/output buffers for non IO commands 2016-11-21 10:52:35 -07:00
trace Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
util util: add vsprintf version of spdk_sprintf_alloc 2016-11-22 11:52:00 -07:00
Makefile env: rename default implementation to env_dpdk 2016-11-14 08:48:20 -07:00