On Thu, Jun 27, 2019 at 04:06:43PM +0200, Konstantin Taranov wrote: > Make softRoce to calculate correct byte_len on receiving side when work completion > is generated with IB_WC_RECV_RDMA_WITH_IMM opcode. > > According to documentation byte_len must indicate the number of written > bytes, whereas it was always equal to zero for IB_WC_RECV_RDMA_WITH_IMM opcode. > > The patch proposes to remember the length of an RDMA request from the RETH header, and use it > as byte_len when the work completion with IB_WC_RECV_RDMA_WITH_IMM opcode is generated. > > Signed-off-by: Konstantin Taranov <konstantin.taranov@xxxxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_resp.c | 5 ++++- > drivers/infiniband/sw/rxe/rxe_verbs.h | 1 + > 2 files changed, 5 insertions(+), 1 deletion(-) Applied to for-next, thanks Jason