Skip to content

Commit fc61a5d

Browse files
namjaejeonSteve French
authored andcommitted
ksmbd: add debug print for rdma capable
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>
1 parent f75f8bd commit fc61a5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fs/smb/server/transport_rdma.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,6 +2289,9 @@ bool ksmbd_rdma_capable_netdev(struct net_device *netdev)
22892289
}
22902290
}
22912291

2292+
ksmbd_debug(RDMA, "netdev(%s) rdma capable : %s\n",
2293+
netdev->name, rdma_capable ? "true" : "false");
2294+
22922295
return rdma_capable;
22932296
}
22942297

0 commit comments

Comments
 (0)