[openib-general] [PATCH 4/6] librdmacm include file changes.
Sean Hefty
mshefty at ichips.intel.com
Fri Jul 28 10:12:44 PDT 2006
Krishna Kumar wrote:
> struct ucma_abi_query_route_resp {
> __u64 node_guid;
> - struct ibv_kern_path_rec ib_route[2];
> + struct rdma_kern_path_rec ib_route[2];
Path records are IB specific. Not sure we need to rename them.
> struct ib_addr {
> - union ibv_gid sgid;
> - union ibv_gid dgid;
> + union rdma_gid sgid;
> + union rdma_gid dgid;
Ditto for GIDs.
> struct rdma_route {
> struct rdma_addr addr;
> - struct ibv_sa_path_rec *path_rec;
> + struct rdma_sa_path_rec *path_rec;
same
> -int rdma_create_qp(struct rdma_cm_id *id, struct ibv_pd *pd,
> - struct ibv_qp_init_attr *qp_init_attr);
> +int rdma_create_qp(struct rdma_cm_id *id, struct rdma_pd *pd,
> + struct rdma_qp_init_attr *qp_init_attr);
If we want to avoid changing this, maybe the new verbs call can use 'alloc' in
place of 'create'.
> - IB_PATH_OPTIONS = 1, /* struct ibv_kern_path_rec */
> + IB_PATH_OPTIONS = 1, /* struct rdma_kern_path_rec */
see above
- Sean
More information about the general
mailing list