Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Remove strange ixgbe_enable_intr() in ixgb...
details: https://anonhg.NetBSD.org/src/rev/d8df09148e39
branches: trunk
changeset: 1017368:d8df09148e39
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Dec 24 06:14:41 2020 +0000
description:
Remove strange ixgbe_enable_intr() in ixgbe_legacy_irq().
If the interface is UP and the INTx line is shared with other devices,
it result in enabling all interrupt sources even if some of them are
disabled for the workqueue. Delete ixgbe_enable_intr() in ixgbe_legacy_irq().
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r 3f62c45c742f -r d8df09148e39 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Wed Dec 23 17:57:17 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Dec 24 06:14:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.263 2020/12/22 07:16:23 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.264 2020/12/24 06:14:41 msaitoh Exp $ */
/******************************************************************************
@@ -5181,8 +5181,6 @@
++que->irqs.ev_count;
if (eicr == 0) {
adapter->stats.pf.intzero.ev_count++;
- if ((ifp->if_flags & IFF_UP) != 0)
- ixgbe_enable_intr(adapter);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index