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 Correctly re-enable queue interrupt in ixg...
details: https://anonhg.NetBSD.org/src/rev/4bfc89cecd9e
branches: trunk
changeset: 366600:4bfc89cecd9e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Jun 01 04:15:41 2022 +0000
description:
Correctly re-enable queue interrupt in ixgbe_legacy_irq().
- Don't enable queue 1-15 interrupt.
- Don't enable queue 0 interrupt when the queue work is being scheduled.
- OK'd by knakahara.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3bf94c3c6ea7 -r 4bfc89cecd9e sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Wed Jun 01 02:07:24 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Wed Jun 01 04:15:41 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.316 2022/06/01 02:07:24 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.317 2022/06/01 04:15:41 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.316 2022/06/01 02:07:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.317 2022/06/01 04:15:41 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -5320,7 +5320,7 @@
eims_disable |= 1UL << 0;
} else
- eims_enable |= IXGBE_EIMC_RTX_QUEUE;
+ eims_enable |= eims_orig & IXGBE_EIMC_RTX_QUEUE;
ixgbe_intr_admin_common(adapter, eicr, &eims_disable);
Home |
Main Index |
Thread Index |
Old Index