Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79aeec58 authored by Vasanthy Kolluri's avatar Vasanthy Kolluri Committed by David S. Miller
Browse files

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



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

Signed-off-by: default avatarVasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: default avatarRoopa Prabhu <roprabhu@cisco.com>
Signed-off-by: default avatarDavid Wang <dwang2@cisco.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e91db5cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);