ksmbd: add debug print for rdma capable
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 22 Nov 2024 07:13:04 +0000 (16:13 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 26 Nov 2024 00:58:27 +0000 (18:58 -0600)
Add debug print to know if netdevice is RDMA-capable network adapter.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/transport_rdma.c

index 7c5a0d7..0ef3c9f 100644 (file)
@@ -2289,6 +2289,9 @@ out:
                }
        }
 
+       ksmbd_debug(RDMA, "netdev(%s) rdma capable : %s\n",
+                   netdev->name, rdma_capable ? "true" : "false");
+
        return rdma_capable;
 }