]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] fnic: Fix SGEs limit
authorHiral Patel <hiralpat@cisco.com>
Wed, 30 Jan 2013 00:05:17 +0000 (16:05 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 03:15:44 +0000 (14:15 +1100)
commit676c6b5fac7507ca5abae9132822d8a85f68ce54
tree4c9340a6fed80df7cde710cee8f62816c44538d2
parent6f3b5679f2af1ef3becbf7832d2bce977907c08a
[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