diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-29 11:33:32 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-29 11:42:45 -0400 |
commit | 5eae15927b3bccca6497506c8da38895da029b98 (patch) | |
tree | 15636d84eeaa7e64c6f14372e5c853c77169fe89 | |
parent | 349abd059ed195c75b5f787102a333a4dae10775 (diff) |
IB/ipath: Remove fast registration from the code
The driver does not support it anyway, and the support
should be added to a generic layer shared by both hfi1,
qib and softroce drivers.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/staging/rdma/ipath/ipath_verbs.c | 3 | ||||
-rw-r--r-- | drivers/staging/rdma/ipath/ipath_verbs.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rdma/ipath/ipath_verbs.c b/drivers/staging/rdma/ipath/ipath_verbs.c index 15633ec1843f..29e91796fb10 100644 --- a/drivers/staging/rdma/ipath/ipath_verbs.c +++ b/drivers/staging/rdma/ipath/ipath_verbs.c | |||
@@ -399,9 +399,6 @@ static int ipath_post_one_send(struct ipath_qp *qp, struct ib_send_wr *wr) | |||
399 | if (qp->ibqp.qp_type != IB_QPT_UC && | 399 | if (qp->ibqp.qp_type != IB_QPT_UC && |
400 | qp->ibqp.qp_type != IB_QPT_RC) | 400 | qp->ibqp.qp_type != IB_QPT_RC) |
401 | memcpy(&wqe->ud_wr, ud_wr(wr), sizeof(wqe->ud_wr)); | 401 | memcpy(&wqe->ud_wr, ud_wr(wr), sizeof(wqe->ud_wr)); |
402 | else if (wr->opcode == IB_WR_FAST_REG_MR) | ||
403 | memcpy(&wqe->fast_reg_wr, fast_reg_wr(wr), | ||
404 | sizeof(wqe->fast_reg_wr)); | ||
405 | else if (wr->opcode == IB_WR_RDMA_WRITE_WITH_IMM || | 402 | else if (wr->opcode == IB_WR_RDMA_WRITE_WITH_IMM || |
406 | wr->opcode == IB_WR_RDMA_WRITE || | 403 | wr->opcode == IB_WR_RDMA_WRITE || |
407 | wr->opcode == IB_WR_RDMA_READ) | 404 | wr->opcode == IB_WR_RDMA_READ) |
diff --git a/drivers/staging/rdma/ipath/ipath_verbs.h b/drivers/staging/rdma/ipath/ipath_verbs.h index ed102a26ec08..0a90a56870ab 100644 --- a/drivers/staging/rdma/ipath/ipath_verbs.h +++ b/drivers/staging/rdma/ipath/ipath_verbs.h | |||
@@ -280,7 +280,6 @@ struct ipath_swqe { | |||
280 | union { | 280 | union { |
281 | struct ib_send_wr wr; /* don't use wr.sg_list */ | 281 | struct ib_send_wr wr; /* don't use wr.sg_list */ |
282 | struct ib_ud_wr ud_wr; | 282 | struct ib_ud_wr ud_wr; |
283 | struct ib_fast_reg_wr fast_reg_wr; | ||
284 | struct ib_rdma_wr rdma_wr; | 283 | struct ib_rdma_wr rdma_wr; |
285 | struct ib_atomic_wr atomic_wr; | 284 | struct ib_atomic_wr atomic_wr; |
286 | }; | 285 | }; |