Message ID | 20241123041706.4943-2-linkinjeon@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/6] ksmbd: use __GFP_RETRY_MAYFAIL | expand |
diff --git a/fs/smb/server/transport_rdma.c b/fs/smb/server/transport_rdma.c index 7c5a0d712873..0ef3c9f0bfeb 100644 --- a/fs/smb/server/transport_rdma.c +++ b/fs/smb/server/transport_rdma.c @@ -2289,6 +2289,9 @@ bool ksmbd_rdma_capable_netdev(struct net_device *netdev) } } + ksmbd_debug(RDMA, "netdev(%s) rdma capable : %s\n", + netdev->name, rdma_capable ? "true" : "false"); + return rdma_capable; }
Add debug print to know if netdevice is RDMA-capable network adapter. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> --- fs/smb/server/transport_rdma.c | 3 +++ 1 file changed, 3 insertions(+)