Commit c3db5c37 authored by Vasanthy Kolluri's avatar Vasanthy Kolluri Committed by Greg Kroah-Hartman

enic: Bug Fix: Fix hardware transmit queue indexing in enic_poll_controller

commit b880a954 upstream.
Signed-off-by: default avatarChristian Benvenuti <benve@cisco.com>
Signed-off-by: default avatarDanny Guo <dannguo@cisco.com>
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>
Cc: Chun-Yi Lee <jlee@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 628ee980
...@@ -1718,8 +1718,12 @@ static void enic_poll_controller(struct net_device *netdev) ...@@ -1718,8 +1718,12 @@ static void enic_poll_controller(struct net_device *netdev)
enic_isr_msix_rq(enic->msix_entry[intr].vector, enic_isr_msix_rq(enic->msix_entry[intr].vector,
&enic->napi[i]); &enic->napi[i]);
} }
for (i = 0; i < enic->wq_count; i++) {
intr = enic_msix_wq_intr(enic, i); intr = enic_msix_wq_intr(enic, i);
enic_isr_msix_wq(enic->msix_entry[intr].vector, enic); enic_isr_msix_wq(enic->msix_entry[intr].vector, enic);
}
break; break;
case VNIC_DEV_INTR_MODE_MSI: case VNIC_DEV_INTR_MODE_MSI:
enic_isr_msi(enic->pdev->irq, enic); enic_isr_msi(enic->pdev->irq, enic);
......
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