Commit bf9131cb authored by Jayamohan Kallickal's avatar Jayamohan Kallickal Committed by James Bottomley

[SCSI] be2iscsi: Fix MSIX support in SKH-R to 32

This patch limits the max number of msix vectors to 32.
Signed-off-by: default avatarJohn Soni Jose <sony.john-n@emulex.com>
Signed-off-by: default avatarJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 1e234bbb
...@@ -4835,6 +4835,7 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev, ...@@ -4835,6 +4835,7 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev,
case OC_SKH_ID1: case OC_SKH_ID1:
phba->generation = BE_GEN4; phba->generation = BE_GEN4;
phba->iotask_fn = beiscsi_iotask_v2; phba->iotask_fn = beiscsi_iotask_v2;
break;
default: default:
phba->generation = 0; phba->generation = 0;
} }
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
#define MAX_CPUS 64 #define MAX_CPUS 64
#define BEISCSI_MAX_NUM_CPUS 7 #define BEISCSI_MAX_NUM_CPUS 7
#define OC_SKH_MAX_NUM_CPUS 63 #define OC_SKH_MAX_NUM_CPUS 31
#define BEISCSI_SGLIST_ELEMENTS 30 #define BEISCSI_SGLIST_ELEMENTS 30
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment