IB/ipath: Remove fast registration from the code
authorSagi Grimberg <sagig@mellanox.com>
Thu, 29 Oct 2015 15:33:32 +0000 (17:33 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 29 Oct 2015 15:42:45 +0000 (11:42 -0400)
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>
drivers/staging/rdma/ipath/ipath_verbs.c
drivers/staging/rdma/ipath/ipath_verbs.h

index 15633ec1843fd1195cc4cdac8c9919c04bc85ce0..29e91796fb10965de9d2861fa9aaa4f2e1942a7e 100644 (file)
@@ -399,9 +399,6 @@ static int ipath_post_one_send(struct ipath_qp *qp, struct ib_send_wr *wr)
        if (qp->ibqp.qp_type != IB_QPT_UC &&
            qp->ibqp.qp_type != IB_QPT_RC)
                memcpy(&wqe->ud_wr, ud_wr(wr), sizeof(wqe->ud_wr));
-       else if (wr->opcode == IB_WR_FAST_REG_MR)
-               memcpy(&wqe->fast_reg_wr, fast_reg_wr(wr),
-                       sizeof(wqe->fast_reg_wr));
        else if (wr->opcode == IB_WR_RDMA_WRITE_WITH_IMM ||
                 wr->opcode == IB_WR_RDMA_WRITE ||
                 wr->opcode == IB_WR_RDMA_READ)
index ed102a26ec08b8149444a46ffb46a2eb53a66b2c..0a90a56870ab0653022b098d2eda6df510b59ad0 100644 (file)
@@ -280,7 +280,6 @@ struct ipath_swqe {
        union {
                struct ib_send_wr wr;   /* don't use wr.sg_list */
                struct ib_ud_wr ud_wr;
-               struct ib_fast_reg_wr fast_reg_wr;
                struct ib_rdma_wr rdma_wr;
                struct ib_atomic_wr atomic_wr;
        };