tmp_suning_uos_patched/drivers/infiniband/sw/rxe
Konstantin Taranov bdce129049 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: 8700e3e7c4 ("Soft RoCE driver")
Signed-off-by: Konstantin Taranov <konstantin.taranov@inf.ethz.ch>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-08 16:40:15 -03:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
rxe_av.c
rxe_comp.c ibverbs/rxe: Remove variable self-initialization 2019-07-07 09:19:38 -03:00
rxe_cq.c IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_hdr.h
rxe_hw_counters.c
rxe_hw_counters.h
rxe_icrc.c
rxe_loc.h IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_mcast.c
rxe_mmap.c IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_mr.c RDMA: Check umem pointer validity prior to release 2019-06-20 15:17:59 -04:00
rxe_net.c RDMA/rxe: Use rdma_read_gid_attr_ndev_rcu to access netdev 2019-05-03 11:10:03 -03:00
rxe_net.h
rxe_opcode.c
rxe_opcode.h
rxe_param.h
rxe_pool.c RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
rxe_pool.h
rxe_qp.c IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_queue.c IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_queue.h IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_recv.c
rxe_req.c
rxe_resp.c RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM 2019-07-08 16:40:15 -03:00
rxe_srq.c IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
rxe_sysfs.c
rxe_task.c
rxe_task.h
rxe_verbs.c RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
rxe_verbs.h RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM 2019-07-08 16:40:15 -03:00
rxe.c
rxe.h crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00