]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fnic: Fix SGEs limit
authorHiral Patel <hiralpat@cisco.com>
Wed, 13 Feb 2013 01:00:59 +0000 (17:00 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 17:29:35 +0000 (17:29 +0000)
commitab22c2ac8e5f38bfe2e22c80b14c3b3d368da0c4
treee04c9b67b59f4bd45cbd5f1c6aff44a4d63812ee
parent5b1197e616fb55c2bfec7337b5a46618d8b4a4d6
[SCSI] fnic: Fix SGEs limit

Driver allows IOs with more SGEs than max SGEs supported by Palo. The current
max SGEs supported by the fnic driver is 1024. The current register settings
on Palo supports a max of 256 only. Palo would return any IO with more than
256 SGEs with an error indicating INVALID_SGLS. Fnic driver should limit the
max supported SGLs in the driver to 256 to avoid this error.

Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Hiral Patel <hiralpat@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fnic/fnic_io.h