diff options
author | Kangjing Huang <huangkangjing@gmail.com> | 2023-10-21 10:42:07 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-23 03:06:27 +0300 |
commit | ecce70cf17d91c3dd87a0c4ea00b2d1387729701 (patch) | |
tree | 608501d3454cf2f87538ef440972ac641e01681a /tools/perf/scripts/python/stackcollapse.py | |
parent | 807252f028c59b9a3bac4d62ad84761548c10f11 (diff) | |
download | linux-ecce70cf17d91c3dd87a0c4ea00b2d1387729701.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions