]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] be2iscsi: Fix SGL posting for unaligned ICD values
authorJayamohan Kallickal <jayamohank@gmail.com>
Sat, 28 Sep 2013 22:35:59 +0000 (15:35 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:58:10 +0000 (09:58 +0100)
commitdafdfb2dd18e3ea3e7475752c6948b858d42d130
tree8f228c9405eee19350e7b4617244a6de7cf572bb
parent2043b8c7a54e05bd2f2ffcbed56b497994a899e6
[SCSI] be2iscsi: Fix SGL posting for unaligned ICD values

If certain configuration it is possible that ICD range is not page-aligned.
SGL posting failed in these configuration and driver load was not success.
This fix aligns ICD range values and SGL posting for IO is done.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_mgmt.c