RDS: IB: Support Fastreg MR (FRMR) memory registration mode
Fastreg MR(FRMR) is another method with which one can register memory to HCA. Some of the newer HCAs supports only fastreg mr mode, so we need to add support for it to have RDS functional on them. Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org> Signed-off-by: Avinash Repaka <avinash.repaka@oracle.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
@@ -249,7 +249,12 @@ static void poll_scq(struct rds_ib_connection *ic, struct ib_cq *cq,
|
||||
(unsigned long long)wc->wr_id, wc->status,
|
||||
wc->byte_len, be32_to_cpu(wc->ex.imm_data));
|
||||
|
||||
rds_ib_send_cqe_handler(ic, wc);
|
||||
if (wc->wr_id <= ic->i_send_ring.w_nr ||
|
||||
wc->wr_id == RDS_IB_ACK_WR_ID)
|
||||
rds_ib_send_cqe_handler(ic, wc);
|
||||
else
|
||||
rds_ib_mr_cqe_handler(ic, wc);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户