linux/drivers/infiniband/sw/siw
Bernard Metzler fab4f97e1f RDMA/siw: Fix SGL mapping issues
All user level and most in-kernel applications submit WQEs
where the SG list entries are all of a single type.
iSER in particular, however, will send us WQEs with mixed SG
types: sge[0] = kernel buffer, sge[1] = PBL region.
Check and set is_kva on each SG entry individually instead of
assuming the first SGE type carries through to the last.
This fixes iSER over siw.

Fixes: b9be6f18cf ("rdma/siw: transmit path")
Reported-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Tested-by: Krishnamraju Eraparaju <krishna2@chelsio.com>
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20190822150741.21871-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-22 11:21:06 -04:00
..
iwarp.h
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile
siw_cm.c RDMA/siw: Fix potential NULL de-ref 2019-08-20 13:44:44 -04:00
siw_cm.h
siw_cq.c
siw_main.c RDMA/siw: Fix a memory leak in siw_init_cpulist() 2019-08-12 10:59:36 -04:00
siw_mem.c
siw_mem.h
siw_qp_rx.c
siw_qp_tx.c RDMA/siw: Fix SGL mapping issues 2019-08-22 11:21:06 -04:00
siw_qp.c RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
siw_verbs.c RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
siw_verbs.h
siw.h RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00