diff options
author | Kangjing Huang <[email protected]> | 2023-10-21 03:42:07 -0400 |
---|---|---|
committer | Steve French <[email protected]> | 2023-10-22 19:06:27 -0500 |
commit | ecce70cf17d91c3dd87a0c4ea00b2d1387729701 (patch) | |
tree | 608501d3454cf2f87538ef440972ac641e01681a /tools/perf/util/trace-event-scripting.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 <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Reviewed-by: Tom Talpey <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions