nvme-tcp: improve icreq/icresp logging
authorHannes Reinecke <hare@suse.de>
Thu, 24 Aug 2023 14:39:17 +0000 (16:39 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 11 Oct 2023 17:11:55 +0000 (10:11 -0700)
commite4f4aabb6f66177410e573bdf821f29f9746765f
treed8b701662cd533ae8d388b7805352c6c1079d9a0
parent2837966ab2a8117b002ee9c02fa62a01db787844
nvme-tcp: improve icreq/icresp logging

When icreq/icresp fails we should be printing out a warning to
inform the user that the connection could not be established;
without it there won't be anything in the kernel message log,
just an error code returned to nvme-cli.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c