]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] be2iscsi: Fix max supported EQ count to 8.
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 19 Oct 2012 23:12:13 +0000 (04:42 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:36 +0000 (08:59 +0400)
commit107dfcbacb34ceb5b8cd84c3903cab9038f4bdee
tree7e36286e14443b95eec2729a5f7830af65d973bb
parentd629c47171ccc281bbb02507f9521a6125782e9b
[SCSI] be2iscsi: Fix max supported EQ count to 8.

The maximum EQ that can be created for a function is 8. Check the
CPU online count and create only 8 EQ if CPU_Count >= 8

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h