+9
−0
+1
−1
+6
−0
+1
−0
Loading
ctrlr->cntlid is easy to get. However, there was no public API to return ctrlr->cntlid yet. As the following comment in lib/nvme/nvme_ctrlr.c, Fabrics controllers should already have CNTLID from the Connect command. If CNTLID from Connect doesn't match CNTLID in the Identify Controller data, trust the one from Connect. ctrlr->cntlid is sufficiently reliable. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Iad7f1d8defcc427b7656e1b5f4f8104439bcfd51 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25297 Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>