struct ucma_abi_query_route_resp {
__u64 node_guid;
- struct ib_kern_path_rec ib_route[2];
+ struct ibv_kern_path_rec ib_route[2];
struct sockaddr_in6 src_addr;
struct sockaddr_in6 dst_addr;
__u32 num_paths;
id->route.num_paths = resp->num_paths;
for (i = 0; i < resp->num_paths; i++)
- ib_copy_path_rec_from_kern(&id->route.path_rec[i],
- &resp->ib_route[i]);
+ ibv_copy_path_rec_from_kern(&id->route.path_rec[i],
+ &resp->ib_route[i]);
}
memcpy(id->route.addr.addr.ibaddr.sgid.raw, resp->ib_route[0].sgid,
if (ret != size)
return (ret > 0) ? -ENODATA : ret;
- ib_copy_qp_attr_from_kern(qp_attr, resp);
+ ibv_copy_qp_attr_from_kern(qp_attr, resp);
*qp_attr_mask = resp->qp_attr_mask;
return 0;
}