]> git.ipfire.org Git - thirdparty/linux.git/commit
ksmbd: detect RDMA capable lower devices when bridge and vlan netdev is used
authorNamjae Jeon <linkinjeon@kernel.org>
Mon, 27 Oct 2025 06:24:17 +0000 (15:24 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 4 Nov 2025 14:47:55 +0000 (08:47 -0600)
commitd24822e1471d68a6eceee67809b5956d59482cb5
tree29622b06a7a4c461c21ea160e2a5fe2b936a316c
parent6146a0f1dfae5d37442a9ddcba012add260bceb0
ksmbd: detect RDMA capable lower devices when bridge and vlan netdev is used

If user set bridge interface as actual RDMA-capable NICs are lower devices,
ksmbd can not detect as RDMA capable. This patch can detect the RDMA
capable lower devices from bridge master or VLAN. With this change, ksmbd
can accept both TCP and RDMA connections through the same bridge IP
address, allowing mixed transport operation without requiring separate
interfaces.

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