summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorGiridhar Malavali2018-12-21 18:33:45 +0100
committerMartin K. Petersen2019-01-12 04:08:15 +0100
commit50b812755e9766fa0a1a28533f4d11a34a5b813e (patch)
tree726439d7b8aad2a7fff5220e995601e946f244c4 /include/scsi
parentscsi: qla2xxx: Add protection mask module parameters (diff)
downloadkernel-qcow2-linux-50b812755e9766fa0a1a28533f4d11a34a5b813e.tar.gz
kernel-qcow2-linux-50b812755e9766fa0a1a28533f4d11a34a5b813e.tar.xz
kernel-qcow2-linux-50b812755e9766fa0a1a28533f4d11a34a5b813e.zip
scsi: qla2xxx: Fix DMA error when the DIF sg buffer crosses 4GB boundary
When SGE buffer containing DIF information crosses 4G boundary, it results in DMA error. This patch fixes this issue by calculating SGE buffer size and if it crosses 4G boundary, driver will split it into multiple SGE buffers to avoid DMA error. Signed-off-by: Giridhar Malavali <gmalavali@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions