summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge
diff options
context:
space:
mode:
authorBernard Metzler <bmt@zurich.ibm.com>2019-08-22 17:07:41 +0200
committerDoug Ledford <dledford@redhat.com>2019-08-22 11:21:06 -0400
commitfab4f97e1fe33cf08e58c09cf9eee334857d9fe7 (patch)
tree52105f0deb2e0894921793eb24b81518334c4c8a /drivers/gpu/drm/bridge
parentd37b1e534071ab1983e7c85273234b132c77591a (diff)
downloadlinux-fab4f97e1fe33cf08e58c09cf9eee334857d9fe7.tar.bz2
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: b9be6f18cf9e ("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>
Diffstat (limited to 'drivers/gpu/drm/bridge')
0 files changed, 0 insertions, 0 deletions