+34
−7
+7
−0
Loading
Checking if the controller is enabled (CC.EN == 1) is now done without blocking. Additionally, a copy of the controller configuration register (CC) value is now stored in spdk_nvme_ctrlr.process_init_cc. It'll be updated in subsequent patches whenever the register is written / read. This will make it possible to make several function non-blocking without having send asynchronous register reads. Signed-off-by:Jim Harris <james.r.harris@intel.com> Signed-off-by:
Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I8323cf0c31a5ea282840aab6cf8ca241ce8667be Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8617 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>