summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorGiridhar Malavali <gmalavali@marvell.com>2018-12-21 09:33:45 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-11 22:08:15 -0500
commit50b812755e9766fa0a1a28533f4d11a34a5b813e (patch)
tree726439d7b8aad2a7fff5220e995601e946f244c4 /include/scsi
parent7855d2ba1172d716d96a628af7c5bafa5725ac57 (diff)
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