Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44390
b: refs/heads/master
c: 9b2e9c0
h: refs/heads/master
v: v3
  • Loading branch information
Sean Hefty authored and Roland Dreier committed Dec 12, 2006
1 parent 420813d commit 85f2f5e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a1336c8c93530b93c8ecd8c9882f5e528673cab
refs/heads/master: 9b2e9c0c241e532d923fff23d9a7c0bd31bd96b1
6 changes: 1 addition & 5 deletions trunk/drivers/infiniband/core/cma.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ struct rdma_id_private {

u32 seq_num;
u32 qp_num;
enum ib_qp_type qp_type;
u8 srq;
};

Expand Down Expand Up @@ -392,7 +391,6 @@ int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,

id->qp = qp;
id_priv->qp_num = qp->qp_num;
id_priv->qp_type = qp->qp_type;
id_priv->srq = (qp->srq != NULL);
return 0;
err:
Expand Down Expand Up @@ -1860,7 +1858,7 @@ static int cma_connect_ib(struct rdma_id_private *id_priv,
req.service_id = cma_get_service_id(id_priv->id.ps,
&route->addr.dst_addr);
req.qp_num = id_priv->qp_num;
req.qp_type = id_priv->qp_type;
req.qp_type = IB_QPT_RC;
req.starting_psn = id_priv->seq_num;
req.responder_resources = conn_param->responder_resources;
req.initiator_depth = conn_param->initiator_depth;
Expand Down Expand Up @@ -1937,7 +1935,6 @@ int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param)

if (!id->qp) {
id_priv->qp_num = conn_param->qp_num;
id_priv->qp_type = conn_param->qp_type;
id_priv->srq = conn_param->srq;
}

Expand Down Expand Up @@ -2021,7 +2018,6 @@ int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param)

if (!id->qp && conn_param) {
id_priv->qp_num = conn_param->qp_num;
id_priv->qp_type = conn_param->qp_type;
id_priv->srq = conn_param->srq;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/include/rdma/rdma_cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ struct rdma_conn_param {
/* Fields below ignored if a QP is created on the rdma_cm_id. */
u8 srq;
u32 qp_num;
enum ib_qp_type qp_type;
};

/**
Expand Down

0 comments on commit 85f2f5e

Please sign in to comment.