]> Gentwo Git Trees - linux/.git/commit
ksmbd: detect RDMA capable netdevs include IPoIB
authorNamjae Jeon <linkinjeon@kernel.org>
Mon, 27 Oct 2025 06:46:39 +0000 (15:46 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 4 Nov 2025 14:47:55 +0000 (08:47 -0600)
commite6187655acfa2dd566ea2aed4522083f0bb940c3
treead86aa1688c72ef818f774edfd772faf5886eaf4
parentd24822e1471d68a6eceee67809b5956d59482cb5
ksmbd: detect RDMA capable netdevs include IPoIB

Current ksmbd_rdma_capable_netdev fails to mark certain RDMA-capable
inerfaces such as IPoIB as RDMA capable after reverting GUID matching code
due to layer violation.
This patch check the ARPHRD_INFINIBAND type safely identifies an IPoIB
interface without introducing a layer violation, ensuring RDMA
functionality is correctly enabled for these interfaces.

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