We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b650545 commit 0191c27Copy full SHA for 0191c27
drivers/infiniband/hw/qedr/verbs.c
@@ -1936,6 +1936,15 @@ static int qedr_create_user_qp(struct qedr_dev *dev,
1936
}
1937
1938
if (rdma_protocol_iwarp(&dev->ibdev, 1)) {
1939
+ qp->urq.db_rec_db2_addr = ctx->dpi_addr + uresp.rq_db2_offset;
1940
+
1941
+ /* calculate the db_rec_db2 data since it is constant so no
1942
+ * need to reflect from user
1943
+ */
1944
+ qp->urq.db_rec_db2_data.data.icid = cpu_to_le16(qp->icid);
1945
+ qp->urq.db_rec_db2_data.data.value =
1946
+ cpu_to_le16(DQ_TCM_IWARP_POST_RQ_CF_CMD);
1947
1948
rc = qedr_db_recovery_add(dev, qp->urq.db_rec_db2_addr,
1949
&qp->urq.db_rec_db2_data,
1950
DB_REC_WIDTH_32B,
0 commit comments