From: Hiral Patel Date: Wed, 13 Feb 2013 01:00:59 +0000 (-0800) Subject: [SCSI] fnic: Fix SGEs limit X-Git-Tag: v3.9-rc1~21^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfe16d5da88896fc78d008c96d639cf9c90850a0;p=pandora-kernel.git [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 Signed-off-by: Hiral Patel Signed-off-by: James Bottomley --- Reading git-diff-tree failed