RDMA/rtrs-srv: Do not signal REG_MR

We do not need to wait for REG_MR completion, so remove the
SIGNAL flag.

Fixes: 9cb8374804 ("RDMA/rtrs: server: main functionality")
Link: https://lore.kernel.org/r/20201217141915.56989-18-jinpu.wang@cloud.ionos.com
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
Jack Wang 2020-12-17 15:19:13 +01:00 committed by Jason Gunthorpe
parent aaed465f76
commit e8ae7ddb48
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ static int process_info_req(struct rtrs_srv_con *con,
rwr[mri].wr.opcode = IB_WR_REG_MR; rwr[mri].wr.opcode = IB_WR_REG_MR;
rwr[mri].wr.wr_cqe = &local_reg_cqe; rwr[mri].wr.wr_cqe = &local_reg_cqe;
rwr[mri].wr.num_sge = 0; rwr[mri].wr.num_sge = 0;
rwr[mri].wr.send_flags = mri ? 0 : IB_SEND_SIGNALED; rwr[mri].wr.send_flags = 0;
rwr[mri].mr = mr; rwr[mri].mr = mr;
rwr[mri].key = mr->rkey; rwr[mri].key = mr->rkey;
rwr[mri].access = (IB_ACCESS_LOCAL_WRITE | rwr[mri].access = (IB_ACCESS_LOCAL_WRITE |