]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: register ksmbd ib client with ib_register_client()
authorHyunchul Lee <hyc.lee@gmail.com>
Wed, 29 Dec 2021 14:02:15 +0000 (23:02 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 10 Jan 2022 18:44:19 +0000 (12:44 -0600)
commit50a902c2bf5a9331127b6ba96e15dc7fa282a5c2
tree8b37bfbd410bbb4b09888c5ee18c7691dd6f520d
parent55b2489fd0f5c803c496724654c211e1574bb7ee
ksmbd: register ksmbd ib client with ib_register_client()

Register ksmbd ib client with ib_register_client() to find the rdma capable
network adapter. If ops.get_netdev(Chelsio NICs) is NULL, ksmbd will find
it using ib_device_get_by_netdev in old way.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/transport_rdma.c
fs/ksmbd/transport_rdma.h