diff options
author | Konstantin Taranov <konstantin.taranov@inf.ethz.ch> | 2019-06-27 16:06:43 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-08 16:40:15 -0300 |
commit | bdce1290493caa3f8119f24b5dacc3fb7ca27389 (patch) | |
tree | bf12cf21adbbde4e23a085605f3ef3743b86f751 /drivers/usb/usbip | |
parent | 96e2fd733b9af304edcf30ef922dcaa4d3e1bfa6 (diff) | |
download | blackbird-op-linux-bdce1290493caa3f8119f24b5dacc3fb7ca27389.tar.gz blackbird-op-linux-bdce1290493caa3f8119f24b5dacc3fb7ca27389.zip |
RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM
Calculate the correct byte_len on the receiving side when a work
completion is generated with IB_WC_RECV_RDMA_WITH_IMM opcode.
According to the IBA byte_len must indicate the number of written bytes,
whereas it was always equal to zero for the IB_WC_RECV_RDMA_WITH_IMM
opcode, even though data was transferred.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Konstantin Taranov <konstantin.taranov@inf.ethz.ch>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/usb/usbip')
0 files changed, 0 insertions, 0 deletions