1 Increase MAX_SGE for fusion mpt driver.
3 Index: linux-2.6.32.i386/drivers/message/fusion/Kconfig
4 ===================================================================
5 --- linux-2.6.32.i386.orig/drivers/message/fusion/Kconfig 2009-12-03 09:21:21.000000000 +0530
6 +++ linux-2.6.32.i386/drivers/message/fusion/Kconfig 2010-03-16 16:45:08.000000000 +0530
11 - int "Maximum number of scatter gather entries (16 - 128)"
14 + int "Maximum number of scatter gather entries (16 - 256)"
18 This option allows you to specify the maximum number of scatter-
19 gather entries per I/O. The driver default is 128, which matches
20 Index: linux-2.6.32.i386/drivers/message/fusion/mptbase.h
21 ===================================================================
22 --- linux-2.6.32.i386.orig/drivers/message/fusion/mptbase.h 2009-12-03 09:21:21.000000000 +0530
23 +++ linux-2.6.32.i386/drivers/message/fusion/mptbase.h 2010-03-16 16:46:54.000000000 +0530
25 * Set the MAX_SGE value based on user input.
27 #ifdef CONFIG_FUSION_MAX_SGE
28 -#if CONFIG_FUSION_MAX_SGE < 16
29 +#if CONFIG_FUSION_MAX_SGE < 16
30 #define MPT_SCSI_SG_DEPTH 16
31 -#elif CONFIG_FUSION_MAX_SGE > 128
32 -#define MPT_SCSI_SG_DEPTH 128
33 +#elif CONFIG_FUSION_MAX_SGE > 256
34 +#define MPT_SCSI_SG_DEPTH 256
36 #define MPT_SCSI_SG_DEPTH CONFIG_FUSION_MAX_SGE