diff options
author | Kangjing Huang <huangkangjing@gmail.com> | 2023-10-21 03:42:07 -0400 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-22 19:06:27 -0500 |
commit | ecce70cf17d91c3dd87a0c4ea00b2d1387729701 (patch) | |
tree | 608501d3454cf2f87538ef440972ac641e01681a /drivers/pci/controller/pcie-xilinx-cpm.c | |
parent | 807252f028c59b9a3bac4d62ad84761548c10f11 (diff) |
ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
Physical ib_device does not have an underlying net_device, thus its
association with IPoIB net_device cannot be retrieved via
ops.get_netdev() or ib_device_get_by_netdev(). ksmbd reads physical
ib_device port GUID from the lower 16 bytes of the hardware addresses on
IPoIB net_device and match its underlying ib_device using ib_find_gid()
Signed-off-by: Kangjing Huang <huangkangjing@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
0 files changed, 0 insertions, 0 deletions