+31
−13
Loading
Add controller ID to NVME_CTRLR_*LOG() using a new API spdk_nvme_ctrlr_get_id() as same as we did for NVMe driver. Furthermore, this patch adds the following. Controller ID is newly given when controller is created. Controller ID can be changed when controller is reconnected. If we add logs for such cases and the logs include IP address and port, we can associate IP address and port with controller ID. Logs will be more helpful. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I8445d64fadb1a7b4cd9ec681beae8b6e27072574 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25298 Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> 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:
Jim Harris <jim.harris@samsung.com>