Skip to contentSkip to conversation

enic: Bug Fix: Pass napi reference to the isr that services receive queue

PATCH Applied Vasanthy Kolluri 2 participants 2 messages Dec 8, 2010 – Dec 10, 2010

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

PATCH 1/1 enic: Bug Fix: Pass napi reference to the isr that services receive queue

From: Vasanthy Kolluri <[email protected]>

Pass reference to napi instead of enic device to the isr that services receive queue.

---
 drivers/net/enic/enic_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/enic/enic_main.c +2 -1
index a466ef9..aa28b27 100644
@@ -1962,7 +1962,8 @@ static void enic_poll_controller(struct net_device *netdev)
 	case VNIC_DEV_INTR_MODE_MSIX:
 		for (i = 0; i < enic->rq_count; i++) {
 			intr = enic_msix_rq_intr(enic, i);
-			enic_isr_msix_rq(enic->msix_entry[intr].vector, enic);
+			enic_isr_msix_rq(enic->msix_entry[intr].vector,
+				&enic->napi[i]);
 		}
 		intr = enic_msix_wq_intr(enic, i);
 		enic_isr_msix_wq(enic->msix_entry[intr].vector, enic);