RDMA/rxe: Skip adjusting remote addr for write in retry operation
For write request the remote addr will be sent only with first packet so we don't have to adjust wqe->iova in retry operation. Link: https://lore.kernel.org/r/20220502053907.6388-1-cgxu519@mykernel.net Signed-off-by: Chengguang Xu <cgxu519@mykernel.net> Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
parent
08d709d5e1
commit
1a7085b342
@ -33,8 +33,6 @@ static inline void retry_first_write_send(struct rxe_qp *qp,
|
|||||||
} else {
|
} else {
|
||||||
advance_dma_data(&wqe->dma, to_send);
|
advance_dma_data(&wqe->dma, to_send);
|
||||||
}
|
}
|
||||||
if (mask & WR_WRITE_MASK)
|
|
||||||
wqe->iova += qp->mtu;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user