Skip to contentSkip to conversation

fnic: switch to pci_alloc_irq_vectors

PATCH In review Christoph Hellwig 2 participants 2 messages Feb 1, 2017 – Feb 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fnic: switch to pci_alloc_irq_vectors

Not a full cleanup for the IRQ code, for that we'd need to know if the max number of the various CQ types is going to stay 1 forever.

---
 drivers/scsi/fnic/fnic.h     |  1 -
 drivers/scsi/fnic/fnic_isr.c | 41 +++++++++++++----------------------------
 2 files changed, 13 insertions(+), 29 deletions(-)
drivers/scsi/fnic/fnic.h +0 -1
index 9ddc920..cb59d82 100644
@@ -217,7 +217,6 @@ struct fnic {
 	struct fcoe_ctlr ctlr;		/* FIP FCoE controller structure */
 	struct vnic_dev_bar bar0;
 
-	struct msix_entry msix_entry[FNIC_MSIX_INTR_MAX];
 	struct fnic_msix_entry msix[FNIC_MSIX_INTR_MAX];
 
 	struct vnic_stats *stats;
drivers/scsi/fnic/fnic_isr.c +13 -28

100 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Christoph" == Christoph Hellwig <[email protected]> writes:

Christoph> Not a full cleanup for the IRQ code, for that we'd need to Christoph> know if the max number of the various CQ types is going to Christoph> stay 1 forever.

Satish: Please test and review!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering