|
@@ -1396,7 +1396,7 @@ static void srpt_rdma_read_done(struct ib_cq *cq, struct ib_wc *wc)
|
|
|
{
|
|
|
struct srpt_rdma_ch *ch = cq->cq_context;
|
|
|
struct srpt_send_ioctx *ioctx =
|
|
|
- container_of(wc->wr_cqe, struct srpt_send_ioctx, ioctx.cqe);
|
|
|
+ container_of(wc->wr_cqe, struct srpt_send_ioctx, rdma_cqe);
|
|
|
|
|
|
WARN_ON(ioctx->n_rdma <= 0);
|
|
|
atomic_add(ioctx->n_rdma, &ch->sq_wr_avail);
|
|
@@ -1419,7 +1419,7 @@ static void srpt_rdma_read_done(struct ib_cq *cq, struct ib_wc *wc)
|
|
|
static void srpt_rdma_write_done(struct ib_cq *cq, struct ib_wc *wc)
|
|
|
{
|
|
|
struct srpt_send_ioctx *ioctx =
|
|
|
- container_of(wc->wr_cqe, struct srpt_send_ioctx, ioctx.cqe);
|
|
|
+ container_of(wc->wr_cqe, struct srpt_send_ioctx, rdma_cqe);
|
|
|
|
|
|
if (unlikely(wc->status != IB_WC_SUCCESS)) {
|
|
|
pr_info("RDMA_WRITE for ioctx 0x%p failed with status %d\n",
|