nvmf: add one debug log message when diable CC

Change-Id: Ia02b4369a60e3691568747ea6c6e9f24fb657321
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2061
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Changpeng Liu 2020-04-27 12:24:25 -04:00 committed by Tomasz Zawadzki
parent 132fffd4fd
commit 7a9c2d2aef

View File

@ -766,6 +766,7 @@ nvmf_prop_set_cc(struct spdk_nvmf_ctrlr *ctrlr, uint32_t value)
ctrlr->vcprop.cc.bits.en = 1;
ctrlr->vcprop.csts.bits.rdy = 1;
} else {
SPDK_DEBUGLOG(SPDK_LOG_NVMF, "Property Set CC Disable!\n");
ctrlr->vcprop.cc.bits.en = 0;
spdk_for_each_channel(ctrlr->subsys->tgt,
spdk_nvmf_ctrlr_disconnect_io_qpairs_on_pg,