+1
−0
+6
−12
+2
−2
Loading
The driver has historically waited until we have to do a listen before enabling the admin qpair. That is a very PCIe-centric mindset. For fabric controllers, a lot of the early initialization operations such as get_cc and set_cc are handled through the admin qpair so it should be enabled before we begin the initialization process. As a side effect of this cahnge, the internal API nvme_ctrlr_enable_admin_qpair has been removed. It would have turned into a one-liner. Change-Id: Icd162657d01a85c227a3f20c295d0208e07ce44d Signed-off-by:Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471743 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com>