2023-10-21 16:42 GMT+09:00, Kangjing Huang <huangkangjing@xxxxxxxxx>: > 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@xxxxxxxxx> > Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> > Reviewed-by: Tom Talpey <tom@xxxxxxxxxx> Applied it to #ksmbd-for-next-next. Thanks for your patch!